Closed yurivict closed 7 years ago
Sorry, you can't escape me on GH this weekend, it seems, @yurivict. It looks like lapack isn't getting linked in properly. The latest commit to this repo has some additional notes. If it's helpful, my packaging scripts are here.
This is because cmake fails to find lapack.
I use openblas and have to supply CMAKE_ARGS+=-DLAPACK_LIBRARIES="-lopenblas"
, otherwise it can't find it.
Yes, the usual CMake find_package(LAPACK)
didn't work with OpenBLAS until CMake 3.6, so it's possibly not surprising you had to seed your build.
This incomplete LAPACK support is part of the reason Psi uses more sophisticated math detection internally, then conveys that library/header configuration through the TargetLAPACK files that trouble you.
There are also several LAPACK implementations that can be installed at the same time. It isn't clear how can cmake even decide which one to use.
Build fails: