Closed yurivict closed 1 week ago
What BLAS and LAPACK libraries are you using? Is LAPACK part of your BLAS library (as in Intel MKL, Cray LibSci, usually OpenBLAS; not IBM ESSL), or are there separate libraries (e.g., libblas.so and liblapack.so)? Is liblapack.so or liblapack.a in your compiler's LIBRARY_PATH?
Please include the complete input and output of CMake, including any environment variables you may have set ($CXX, $LIBRARY_PATH, etc.).
You can also try the Makefile-based configure. Even if it fails with the same issue, it generates a config/log.txt file for diagnosis.
lapackpp> make config
You can also try
lapackpp> mkdir build && cd build
lapackpp/build> cmake -DCMAKE_MESSAGE_LOG_LEVEL=TRACE ..
but the output is quite verbose and difficult to understand.
Mark
Here is a complete log.
lapack-3.11.0 is from https://github.com/Reference-LAPACK/lapack/archive/refs/tags/
openblas-0.3.20 is used.
MKL is a linux-only package and isn't available on *BSD.
@mgates3
Hi Mark,
The build is still failing.
First, LAPACK_LIBRARIES aren't passed to cmake/LAPACKFinder.cmake
Second, when LAPACK_LIBRARIES is passed as blaspp, lapack_pstrf.cc
fails to compile because it needs -DFORTRAN_ADD_
which isn't provided.
Do you know how to resolve these issues?
Thank you, Yuri
Configure fails:
In cmake/LAPACKFinder.cmake the compilation of lapack_pstrf.cc fails with this output:
Version: 2023.11.05 lapack-3.11.0 clang-16 FreeBSD 13.2