8000 CI: build with OpenBLAS · Pull Request #4 · MacPython/numpy-wheels · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now rea 8000 d-only.

CI: build with OpenBLAS #4

Merged
merged 5 commits into
Merged

CI: build with OpenBLAS #4

merged 5 commits into from Nov 5, 2017

Conversation

ghost
Copy link
@ghost ghost commented Oct 23, 2017

Closes #3.

appveyor.yml Outdated
@@ -20,7 +20,6 @@ environment:
TEST_MODE: fast
APPVEYOR_SAVE_CACHE_ON_ERROR: true
APPVEYOR_SKIP_FINALIZE_ON_EXIT: true
BUILD_COMMIT: v1.13.0rc2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you removing that?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not removed; it's down below (from merge conflicts). I can reset it if you want.

@ghost
Copy link
Author
ghost commented Nov 5, 2017

@charris Ping.

@charris
Copy link
Contributor
charris commented Nov 5, 2017

Restarted the stalled test. There is one warning issued during the tests, I'm not sure it is relevant

clang: warning: -Wl,-rpath=/var/folders/vy/rcv48w3j4w79llzf_x6qnvw40000gn/T/tmpg6wkjc4r/libbar.so: 'linker' input unused

@charris
Copy link
Contributor
charris commented Nov 5, 2017

The use of mingw and cygwin could use some explanation. You could add an explanatory section at the beginning explaining in outline how things are done. Are both mingw and cygwin guaranteed to be available?

@matthew-brett @pv Thoughts?

@pv
Copy link
pv commented Nov 5, 2017

It's essentially the same procedure we use for Scipy.

Note that Cygwin is not used (the commands only clear up pip cache).

@charris charris merged commit 43b97b4 into MacPython:daily Nov 5, 2017
@charris
Copy link
Contributor
charris commented Nov 5, 2017

OK, let's give this a shot.

@matthew-brett Do you know if the problem with OpenBLAS Cholesky on 32 bit windows is fixed?

@charris
Copy link
Contributor
charris commented Nov 5, 2017

Thanks @xoviat .

@pv
Copy link
pv commented Nov 5, 2017

The openblas binaries used here are compiled with vanilla mingw-w64, not mingwpy, and do not have the issue with cholesky.

@ghost ghost deleted the openblas branch November 5, 2017 17:24
@charris
Copy link
Contributor
charris commented Nov 5, 2017

do not have the issue with cholesky.

Good to know, thanks for the info.

@njsmith
Copy link
njsmith commented Nov 5, 2017 via email

@ghost
Copy link
Author
ghost commented Nov 5, 2017

I have not seen mingw change the fpu mode. I have seen MSVC change the fpu mode on 32 bits.

@ghost
Copy link
Author
ghost commented Nov 5, 2017

Also, to clarify, when I say "mingw," I am never talking about mingw.org.

@njsmith
Copy link
njsmith commented Nov 5, 2017 via email

@ghost
Copy link
Author
ghost commented Nov 5, 2017

All I know is that numpy is built with this exact configuration and there are no FPU mode changes found by numpy/numpy#9574. That suggests to me that MinGW does not change the FPU mode, at least in this case.

@njsmith
Copy link
njsmith commented Nov 5, 2017 via email

@ghost
Copy link
Author
ghost commented Nov 5, 2017

Assuming that the FPU mode is changed, the question is what to do about it. For Python >= 3.5, I think I'll have an OpenBLAS ready that doesn't use MinGW, but is fully compatible with the CRT that can go into the next numpy release.

For older Pythons, the options (that I can think of) are:

  1. Accept horrible performance (maybe go back to ATLAS)
  2. Live with the FPU mode change

One option that I would not recommend is switching back to mingwpy, as the project has been abandoned.

@pv
Copy link
pv commented Nov 5, 2017

I don't think this results to fpu mode changes on import, at least based on a quick check.
In any case, it's straightforward to check manually (e.g. copy over the _fpumode extension from scipy._lib).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0