[gmx-users] make

Anshul Lahariya anshullahariya17 at gmail.com
Thu Apr 20 12:53:13 CEST 2017


hello,

 i am a new user installing gromacs on my machine.
   during the installation, i found an error in make command. kindly
suggest we correct it.


error:-
[root at dhcppc99 gromacs-5.1.4-build]# make
[  1%] Built target fftwBuild
[  1%] Building NVCC (Device) object
src/gromacs/CMakeFiles/libgromacs.dir/gmxlib/cuda_tools/libgromacs_generated_copyrite_gpu.cu.o
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are
deprecated, and may be removed in a future release (Use
-Wno-deprecated-gpu-targets to suppress warning).
In file included from /usr/local/cuda/include/cuda_runtime.h:78:0,
                 from <command-line>:0:
/usr/local/cuda/include/host_config.h:119:2: error: #error -- unsupported
GNU version! gcc versions later than 5 are not supported!
 #error -- unsupported GNU version! gcc versions later than 5 are not
supported!
  ^~~~~
CMake Error at libgromacs_generated_copyrite_gpu.cu.o.Release.cmake:207
(message):
  Error generating

/home/gromacs-5.1.4-build/src/gromacs/CMakeFiles/libgromacs.dir/gmxlib/cuda_tools/./libgromacs_generated_copyrite_gpu.cu.o


src/gromacs/CMakeFiles/libgromacs.dir/build.make:63: recipe for target
'src/gromacs/CMakeFiles/libgromacs.dir/gmxlib/cuda_tools/libgromacs_generated_copyrite_gpu.cu.o'
failed
make[2]: ***
[src/gromacs/CMakeFiles/libgromacs.dir/gmxlib/cuda_tools/libgromacs_generated_copyrite_gpu.cu.o]
Error 1
CMakeFiles/Makefile2:2319: recipe for target
'src/gromacs/CMakeFiles/libgromacs.dir/all' failed
make[1]: *** [src/gromacs/CMakeFiles/libgromacs.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
[root at dhcppc99 gromacs-5.1.4-build]#


More information about the gromacs.org_gmx-users mailing list