CentOS第一次安装gromacs,已安装cmake及fftw,按照视频操作,在3min12s时报错。
[ root@localhost gmx2021.5] # cd gromacs- 2021.5
root@localhost gromacs-2021.5]#mkdir build
root@localhost gromacs- 2021.5j #cd build
i root&localhost build| # cmake3' .. - DCMAKE_INSTALL_PREFIX=/ root/gmx2021 . 5/ gmx -DGMX_GPU-oN - DCUDA_T0OLKIT_ROoT_DIR=/usr/local/cuda - DGNX_BUILD_owN_FFTW=ON
-- Found Python3: /usr/bin/python3,6 ( found suitable version "3.6.8", minimum requiredis "3.6" )found components: Interpreter
CMake Error in / root/gmx2021 .5/ gromacs-2021.5 /build /CMakeFiles/CMakeTmp/CMakeLists.txtTarget " cmTc_ab8d4" requires the language dialect "cXx17" , but CMake does
not know the compile flags to use to enable it.
CMake Error at cmake/ gmxDetectTargetArchitecture,cmake: 44 ( try_compile):Failed to generate test project build system.
call stack ( most recent call first) :
CMakeLists.txt:168 ( gmx_detect_target_architecture)
-- configuring incomplete,errors occurred !
see also " / root/ gmx2021 .5/gromacs- 2021 .5/build /CNakeFiles/CMakeoutput., log" .[ root@localhost build] #■