GROMACS version: 2020.4
Hello
I just compiled gromacs-2020.4 (from ftp://ftp.gromacs.org/pub/gromacs/gromacs-2020.4.tar.gz)
gromacs was compiled on a gpu host (Tesla) with gcc/9.2.0, cmake/3.17.2, BLAS/3.8.0, gsl/2.6, boost/1.72.0, cuda/11.1
cmake -DGMX_GPU=ON \
-DGMX_X11=ON \
-DGMX_BUILD_OWN_FFTW=ON \
-DCMAKE_INSTALL_RPATH=/opt/gensoft/exe/gromacs/2020.4/lib \
-DCMAKE_INSTALL_PREFIX=/opt/gensoft/exe/gromacs/2020.4 \
/opt/gensoft/src/gromacs/gromacs-2020.4
cmake log shows cuda//GPU detection see:
-- Looking for NVIDIA GPUs present in the system
-- Number of NVIDIA GPUs detected: 4
and
-- Found CUDA: /opt/gensoft/exe/cuda/11.1 (found suitable version "11.1", minimum required is "9.0")
-- Enabling native GPU acceleration
but when run gmx does not detect gpu, see:
maestro-3000:~ > gmx -version
maestro-3000:~ > gmx -version -quiet
:-) GROMACS - gmx, 2020.4 (-:
Executable: /pasteur/sonic/homes/edeveaud/bin/gmx
Data prefix: /pasteur/sonic/homes/edeveaud
Working dir: /pasteur/sonic/homes/edeveaud
Command line:
gmx -version -quiet
GROMACS version: 2020.4
Verified release checksum is 79c2857291b034542c26e90512b92fd4b184a1c9d6fa59c55f2e24ccf14e7281
Precision: single
Memory model: 64 bit
MPI library: thread_mpi
OpenMP support: enabled (GMX_OPENMP_MAX_THREADS = 64)
GPU support: CUDA
SIMD instructions: AVX_512
FFT library: fftw-3.3.8-sse2-avx-avx2-avx2_128-avx512
RDTSCP usage: enabled
TNG support: enabled
Hwloc support: disabled
Tracing support: disabled
C compiler: /opt/gensoft/exe/gcc/9.2.0/bin/gcc GNU 9.2.0
C compiler flags: -mavx512f -mfma -fexcess-precision=fast -funroll-all-loops -O3 -DNDEBUG
C++ compiler: /opt/gensoft/exe/gcc/9.2.0/bin/g++ GNU 9.2.0
C++ compiler flags: -mavx512f -mfma -fexcess-precision=fast -funroll-all-loops -fopenmp -O3 -DNDEBUG
CUDA compiler: /opt/gensoft/exe/cuda/11.1/bin/nvcc nvcc: NVIDIA (R) Cuda compiler driver;Copyright (c) 2005-2020 NVIDIA Corporation;Built on Tue_Sep_15_19:10:02_PDT_2020;Cuda compilation tools, release 11.1, V11.1.74;Build cuda_11.1.TC455_06.29069683_0
CUDA compiler flags:-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-Wno-deprecated-gpu-targets;-gencode;arch=compute_35,code=compute_35;-gencode;arch=compute_50,code=compute_50;-gencode;arch=compute_52,code=compute_52;-gencode;arch=compute_60,code=compute_60;-gencode;arch=compute_61,code=compute_61;-gencode;arch=compute_70,code=compute_70;-gencode;arch=compute_75,code=compute_75;-gencode;arch=compute_80,code=compute_80;-use_fast_math;-D_FORCE_INLINES;-mavx512f -mfma -fexcess-precision=fast -funroll-all-loops -fopenmp -O3 -DNDEBUG
CUDA driver: 0.0
CUDA runtime: N/A
NB as shown by ldd , gromacs and gormacs libs are correctly linked to cuda libcufft.so
I guess I missed something, but what ?
regards
Eric