[gmx-users] compiling 2018 with GPU doesn't work on my debian stretch
pall.szilard at gmail.com
Thu Feb 15 16:43:52 CET 2018
Option A) Get a gcc 5.x (e.g. compile from source)
Option B) Install CUDA 9.1 (and required driver) which is compatible
with gcc 6.3
On Thu, Feb 15, 2018 at 2:34 PM, Michael Brunsteiner <mbx0009 at yahoo.com> wrote:
> 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.
> I do:
>> 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?
> Gromacs Users mailing list
> * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a mail to gmx-users-request at gromacs.org.
More information about the gromacs.org_gmx-users