Closed leizhenxin closed 2 years ago
You also need the packages with development libraries/headers, for lapack/blas.
They usually end with -devel
I checked it again and found that lapack/blas development libraries have already been installed:
[root@fedora leizhenxin]# yum install lapack-devel Last metadata expiration check: 0:14:29 ago on Mon 21 Mar 2022 03:21:34 PM CST. Package lapack-devel-3.9.0-7.fc34.x86_64 is already installed. Package lapack-devel-3.9.0-7.fc34.i686 is already installed. Dependencies resolved. Nothing to do. Complete! [root@fedora leizhenxin]# yum install blas-devel Last metadata expiration check: 0:14:41 ago on Mon 21 Mar 2022 03:21:34 PM CST. Package blas-devel-3.9.0-7.fc34.x86_64 is already installed. Package blas-devel-3.9.0-7.fc34.i686 is already installed. Dependencies resolved. Nothing to do.
But it still can not find lapack libraries when conducting cmake command. Should I modify the lapack path manually in somewhere?
try emptying the build/ directory completely (including hidden files), then rerunning cmake. If that does not help, I don't know.
Yes, you can try manually passing the lapack path to cmake (googling brought this up for me https://github.com/dealii/dealii/issues/9169).
Please reopen if this issue is still relevant.
Dear Johannes, I tried to install Multinest based on the instruction of http://johannesbuchner.github.io/PyMultiNest/install.html on a fedora 32 system. Before that, I already installed the prerequisites: cmake, blas, lapack . But when conducted the command "cmake .. " in the build document, errors occurs like this:
CMake Error at /home/leizhenxin/.local/lib/python3.9/site-packages/cmake/data/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find LAPACK (missing: LAPACK_LIBRARIES) Call Stack (most recent call first): /home/leizhenxin/.local/lib/python3.9/site-packages/cmake/data/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /home/leizhenxin/.local/lib/python3.9/site-packages/cmake/data/share/cmake-3.22/Modules/FindLAPACK.cmake:744 (find_package_handle_standard_args) src/CMakeLists.txt:31 (FIND_PACKAGE)
Does it can not find corrected path of lapack? or lapack libraries are note installed correctly? I need helps. Thank you so much .