g++ 5.3 fails on 2.12/2.13b1 with CUDA 8.0

From: Chris Borchert (orleans704_at_yahoo.com)
Date: Thu Oct 04 2018 - 15:59:10 CDT

I’m trying to add CUDA to a co-worker’s 2.12 recipes that work on SGI Altix ICE-X and Cray XC. I’ve tried with Intel and GNU compilers with the same result. The only CUDA I have on both systems is 8.0 which warns it does not work with GCC greater than 5.

When using g++ 5.3.0,
2.12 fails on ComputeQM.C
2.13b1 fails on ComputeMoa.C
Both appear to be C++ errors and it suggests I add -std=c++11 or -std=gnu++11. When I add either to CXXFLAGS I get the same result.

Thanks,
Chris

  

This archive was generated by hypermail 2.1.6 : Tue Dec 31 2019 - 23:20:14 CST