24小时热门版块排行榜    

查看: 1005  |  回复: 3

飞飞是胖纸

新虫 (初入文坛)

[求助] gromacs5.1在服务器上的安装问题 已有2人参与

楼主是linux和gromacs双料小白,很不幸要摸索如何在服务器上以普通用户安装gmx-5.1(同时服务器/usr/local/gromacs 已经存在一个4.6版本的GMX)
我在自己的home目录下下载并解压了gmx-5.1

tar xfz gromacs-5.1.2.tar.gz
cd gromacs-5.1.2
mkdir build

cd build
cmake .. -DCAME_INSTALL_PREFIX=/home/user/xncao/sy/gromacs/gromacs-5.1.2 -DGMX_MPI=ON -DGMX_BUILD_OWN_FFTW=ON
make -j
make install
一直到make -j都没有什么问题,如下:
[xncao@login_node build]$ make -j
[  1%] Built target fftwBuild
[  1%] Built target view_objlib
[  1%] Built target mdrun_objlib
[ 98%] Built target libgromacs
[100%] [100%] Built target gmx
Built target template
[xncao@login_node build]$

但是make install以后就有如下报错:
[xncao@login_node build]$ make install
[  1%] Built target fftwBuild
[ 98%] Built target libgromacs
[100%] Built target template
[100%] Built target mdrun_objlib
[100%] Built target view_objlib
[100%] Built target gmx
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/gromacs/share/gromacs/COPYING
CMake Error at cmake_install.cmake:36 (FILE):
file INSTALL cannot copy file
  "/home/user/xncao/sy/gromacs/gromacs-5.1.2/COPYING" to
  "/usr/local/gromacs/share/gromacs/COPYING".

make: *** [install] Error 1


我试图删除或者手动替换/usr/local/gromacs/share/gromacs目录中的COPYING,但是并没有权限。。。


求问大家:1.我已经使用 -DCAME_INSTALL_PREFIX=/home/user/xncao/sy/gromacs/gromacs-5.1.2 试图修改安装位置了,为什么还是在/usr/local/gromacs/share/gromacs/中安装呢?
2.我应该如何做才能把gmx-5.1.2安装在我home目录下?(或者其他目录下,只要不与4.6冲突,能使用就行)
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

殷赋科技

捐助贵宾 (正式写手)


【答案】应助回帖

感谢参与,应助指数 +1
我安装的时候没有问题。建议重新安装,安装前先清除之前的残余文件。
2楼2016-05-05 12:12:34
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

arixxl

金虫 (小有名气)

【答案】应助回帖

★ ★ ★ ★ ★
飞飞是胖纸: 金币+5 2016-06-15 09:09:34
"cmake .. -DCAME_INSTALL_PREFIX=/home/user/xncao/sy/gromacs/gromacs-5.1.2 -DGMX_MPI=ON -DGMX_BUILD_OWN_FFTW=ON"
有点错误,改成 -DCMAKE_INSTALL_PREFIX=/home/user/xncao/sy/gromacs/gromacs-5.1.2
3楼2016-05-14 20:56:13
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

cuoce

木虫 (小有名气)

你好,我想用cygwin安装gromacs,安装过程如下:
将安装包拷贝到了home/xing里面;
tar xvzf cmake-3.6.2.tar.gz
cd cmake-3.6.2
./bootstrap

运行一段时间之后出现如下问题:
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
/home/xing/cmake-3.6.2
CMake Error: Error executing cmake::LoadCache(). Aborting.

---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
请问这个问题该如何解决啊?
4楼2017-10-22 21:54:21
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 飞飞是胖纸 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 304求调剂 +5 素年祭语 2026-03-15 5/250 2026-03-16 17:00 by 我的船我的海
[考研] 085600调剂 +5 漾漾123sun 2026-03-12 6/300 2026-03-16 15:58 by 漾漾123sun
[考研] 290求调剂 +5 孔志浩 2026-03-12 10/500 2026-03-16 09:01 by 余晖&
[考研] 311求调剂 +6 冬十三 2026-03-15 6/300 2026-03-16 08:00 by wang_dand
[考研] 26考研一志愿中国石油大学(华东)305分求调剂 +3 嘉年新程 2026-03-15 3/150 2026-03-15 13:58 by 哈哈哈哈嘿嘿嘿
[考研] 085601材料工程315分求调剂 +3 yang_0104 2026-03-15 3/150 2026-03-15 10:58 by peike
[考研] 289求调剂 +5 步川酷紫123 2026-03-11 5/250 2026-03-15 00:45 by kruisytel
[考研] 328求调剂 +3 5201314Lsy! 2026-03-13 6/300 2026-03-14 15:31 by hyswxzs
[考研] 材料080500调剂求收留 +3 一颗meteor 2026-03-13 3/150 2026-03-14 10:54 by peike
[考研] 321求调剂 +3 CUcat 2026-03-10 3/150 2026-03-14 00:25 by JourneyLucky
[考研] 311求调剂 +8 zchqwer 2026-03-10 8/400 2026-03-14 00:01 by JourneyLucky
[考研] 材料专硕288分求调剂 一志愿211 +4 在家想你 2026-03-11 4/200 2026-03-13 22:49 by JourneyLucky
[考研] 304求调剂 +7 7712b 2026-03-13 7/350 2026-03-13 21:42 by peike
[考研] 329求调剂 +3 miaodesi 2026-03-12 4/200 2026-03-13 20:53 by 18595523086
[考研] 281求调剂 +9 Koxui 2026-03-12 11/550 2026-03-13 20:50 by Koxui
[考研] 求调剂 +5 一定有学上- 2026-03-12 5/250 2026-03-13 18:31 by ms629
[论文投稿] 投稿问题 5+4 星光灿烂xt 2026-03-12 6/300 2026-03-13 14:17 by god_tian
[考研] 283求调剂,材料、化工皆可 +8 苏打水7777 2026-03-11 10/500 2026-03-13 09:06 by Linda Hu
[考研] 321求调剂(食品/专硕) +3 xc321 2026-03-12 6/300 2026-03-13 08:45 by xc321
[考博] 读博申请 +5 感dd 2026-03-10 7/350 2026-03-11 17:02 by QGZDSYS
信息提示
请填处理意见