[gmx-users] make

Anshul Lahariya anshullahariya17 at gmail.com
Thu Apr 20 13:58:43 CEST 2017


hello mark,

gcc package is already installed and it is updated.
but cuda want it in later than 5 version. so how can i change the version
of gcc or uninstall that's version


On Thu, Apr 20, 2017 at 5:24 PM, Mark Abraham <mark.j.abraham at gmail.com>
wrote:

> Hi,
>
> Like it says, you need to use a version of gcc that suits your version of
> cuda. How to get that done depends what is providing gcc and how your
> operating system provides these packages.
>
> Mark
>
> On Thu, 20 Apr 2017 12:53 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.
> >
> --
> 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