[gmx-users] GPU warnings

Thomas Evangelidis tevang3 at gmail.com
Sun Dec 9 12:18:08 CET 2012

> > gcc 4.7.2 is not supported by any CUDA version.
> >
> I suggest that you just fix it by editing the include/host_config.h and
> changing the version check macro (line 82 AFAIK). I've never had real
> problems with using new and officially not supported gcc-s, the version
> check is more of a promise from NVIDIA that "we've tested thoroughly
> internally and we more or less vouch for thins combination".
> Cheers,
> --
> Szilárd
> PS:
> Disclamer: I don't take responsibility if your machine goes up in flames!
> ;)
Hi Szilárd,,

I tried to compile gromacs-4.6beta1, is this the version you suggested? If
not, please indicate how to download the source cause I am confused with
all these development versions.

Anyway, this is the error I get with 4.6beta1, gcc 4.7.2 and cuda 5:

[  0%] Building NVCC (Device) object
error: identifier "__atomic_fetch_add" is undefined

error: identifier "__atomic_fetch_add" is undefined

2 errors detected in the compilation of
CMake Error at cuda_tools_generated_cudautils.cu.o.cmake:252 (message):
  Error generating file


gmake[3]: ***
Error 1
gmake[2]: *** [src/gromacs/gmxlib/cuda_tools/CMakeFiles/cuda_tools.dir/all]
Error 2
gmake[1]: *** [src/programs/mdrun/CMakeFiles/mdrun.dir/rule] Error 2
gmake: *** [mdrun] Error 2

Unless I am missing something, cuda 5 does not support gcc 4.7.2.


More information about the gromacs.org_gmx-users mailing list