-
Notifications
You must be signed in to change notification settings - Fork 59
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
[FEATURE] Add support for BLAS and LAPACK libraries discovery #227
Comments
I am not very familiar with cmake. Do you have anything in your mind how to modify the phono3py setup system? |
Note, FlexiBLAS does not support Lapacke. Other than that you can pass @atztogo I think one solution would be to conditionally use |
@LecrisUT, what do you mean the original ones? |
Linking against the fortran interface or bundle the (relevant part of) lapacke library statically. |
I am planning to release a new version of phono3py that can eliminate the dependency on BLAS and LAPACK(E) in C. This means there is no need to link these libraries during compilation. For more details, see #301. Instead, |
Note that in our installation of FlexiBLAS, we also installed @atztogo When do you plan on releasing a version with |
@ccoulombe, it has been released as experimental support. For more details, please refer to: https://phonopy.github.io/phono3py/install.html#building-without-linking-lapacke . |
@ccoulombe, please try the latest phono3py release. Now the compilation without direct linking BLAS and LAPACK libraries is the default setting. |
This built and seems to work properly. It would still be nice to add support for the libraries discovery, but less important now that it can use numpy/scipy which are in turn linked on desired librairies. |
Please add support for discovering BLAS and LAPACK libraries through cmake mechanisms.
We use Flexiblas and this is supported through
-DBLA_VENDOR
(https://cmake.org/cmake/help/latest/module/FindBLAS.html)By asking CMake to find required libraries, this add flexibity and avoid custom patching of
CMakeLists.txt
The text was updated successfully, but these errors were encountered: