Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AlexeiKharchev opened this issue May 9, 2023 · 3 comments

Comments

@AlexeiKharchev
Copy link

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
Copy link
Author

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

@mgates3
Copy link
Contributor

mgates3 commented May 12, 2023

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

@weslleyspereira
Copy link
Collaborator

Related to #905 and #903.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants