I deleted gromacs-2022.2 from the HPC cluster to reinstall gromacs-2024.4.
I am installing gromacs-2024.4 on a HPC cluster. I am following the sequence of commands from the “Quick & Dirty installation” in the GROMACS documentation.
I recieved an error when I run this sequence of command, “cmake … -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON”.
Here I am pasting the commands I inputted:
(base) [… ~]$ wget ftp://ftp.gromacs.org/gromacs/gromacs-2024.4.tar.gz
–2024-12-20 16:43:59-- ftp://ftp.gromacs.org/gromacs/gromacs-2024.4.tar.gz
=> ‘gromacs-2024.4.tar.gz’
Resolving ftp.gromacs.org (ftp.gromacs.org)… 130.237.11.165, 2001:6b0:1:1191:216:3eff:fec7:6e30
Connecting to ftp.gromacs.org (ftp.gromacs.org)|130.237.11.165|:21… connected.
Logging in as anonymous … Logged in!
==> SYST … done. ==> PWD … done.
==> TYPE I … done. ==> CWD (1) /gromacs … done.
==> SIZE gromacs-2024.4.tar.gz … 42356162
==> PASV … done. ==> RETR gromacs-2024.4.tar.gz … done.
Length: 42356162 (40M) (unauthoritative)
100%[======================================>] 42,356,162 14.7MB/s in 2.7s
2024-12-20 16:44:05 (14.7 MB/s) - ‘gromacs-2024.4.tar.gz’ saved [42356162]
(base) [… ~] ls
gromacs-2024.4.tar.gz miniconda Miniconda3-py311_23.5.2-0-Linux-x86_64.sh
intel miniconda3 myproject
(base) [... ~] tar xfz gromacs-2024.4.tar.gz
(base) [… ~] ls
gromacs-2024.4 miniconda myproject
gromacs-2024.4.tar.gz miniconda3
intel Miniconda3-py311_23.5.2-0-Linux-x86_64.sh
(base) [... ~] cd gromacs-2024.4
(base) [… gromacs-2024.4] ls
admin CITATION.cff COPYING docs README src
api cmake CPackInit.cmake INSTALL scripts tests
AUTHORS CMakeLists.txt CTestConfig.cmake python_packaging share
(base) [... gromacs-2024.4] mkdir build
(base) [… gromacs-2024.4] ls
admin CITATION.cff CPackInit.cmake python_packaging src
api cmake CTestConfig.cmake README tests
AUTHORS CMakeLists.txt docs scripts
build COPYING INSTALL share
(base) [... gromacs-2024.4] cd build
(base) [… build]$ cmake … -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON
– The C compiler identification is GNU 8.3.0
– The CXX compiler identification is GNU 8.3.0
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /opt/ohpc/pub/compiler/gcc/8.3.0/bin/gcc - skipped
– Detecting C compile features
– Detecting C compile features - done
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: /opt/ohpc/pub/compiler/gcc/8.3.0/bin/c++ - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
CMake Error at cmake/gmxTestCompilerProblems.cmake:69 (message):
GCC version 9 or later required. Earlier versions don’t have full C++17
support.
Call Stack (most recent call first):
CMakeLists.txt:100 (gmx_test_compiler_problems)
– Configuring incomplete, errors occurred!
Why is the configuration incomplete and errors occurred?