Trying to build on Mac OS 14.4.1

25 views
Skip to first unread message

Andrew Cunningham

unread,
Apr 30, 2024, 12:58:38 AM4/30/24
to SLATE User
I was able to get Slate to build using -Dblas=accelerate as an option to CMake
"make lib" works fine
however 
"make install" failed at the step

[100%] Building Fortran object test/CMakeFiles/tester.dir/pzlantr.f.o

[100%] Linking CXX executable tester

ld: library not found for -lscalapack

I wanted to build the examples and it is required to do a make install before building the examples.




Mark Gates

unread,
Apr 30, 2024, 9:19:11 AM4/30/24
to Andrew Cunningham, SLATE User
If you don't have ScaLAPACK, use

    cmake -Dblas=accelerate -DSCALAPACK_LIBRARIES=none ..

Mark

Andrew Cunningham

unread,
Apr 30, 2024, 2:20:30 PM4/30/24
to SLATE User, mga...@icl.utk.edu, SLATE User
Worked perfectly, thank you!
Reply all
Reply to author
Forward
0 new messages