Hi Florent,
 
you''ve read my mind! I've just tried that using gcc-4.8 and g++-4.8.
 
the "cmake" step worked like before but "make" gave the exact same error.
 
Does anyone know what the "Building NVCC" does? NVCC is the nvidia cuda compiler, maybe it was not found? I found this:
 
CUDA codes runs on both the CPU and GPU. NVCC separates these two parts and sends host code (the part of code which will be run on the CPU) to a C compiler like GCC or Intel C++ Compiler (ICC) or Microsoft Visual C Compiler, and sends the device code (the part which will run on the GPU) to the GPU. The device code is further compiled by NVCC.
 
Regards
Diogo
 
 
From: Florent Hédin <work@...>
Subject: Re: [gmx-users] Error while re-compiling Gromacs 5.1.2 with GPU and gcc 5.3.1
Newsgroups: gmane.science.biology.gromacs.user
Date: 2016-05-31 19:09:01 GMT (44 minutes ago)
Hi,

As far as I know cuda 7.5 only supports branch 4.X of gcc, not 5.X ;

what about forcing the use of gcc-4.9:

CC=gcc-4.9 CXX=g++-4.9 cmake [OTHER FLAGS] ..

Regards,

Florent Hédin
-- 
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-requ...@gromacs.org.

Reply via email to