Dear Amber Users !
I am trying to install Amber 24 on the local gpu cluster with CUDA support
This is the current versions of the compilers and cuda:
cmake/3.10.2
cuda/11.1.105
gcc81/3.1.0
The only one option which was activated in cmake script is CUDA support.
Here is the error during the compilation
[ 65%] Linking CXX static library libcpptraj_core.a
[ 65%] Built target cpptraj_core
Scanning dependencies of target libcpptraj
[ 65%] Building CXX object
AmberTools/src/cpptraj/src/CMakeFiles/libcpptraj.dir/Action_Esander.cpp.o
[ 65%] Building CXX object
AmberTools/src/cpptraj/src/CMakeFiles/libcpptraj.dir/Command.cpp.o
[ 65%] Building CXX object
AmberTools/src/cpptraj/src/CMakeFiles/libcpptraj.dir/Cpptraj.cpp.o
[ 65%] Building CXX object
AmberTools/src/cpptraj/src/CMakeFiles/libcpptraj.dir/Energy_Sander.cpp.o
[ 65%] Building CXX object
AmberTools/src/cpptraj/src/CMakeFiles/libcpptraj.dir/ReadLine.cpp.o
[ 65%] Linking CXX shared library libcpptraj.so
/usr/bin/ld: ../../c9x-complex/libmc.a(cmplx.c.o): relocation R_X86_64_32
against `.rodata' can not be used when making a shared object; recompilé
avec -fPIC
/usr/bin/ld: ../../c9x-complex/libmc.a(stubs.c.o): relocation R_X86_64_32
against `.rodata' can not be used when making a shared object; recompilé
avec -fPIC
/usr/bin/ld : échec de l'édition de liens finale : Section
non-représentable sur la sortie
collect2: error: ld a retourné le statut de sortie 1
make[2]: *** [AmberTools/src/cpptraj/src/libcpptraj.so] Erreur 1
make[1]: *** [AmberTools/src/cpptraj/src/CMakeFiles/libcpptraj.dir/all]
Erreur 2
How could it be fixed ? Otherwise alternatively is it possible not to
install cpptraj at all if the solution is complicated?
Many thanks in advance !
Enrico
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Sep 24 2024 - 06:00:02 PDT