[gmx-users] Fwd: CUDA compilation problem for Gromacs 5.1.2 (with fix)

Sjoerd de Vries sjdv1982 at gmail.com
Tue May 10 18:23:07 CEST 2016


On Tue, May 10, 2016 at 6:08 PM, Mark Abraham <mark.j.abraham at gmail.com>
wrote:

> Hi
>
> Yes, that's my point. There's no released version of CUDA that supports any
> version of gcc 5. Apparently, to get a CUDA-supported version of gcc on
> your distribution, you'd need a backport of gcc 4.9. Your information seems
> useful for those wanting to live on the edge, though :-)
>
>
Hi Mark,

Thanks for your help, but now I am confused!!

It seems to me that I am living rather far from the edge, I am running the
most recent LTS version of the most popular Linux distro.

if I understand you correctly, the maintainers of nvidia-cuda-dev (
7.5.18-0ubuntu1) in 16.04 must have willfully hacked
/usr/include/host_config.h,
just to fake gcc 5 compatibility?

cheers

Sjoerd


> Mark
>
> On Tue, 10 May 2016 18:01 Sjoerd de Vries <sjdv1982 at gmail.com> wrote:
>
> > On Tue, May 10, 2016 at 5:32 PM, Mark Abraham <mark.j.abraham at gmail.com>
> > wrote:
> >
> > > Hi,
> > >
> > > That fix looks like it's specific to permitting the use of versions of
> > gcc
> > > not supported by CUDA, right?
> > >
> >
> > Hi,
> >
> > Not as far as I know.
> > I am running a fairly vanilla Kubuntu 16.10, with gcc and nvidia-cuda-dev
> > installed from the Ubuntu repository.
> >
> > >> gcc --version
> > gcc (Ubuntu 5.3.1-14ubuntu2) 5.3.1 20160413
> >
> > My /usr/include/host_config.h says:
> > #if __GNUC__ > 5
> >
> > #error -- unsupported GNU version! gcc versions later than 5 are not
> > supported!
> >
> > #endif /* __GNUC__ > 5 */
> >
> > cheers
> >
> > Sjoerd
> > --
> > 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