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
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] #■