Newest g++ libraries break with nvcc

Hi all, just a heads-up:

I recently upgraded to a new version of gcc/g++ (5.1.0), and I found out that compiling LAMMPS with nvcc does not work anymore, which, apparently, is due to some bug with nvcc and stringstreams:
https://bugs.archlinux.org/task/45079
https://devtalk.nvidia.com/default/topic/836068/cuda-programming-and-performance/-bug-incompatibility-with-c-11-standard/

I guess this means that for the moment, it is impossible to compile LAMMPS with KOKKOS using the 5.1.0 standard library, so if you want/need to use KOKKOS, I think it is best to not upgrade gcc to 5.1 until this has been fixed.

Hi all, just a heads-up:

I recently upgraded to a new version of gcc/g++ (5.1.0), and I found out
that compiling LAMMPS with nvcc does not work anymore, which, apparently, is
due to some bug with nvcc and stringstreams:
https://bugs.archlinux.org/task/45079
https://devtalk.nvidia.com/default/topic/836068/cuda-programming-and-performance/-bug-incompatibility-with-c-11-standard/

I guess this means that for the moment, it is impossible to compile LAMMPS
with KOKKOS using the 5.1.0 standard library, so if you want/need to use
KOKKOS, I think it is best to not upgrade gcc to 5.1 until this has been
fixed.

i *always* takes some time, if cuda toolkits are compatible with newer
compilers. for example, only cuda 7.0 is compatible with gcc-4.9.
installing a very new compiler is *always* asking for trouble. in
general, for *any* large package, it is a good idea to stay rather
conservative with the choice of compiler and library versions. there
rarely is a significant benefit. for as far as i recall, KOKKOS is
compatible to gcc compilers from version 4.7.x onward. ...and anyway,
unless you are a KOKKOS developer/contributer or are volunteering to
do benchmarks and validation tests, i would recommend to not configure
and use it. it is far to experimental a package.

axel.