Dear All,
I'm trying to install Nektar++ 4.0 to a cluster with the options
NEKTAR_USE_BLAS_LAPACK ON
NEKTAR_USE_SYSTEM_BLAS_LAPACK ON
with the path of the libraries as follows:
NATIVE_BLAS
/truba/sw/centos6.4/lib/blas/netlib-gcc/blas_LINUX.a
NATIVE_LAPACK
/truba/sw/centos6.4/lib/lapack/netlib-3.5.0-gcc/liblapack.a
However, I'm getting the following error:
Linking CXX shared library libLibUtilities.so
/usr/bin/ld:
/truba/sw/centos6.4/lib/lapack/netlib-3.5.0-gcc/liblapack.a(dgbtrf.o):
relocation R_X86_64_32 against `.rodata' can not be used when
making a shared object; recompile with -fPIC
/truba/sw/centos6.4/lib/lapack/netlib-3.5.0-gcc/liblapack.a:
could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [library/LibUtilities/libLibUtilities.so.4.0.0]
Error 1
make[1]: ***
[library/LibUtilities/CMakeFiles/LibUtilities.dir/all] Error 2
make: *** [all] Error 2
What may be the reason for this problem and how can I solve it?
Regards,
Kamil