[gmx-users] make

Vytautas Rakeviius vytautas1987 at yahoo.com
Thu Apr 20 14:09:59 CEST 2017


Its stated in:"GNU version! gcc versions later than 5 are not supported!"The most simple solution is just download newer GROMACS version like 2016.3.
 

    On Thursday, April 20, 2017 1:53 PM, Anshul Lahariya <anshullahariya17 at gmail.com> wrote:
 

 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]#
-- 
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 mailing list