Open breengles opened 1 year ago
well, adding the following to src/CMakeLists.txt
find_package(LAPACK)
target_link_libraries(${EXE} ${LAPACK_LIBRARIES})
solved the issue. Seems like I do not understand if autocmake should carry this on its own... perhaps, not.
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?