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
scalapack: switch to openblas and add test #49199
Conversation
* change from blas,lapack to openblas * add check phase * enable parallel building * fix license
Success on x86_64-linux (full log) Attempted: scalapack Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: scalapack Partial log (click to expand)
|
I forsee that we are going to want to add an mkl derivation to this as well. Could you change |
@costrouc I had this in my initial version (see https://github.com/markuskowa/NixOS-QChem/blob/master/scalapack/default.nix). However, at least for now I decided against it for two reasons. (1) It requires some if-then-else statement to get the library string right, adding complexity to the derivation. (2) If I remember correctly MKL aready provides a version of ScaLAPACK. We probably want to use the MKL provided version instead. If you decide to add MKL support to this derivation later, changing the names is no big effort. |
Just read the mkl docs on scalapack. Definitely agree with the simplicity argument and how mkl already implements the routines. PR looks good to me thanks! |
Motivation for this change
Use
openblas
instead of the reference implementations of BLAS and LAPACK.CC @costrouc for testing and comments
Things done
cmake
tonativeBuildInputs
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)