计算化学公社

 找回密码 Forget password
 注册 Register

服务器上安装gromacs出现报错

查看数: 1329 | 评论数: 3 | 收藏 Add to favorites 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2023-2-21 18:54

正文摘要:

本帖最后由 s2023 于 2023-2-21 18:56 编辑 各位老师,最近我想用组里的服务器安装gromacs跑MD,服务器版本centOS7 ,已经让师兄更新了gcc(version 10+)和cmake(3.26),但是在编译过程中仍然出现如图所示的问 ...

回复 Reply

jrfjrf123 发表于 Post on 2023-2-22 10:19:29
感觉是cmake没有找到你的c++编译器,是不是没有写入环境变量或者没写全?
手册上说也可以直接指定编译器的地址:

-DCMAKE_C_COMPILER=xxx equal to the name of the C99 Compiler you wish to use (or the environment variable CC)
-DCMAKE_CXX_COMPILER=xxx equal to the name of the C++98 compiler you wish to use (or the environment variable CXX)
sobereva 发表于 Post on 2023-2-22 04:38:25
把cmake做成cmake3的符号链接再试
还不行就按我的博文说的自己编译cmake3
abin 发表于 Post on 2023-2-21 19:45:36
cmake

But the scripts ask for cmake3

Soft link will solve your issue.

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2026-2-24 04:20 , Processed in 0.346432 second(s), 25 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list