[AMBER] Amber20 CUDA installation error Centos 7

From: Suguna Sakkiah <ssakkiah.c4therapeutics.com>
Date: Fri, 24 Dec 2021 23:52:51 +0000

Hi All,

I changed the -DCUDA=TRUE in run_cmake file but getting the below error message. export CUDA_HOME=/usr/local/cuda in bashrc file

My run_cmake content

cmake $AMBER_PREFIX/amber20_src \
    -DCMAKE_INSTALL_PREFIX=$AMBER_PREFIX/amber20 \
    -DCOMPILER=GNU \
    -DTRUST_SYSTEM_LIBS=TRUE \
    -DMPI=FALSE -DCUDA=TRUE -DINSTALL_TESTS=TRUE \
    -DDOWNLOAD_MINICONDA=TRUE -DMINICONDA_USE_PY3=TRUE \
    -DINSTALL_TESTS=TRUE \
    2>&1 | tee cmake.log

ERROR MESSAGE.

(base) [root.schrogpu1 build]# make install
[ 1%] Built target readline
[ 2%] Built target dispatch
[ 2%] Built target netcdf3
[ 2%] Built target netcdf
[ 2%] Linking C executable ncgen
/opt/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/libm.so: undefined reference to `__strtod_nan.GLIBC_PRIVATE'
/opt/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/libm.so: undefined reference to `__strtof_nan.GLIBC_PRIVATE'
/opt/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/libz.so: undefined reference to `memcpy.GLIBC_2.14'
/opt/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/libm.so: undefined reference to `__strtold_nan.GLIBC_PRIVATE'
collect2: error: ld returned 1 exit status
make[2]: *** [AmberTools/src/netcdf-4.6.1/ncgen/ncgen] Error 1
make[1]: *** [AmberTools/src/netcdf-4.6.1/ncgen/CMakeFiles/ncgen.dir/all] Error 2
make: *** [all] Error 2

Regards
Suguna
________________________________
C4 Therapeutics, Inc. Confidentiality Notice: This message is private and may contain confidential and proprietary information. If you have received this message in error, please notify us and remove it from your system and note that you must not copy, distribute or take any action in reliance on it. Any unauthorized use or disclosure of the contents of this message is not permitted and may be unlawful.
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Dec 24 2021 - 16:00:03 PST
Custom Search