[gmx-users] Error while re-compiling Gromacs 5.1.2 with GPU and gcc 5.3.1
Fabricio Cannini
fcannini at gmail.com
Tue May 31 22:57:49 CEST 2016
Em 31-05-2016 17:25, Szilárd Páll escreveu:
> Hi,
>
> Just because gcc 5.3 and CUDA/nvcc 7.5 are in some Ubuntu repos (partner
> AFAIR), it does not mean they're automatically compatible. The NVIDIA
> documentation clearly indicates they're not.
Surely the ubuntu cuda maintainers patched 'include/host_config.h'
This is from the 7.5 nvidia packages:
=====================================
#if defined(__GNUC__)
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 9)
#error -- unsupported GNU version! gcc versions later than 4.9 are not
supported!
=====================================
IMHO there may be a good reason for nvidia to do it (Please correct me
if I'm wrong) :
https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html
More information about the gromacs.org_gmx-users
mailing list