Gromacs安装过程中有关CMake产生的问题

近期在笔记本电脑上安装gromacs软件(VMware上建立的CentOS 7系统),在安装的过程中按照Sob的教程一步步安装,但是在安装gromacs软件的时候出现了如下报错,向各位请教一下如何解决。
运行的命令为:
[root@localhost build]# cmake3 .. -DMAKE_INSTALL_PREFIX=zhangyt/gmx2021.4
输出结果为
CMake Error in /zhangyt/gromacs-2021.4/build/CMakeFiles/CMakeTmp/CMakeLists.txt:
Target "cmTC_cf52d" requires the language dialect "CXX17" , but CMake does
not know the compile flags to use to enable it.

CMake Error at /usr/share/cmake3/Modules/FindOpenMP.cmake:201 (try_compile):
Failed to generate test project build system.
Call Stack (most recent call first):
/usr/share/cmake3/Modules/FindOpenMP.cmake:446 (_OPENMP_GET_FLAGS)
cmake/gmxManageOpenMP.cmake:43 (find_package)
CMakeLists.txt:292 (include)

-- Configuring incomplete, errors occurred!
See also "/zhangyt/gromacs-2021.4/build/CMakeFiles/CMakeOutput.log".

此前查阅了“GROMACS的安装以及部分常见报错”这篇博文,尝试更新了gcc版本到9.3.1,但问题仍未解决,请各位不吝赐教。