[gmx-users] problem compiling gmx-2016.4 with CUDA on debian stable/stretch

Michael Brunsteiner mbx0009 at yahoo.com
Thu Nov 2 16:07:31 CET 2017


hi,
I just tried to install gmx (2015.4) on my desktop with vanilla debian (stable/stretch with the debian nvidia/cuda driver packages installed)
as recommended in INSTALL ...
prompt> cmake .. -DGMX_BUILD_OWN_FFTW=ON -DGMX_GPU=on -DCMAKE_INSTALL_PREFIX=/home/user/local/gromacs-2016-4-bin
finishes without any complaints, but when doing:

prompt> make -j 12
i get:[...][  3%] Building NVCC (Device) object src/gromacs/CMakeFiles/libgromacs.dir/gpu_utils/libgromacs_generated_gpu_utils.cu.o
In file included from /usr/include/cuda_runtime.h:78:0,
                 from <Kommandozeile>:0:
/usr/include/host_config.h:119:2: Fehler: #error -- unsupported GNU version! gcc versions later than 5 are not supported!
 #error -- unsupported GNU version! gcc versions later than 5 are not supported!
  ^~~~~
[...]
debian stable has gcc-6 as default gcc, und there appears to be no gcc-4 or 5 in the standard debian repositories(apt-get install gcc-4.9 does not work) ... I understand installing two different gcc versions on one system can be difficult ...has anybody managed to successfully install gmx+CUDA/GPU support on debian stretch??
cheersmic


More information about the gromacs.org_gmx-users mailing list