You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I am trying to use the math_libs.cmake module to autodetect and link against LAPACK and BLAS. It seems like it found the correct paths to .so
-- Searching for BLAS using search order MKL;ESSL;OPENBLAS;ATLAS;ACML;SYSTEM_NATIVE
-- Setting -DHAVE_SYSTEM_NATIVE_BLAS
-- Found BLAS: SYSTEM_NATIVE (/usr/lib/x86_64-linux-gnu/libblas.so)
-- Searching for LAPACK using search order MKL;ESSL;OPENBLAS;ATLAS;ACML;SYSTEM_NATIVE
-- Setting -DHAVE_SYSTEM_NATIVE_LAPACK
-- Found LAPACK: SYSTEM_NATIVE (/usr/lib/x86_64-linux-gnu/liblapack.so)
and the same for ones installed via conda (mamba):
-- Searching for BLAS using search order MKL;ESSL;OPENBLAS;ATLAS;ACML;SYSTEM_NATIVE
-- Setting -DHAVE_SYSTEM_NATIVE_BLAS
-- Found BLAS: SYSTEM_NATIVE (/home/breengles/mambaforge/envs/adkb/lib/libblas.so)
-- Searching for LAPACK using search order MKL;ESSL;OPENBLAS;ATLAS;ACML;SYSTEM_NATIVE
-- Setting -DHAVE_SYSTEM_NATIVE_LAPACK
-- Found LAPACK: SYSTEM_NATIVE (/home/breengles/mambaforge/envs/adkb/lib/liblapack.so)
Unfortunately, I do not quite understand why this is not working as I get the following: src/core.f90:228: undefined reference to 'dgemm_' and a couple of places more with other subroutines such as DSYGV, DSTEV, etc. Also, everything works just fine if I setup with ifort and mkl.
Can you point me, please, out to what I am missing here?
The text was updated successfully, but these errors were encountered:
Thanks for the question and sorry for the troubles. This summer I am going through refurbishing this code (while updating CMake code in a larger project) and I will answer as soon as I get again overview.
Hi!
I am trying to use the
math_libs.cmake
module to autodetect and link against LAPACK and BLAS. It seems like it found the correct paths to .soand the same for ones installed via conda (mamba):
Unfortunately, I do not quite understand why this is not working as I get the following:
src/core.f90:228: undefined reference to 'dgemm_'
and a couple of places more with other subroutines such as DSYGV, DSTEV, etc. Also, everything works just fine if I setup withifort
andmkl
.Can you point me, please, out to what I am missing here?
The text was updated successfully, but these errors were encountered: