Gromacs 2019.6 compilation failure

GROMACS version: 2019.6
GROMACS modification: No
Here post your question


I am trying to compile Gromacs 2019.6 on on Ubuntu 20.04 using GNU compilers version 8.4.0.

The make step is failing with the following error during the compilation of fftw (OWN) - sourcing the error from CMakeError.log:
make[1]: Entering directory ‘/mnt/shared/releases_20.04/source/gromacs-2019.6/build/CMakeFiles/CMakeTmp’
Building CXX object CMakeFiles/cmTC_99dab.dir/src.cxx.o
/usr/bin/c++ -mavx2 -mfma -std=c++11 -DHAS_DECL_IN_SOURCE -wd1419 -o CMakeFiles/cmTC_99dab.dir/src.cxx.o -c /mnt>
c++: error: unrecognized command line option ‘-wd1419’
make[1]: *** [CMakeFiles/cmTC_99dab.dir/build.make:66: CMakeFiles/cmTC_99dab.dir/src.cxx.o] Error 1
make[1]: Leaving directory ‘/mnt/shared/releases_20.04/source/gromacs-2019.6/build/CMakeFiles/CMakeTmp’
make: *** [Makefile:121: cmTC_99dab/fast] Error 2

This -wd1419 option doesn’t seem to be tolerated and haven’t encountered this before.

My cmake command is:
-DCMAKE_INSTALL_PREFIX=/mnt/shared/releases_20.04/compiled/gromacs2019.6 -DGMX_DEFAULT_SUFFIX=OFF

As an aside, I’ve succesfully installed GMX 2020.6 and GMX2021.1
Any help in understanding what I might be doing wrong will be greatly appreciated :-)

Thank you in advance for all your help and Best Regards,