计算化学公社

标题: 安装求助:在组里的cluster上装gmx 2022遇到问题 [打印本页]

作者
Author:
FrancisLi    时间: 2022-7-4 00:08
标题: 安装求助:在组里的cluster上装gmx 2022遇到问题
各位老师好,我在组里的cluster上尝试安装gmx,但是遇到这个报错:
  1. cmake .. -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON -DCMAKE_INSTALL_PREFIX=/export/apps/ -DGMX_GPU=CUDA -DCUDA_TOOLKIT_ROOT_DIR=/export/apps/cuda-10.2
复制代码
  1. CMake Error in /export/apps/gromacs-2022.2/build/CMakeFiles/CMakeTmp/CMakeLists.txt:
  2.   Target "cmTC_3213c" requires the language dialect "CXX17" , but CMake does
  3.   not know the compile flags to use to enable it.


  4. CMake Error at /export/apps/cmake-3.16.4/share/cmake-3.16/Modules/FindOpenMP.cmake:201 (try_compile):
  5.   Failed to generate test project build system.
  6. Call Stack (most recent call first):
  7.   /export/apps/cmake-3.16.4/share/cmake-3.16/Modules/FindOpenMP.cmake:427 (_OPENMP_GET_FLAGS)
  8.   cmake/gmxManageOpenMP.cmake:41 (find_package)
  9.   CMakeLists.txt:295 (include)


  10. -- Configuring incomplete, errors occurred!
  11. See also "/export/apps/gromacs-2022.2/build/CMakeFiles/CMakeOutput.log".
复制代码
我尝试module了gcc 7.5和gcc 9.1但是都不行,我的cmake是3.16.4。

我试着尝试sob老师的安装帖子,但是在yum install cmake3的时候遇到提示:
  1. Loaded plugins: fastestmirror, langpacks
  2. Loading mirror speeds from cached hostfile
  3. No package cmake3 available.
  4. Error: Nothing to do
复制代码
后面尝试cmake安装也是和上面一样的报错,想问下各位老师,这个该怎么办呀,感谢!

作者
Author:
sobereva    时间: 2022-7-4 01:27
凡是问软件安装编译的问题,都应当说清楚操作系统及其版本。不同系统,以及不同版本,往往情况相差甚大
yum死活不成功就自己编译cmake
作者
Author:
abin    时间: 2022-7-4 09:20
不纠结使用最新版的话,
可以试试我提供的版本。
具体看签名信息。


作者
Author:
abdoman    时间: 2022-7-4 09:29
我觉得是不是C++没有指定?
-DCMAKE_CXX_COMPILER=xxx equal to the name of the C++17 compiler you wish to use

https://manual.gromacs.org/docum ... ll-guide/index.html
作者
Author:
chenbq18    时间: 2022-7-5 10:27
没指定gcc编译器
除四楼答案外,我一般喜欢
export CC=路径
export CXX= 路径




欢迎光临 计算化学公社 (http://bbs.keinsci.com/) Powered by Discuz! X3.3