lapack icon indicating copy to clipboard operation
lapack copied to clipboard

LAPACKFinder issue error - LAPACK++ requires a LAPACK library and none was found.

Open AlexeiKharchev opened this issue 2 years ago • 3 comments

wget --no-check-certificate -O ~/build/lapack-3.11.tar.gz https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v3.11.tar.gz tar xvf lapack-3.11.tar.gz install -v -d mybuild cd mybuild cmake -DCMAKE_INSTALL_PREFIX="$installdir" -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Debug -DBLAS++=ON -DCBLAS=ON -DLAPACK++=ON -DLAPACKE=ON -DBUILD_INDEX64=ON -DBUILD_DEPRECATED=ON .. make

-- Using CMAKE_INSTALL_PREFIX = /home/alexei/build/lapack-3.11/mybuild -- Check for BLAS++ Found BLAS++: /home/alexei/build/lapack-3.11/mybuild/lib/blaspp CMake Error at CMakeLists.txt:539 (message): LAPACK++ requires a LAPACK library and none was found. Ensure that it is accessible in environment variables $CPATH, $LIBRARY_PATH, and $LD_LIBRARY_PATH

what should I do? I suppose, liblapack is not built yet, but lapack++ need it

AlexeiKharchev avatar May 09 '23 09:05 AlexeiKharchev

without -DLAPACK++=ON option building was gone successfully whats wrong with -DLAPACK++ ?

AlexeiKharchev avatar May 09 '23 10:05 AlexeiKharchev

As I recall, the idea was it would run the LAPACK++ CMake process after building LAPACK. We can test it out.

mgates3 avatar May 12 '23 02:05 mgates3

Related to #905 and #903.

weslleyspereira avatar Oct 31 '23 20:10 weslleyspereira