scalapack
scalapack copied to clipboard
Turning on BUILD_SHARED_LIBS in cmake does not build shared object
Hello!
I try to build Scalapack 2.2.2, corrected the version number from 2.2.1 to 2.2.2, and to get a shared library by turning BUILD_SHARED_LIBS on. All this with GCC 11.5
However, building it does not create the shared object.
It does make the symbolic links CMAKE_INSTALL_PREFIX/lib/libscalapack.so.2.2 and CMAKE_INSTALL_PREFIX/lib/libscalapack.so
but not the real library
CMAKE_INSTALL_PREFIX/lib/libscalapack.so.2.2.2.so
-- Install configuration: ""
CMake Error at cmake_install.cmake:57 (file):
file INSTALL cannot find
"/trinity/opt/apps/libraries/Scalapack/scalapack-2.2.2/install/lib/libscalapack.so.2.2.2":
No such file or directory.
Is this a known problem? I am doing something obviously wrong?
Thanks a lot
That is odd, I don't see anything that would interfere. Can you double check against main branch as well, just in case?