timothydmorton / isochrones

Pythonic stellar model grid access; easy MCMC fitting of stellar properties
http://isochrones.readthedocs.org
MIT License
117 stars 63 forks source link

Could NOT find BLAS (missing: BLAS_LIBRARIES) #145

Closed nicolaus-huang closed 3 years ago

nicolaus-huang commented 3 years ago

When I run cmake according to https://isochrones.readthedocs.io/en/latest/install.html it reports err says that I'm lacking for BLAS_LIBRARIES, I'm wondering what should I do to fix this bug. I will be so grateful if someone could help me, because I have been stuck in it for a very long time.

(base) humor@ubuntu:~/MultiNest/build$ cmake -DCMAKE_INSTALL_PREFIX=~ .. -- The Fortran compiler identification is GNU 9.2.0 cc1: warning: command line option '-ffpe-summary=none' is valid for Fortran but not for C -- The C compiler identification is GNU 9.2.0 -- The CXX compiler identification is GNU 9.2.0 -- Check for working Fortran compiler: /home/humor/Documents/mesasdk/bin/gfortran -- Check for working Fortran compiler: /home/humor/Documents/mesasdk/bin/gfortran -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /home/humor/Documents/mesasdk/bin/gfortran supports Fortran 90 -- Checking whether /home/humor/Documents/mesasdk/bin/gfortran supports Fortran 90 -- yes -- Check for working C compiler: /home/humor/Documents/mesasdk/bin/gcc -- Check for working C compiler: /home/humor/Documents/mesasdk/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /home/humor/Documents/mesasdk/bin/c++ -- Check for working CXX compiler: /home/humor/Documents/mesasdk/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for Fortran sgemm -- Looking for Fortran sgemm - not found -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message): Could NOT find BLAS (missing: BLAS_LIBRARIES) Call Stack (most recent call first): /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.16/Modules/FindBLAS.cmake:810 (find_package_handle_standard_args) /usr/share/cmake-3.16/Modules/FindLAPACK.cmake:197 (find_package) src/CMakeLists.txt:31 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred! See also "/home/humor/MultiNest/build/CMakeFiles/CMakeOutput.log". See also "/home/humor/MultiNest/build/CMakeFiles/CMakeError.log".