sddspseudoinverse path to lapack and blas libs
Posted: 08 Mar 2023, 05:22
Dear all,
I am compiling elegant in a server with a non-standard installation of libraries. I have added the path to lapack using OPT_CFLAGS and OPT_CXXFLAGS in epics/base/configure/CONFIG as follows :
However, these variables are not seen when compiling sddspseudoinverse. Is there another variable that should be used for it ?
Best regards,
o
I am compiling elegant in a server with a non-standard installation of libraries. I have added the path to lapack using OPT_CFLAGS and OPT_CXXFLAGS in epics/base/configure/CONFIG as follows :
Code: Select all
#orblancog: inserting my vars
CROSS_COMPILER_TARGET_ARCHS=
SHARED_LIBRARIES=NO
OPT_CFLAGS_YES += -I/ccc/products/lapack-3.9.1/gcc--11.1.0/default/include -I/ccc/products/boost-1.74.0/gcc--11.1.0__openmpi--4.0.1/default/include
OPT_CXXFLAGS_YES += -I/ccc/products/lapack-3.9.1/gcc--11.1.0/default/include -I/ccc/products/boost-1.74.0/gcc--11.1.0__openmpi--4.0.1/default/include
#orblancog: end of editing
Code: Select all
/usr/bin/g++ -o sddspseudoinverse -L/ccc/work/cont003/soleil/blancoor/public/progs/elegant.2023.1.0/elegant_compilation/epics/extensions/lib/linux-x86_64 -Wl,-rpath,/ccc/work/cont003/soleil/blancoor/public/progs/elegant.2023.1.0/elegant_compilation/epics/extensions/lib/linux-x86_64 -fopenmp -rdynamic -m64 sddspseudoinverse.o -lmdbcommon -lSDDS1 -lmdbmth -lmdblib -lmeschach -llzma -llapack -lblas -lz -lpthread -lreadline -lm -lrt -ldl -lgcc
/usr/bin/ld: cannot find -llapack
/usr/bin/ld: cannot find -lblas
collect2: error: ld returned 1 exit status
Best regards,
o