[gmx-users] compiling 2018 with GPU doesn't work on my debian stretch
mbx0009 at yahoo.com
Thu Feb 15 14:34:57 CET 2018
I have problems compiling gromacs-2018 (January 10 release) on debian stretch (vanilla)
my specs: Linux 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64 GNU/Linux
gcc-6.3.0,Cuda compilation tools, release 8.0, V8.0.44
graphics: Geforce GTX 780.
> cmake .. -DGMX_GPU=on
works w/o complaints, but when i do make i get:
> make -j 12
[...]CMake Error at cmake/gmxManageGPU.cmake:289 (message):
NVCC/C compiler combination does not seem to be supported.
in https://wiki.debian.org/NvidiaGraphicsDrivers#Debian_9_.22Stretch.22-1 it says:
"CUDA 8 only supports gcc 5.3.1, which is not available for Stretch.
To compile you need to add -ccbin clang-3.8 to the nvcc command line. "
so i say:> cmake .. -DGMX_GPU=on -DCUDA_NVCC_FLAGS='-ccbin clang-3.8'[...]
-- Check for working NVCC/C compiler combination - broken
CMake Error at cmake/gmxManageGPU.cmake:289 (message):
NVCC/C compiler combination does not seem to be supported. CUDA frequently
does not support the latest versions of the host compiler, so you might
want to try an earlier C/C++ compiler version and make sure your CUDA
compiler and driver are as recent as possible.
debian stretch (the current stable debian release) does not have gcc-5 ...
is there any way around this issue??
=============================== Why be happy when you could be normal?
More information about the gromacs.org_gmx-users