-
Notifications
You must be signed in to change notification settings - Fork 139
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
Fix: standalone FindBLAS.cmake, mislink to global-visible lib #3623
Conversation
Hi @yizeyi18 , |
There is certainly conflict between cmake and abacus-builtin FindBLAS as well as FindLAPACK, and the builtin one would be executed. I 'm happy to try the cmake one, although I had not used it——a bunch of open source quantum chem package, e. g. CP2K, ScalES, Dalton, use their own FindBLAS/LAPACK/ScaLAPACK/math, I had no idea why. |
Hi @yizeyi18 ,
It provides certainty and also rooms to tweak, since the user does not always use the latest CMake module files. |
@caic99 I made a demo using cmake's FindBLAS/FindLAPACK in https://github.com/yizeyi18/abacus-develop/tree/cmake-FindBLAS, may you take a look? |
Using cmake FindBLAS/FindLAPACK
@caic99 The demo above got merged. |
hi, when I was compiling ABACUS v3.5.4 with option
I try to provide
Now I don't know how to solve this problem. |
@scott-5 Hi, may you show the content of |
Of course.
(I made a mistake. In fact, only
|
@scott-5 May you try changing |
It works. Thank you. Aha, but it is weird that using |
@scott-5 Ehh, that's a bit software-dependent. |
Got it. Thanks again. |
Reminder
Linked Issue
Fix #3589, #3497 (comment)
What's changed?
Any changes of core modules? (ignore if not applicable)