Hi Everyone,
Any thoughts on this build error? CentOS 9 Stream is the OS with latest gcc/cmake. This was my cmake command: “cmake … -DGMX_GPU=CUDA -DCMAKE_INSTALL_PREFIX=/software/gromacs -DGMX_BUILD_OWN_FFTW=ON”
You need to make sure you are using a more modern compiler. I can see that it is using one that only supports up to C+±11, and this is insufficient for modern GROMACS.
For some reasons even more recent versions of CentOS default to using the ancient versions if GCC, so you need to use a devtools environment that has the recent versions available.
Hi Everyone,
Any thoughts on this build error? CentOS 9 Stream is the OS with latest gcc/cmake. This was my cmake command: “cmake … -DGMX_GPU=CUDA -DCMAKE_INSTALL_PREFIX=/software/gromacs -DGMX_BUILD_OWN_FFTW=ON”
I had the same thought but I am running gcc 11.2 and assumption is if you are using the c++17 flag when calling the compiler then it would be all set? I saw this bug which makes me think the custom version from 2021 that I am attempting to compile is broken with gcc 11 and I need to build with gcc 10.