-
-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sage with 64 bit openblas #26000
Comments
Attachment: tests.log |
comment:1
Attachment: dochtml.log |
This comment has been minimized.
This comment has been minimized.
Commit: |
Branch: public/26000 |
New commits:
|
Replying to @timokau:
After reading that page, I don't think that we should enable INTERFACE64. An environment variable to change the API? That makes no sense to me... So why should we do this? |
comment:4
Did you maybe misunderstand that? Its a configure-time variable, nothing unusual. Not runtime. The advantages would be higher precision data types and higher compatibility with system openblas. |
comment:5
Replying to @timokau:
Do distros set INTERFACE64? |
comment:6
In nix we have two versions, Its harder for other distros to have multiple variants of the same library though, so maybe they just use the |
comment:7
Replying to @timokau:
So then use It's still not clear which bug this ticket is supposed to fix... |
comment:8
Replying to @jdemeyer:
Its an enhancement. Nix specific, using openblasCompat means we also have to build two versions of flint and two versions of all the sage dependencies that depend on flint. Thats a bit annoying. In general, 64 bit is not only the future, I would argue it is the present. I don't know how long other distros will keep INTERFACET64=0 (if they currently do that). And ignoring distros for the moment, the main reason for 64 bit are 64 bit datatypes of course. |
By default, openblas compiles with a 32 bit interface (even when the binary is 64 bit). To build with the 64 bit interface, you have to set the INTERFACE64 environment variable. Here is some discussion about the differences.
When just naively enabling 64 bit openblas in sage, we get various segfaults. First during docbuild and then more during testing (see attached logs).
On nix I even get those failures if only flint is compiled with openblas64, even though flint doesn't even really need openblas.
Component: packages: standard
Keywords: openblas
Branch/Commit: public/26000 @
e3ddaf8
Issue created by migration from https://trac.sagemath.org/ticket/26000
The text was updated successfully, but these errors were encountered: