GROMACS 2020 make error when installation

Hi,

I got an error when I install gromacs 2020 on windows subsystem of linux
The scripts I ran are:

wget [https://ftp.gromacs.org/gromacs/gromacs-2020.tar.gz]

tar xfz gromacs-2020.tar.gz

cd gromacs-2020/

mkdir build

cd build/

sudo apt-get install -y fftw3

cmake … -DGMX_BUILD_OWN_FFTW=ON -DGMX_GPU=CUDA -DCMAKE_PREFIX_PATH=/home/GMX DGMX_FFT_LIBRARY=fftw3 -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++

make (After make I got the error as attached)

Hi!

Have you tried the workaround suggested in another thread: Error compiling gromacs 2020.5 patched with Colvar module - #7 by giacomo.fiorin? Basically, add #include <limits> line to the beginning (along with other #include lines) of every file where such an error occurs.

Moderation note: I moved your post to “User discussions”, since it is not related to the website.