Skip to content

Commit 840dc42

Browse files
committed
add compilation option
1 parent 48c6de9 commit 840dc42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

udocker-files/gromacs-gpu/compile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tar zxvf gromacs-${gromacs_ver}.tar.gz
99
cd gromacs-${gromacs_ver}
1010
mkdir -p /tmp/gromacs-${gromacs_ver}/build
1111
cd /tmp/gromacs-${gromacs_ver}/build
12-
cmake .. -DGMX_BUILD_OWN_FFTW=ON -DGMX_OPENMP=ON -DGMX_GPU=CUDA
12+
cmake .. -DGMX_BUILD_OWN_FFTW=ON -DGMX_OPENMP=ON -DGMX_GPU=CUDA -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda
1313
make \
1414
make install \
1515
rm -rf /tmp/gromacs-${gromacs_ver}*

0 commit comments

Comments
 (0)