24小时热门版块排行榜    

查看: 1664  |  回复: 5

xzhfood

荣誉版主 (著名写手)

[求助] Gromacs 命令无法执行

$pdb2gmx
-bash: pdb2gmx: command not found

我看了本版也有类似问题,说是路径没有配置,可我配置路径了啊,
安装成功

cmake .. -DCMAKE_INSTALL_PREFIX=/opt/gromacs-5.0.2 -DGMX_FFT_LIBRARY=fftw3 -DFFTWF_LIBRARY="/opt/fftw-3.3.4/lib/libfftw3f.so"  -DFFTWF_INCLUDE_DIR="/opt/fftw-3.3.4/include/" -DCMAKE_C_COMPILER=/opt/gcc-4.8.2/bin/gcc -DCMAKE_CXX_COMPILER=/opt/gcc-4.8.2/bin/g++  -DGMX_MPI=on -DGMX_GPU=off



在/etc/profile中配置:

export PATH=/opt/gromacs-5.0.2/bin:$PATH
export LD_LIBRARY_PATH=/opt/gromacs-5.0.2/lib64:$LD_LIBRARY_PATH

重启

也运行了 source /opt/gromacs-5.0.2/bin/GMXRC

还是-bash: pdb2gmx: command not found
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

longdlut

捐助贵宾 (著名写手)


2楼2018-12-08 07:06:11
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xzhfood

荣誉版主 (著名写手)

引用回帖:
2楼: Originally posted by longdlut at 2018-12-08 07:06:11
gmx pdb2gmx

仍然是  还是-bash: gmx pdb2gmx: command not found
3楼2018-12-08 08:33:57
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xzhfood

荣誉版主 (著名写手)

很奇怪,gmx执行成功,但是pdb2gmx找不到!

[root@localhost xzhfood]# gmx
                          :-) GROMACS - gmx, 2016 (-:

                            GROMACS is written by:
     Emile Apol      Rossen Apostolov  Herman J.C. Berendsen    Par Bjelkmar   
Aldert van Buuren   Rudi van Drunen     Anton Feenstra    Gerrit Groenhof  
Christoph Junghans   Anca Hamuraru    Vincent Hindriksen Dimitrios Karkoulis
    Peter Kasson        Jiri Kraus      Carsten Kutzner      Per Larsson   
  Justin A. Lemkul   Magnus Lundborg   Pieter Meulenhoff    Erik Marklund   
   Teemu Murtola       Szilard Pall       Sander Pronk      Roland Schulz   
  Alexey Shvetsov     Michael Shirts     Alfons Sijbers     Peter Tieleman  
  Teemu Virolainen  Christian Wennberg    Maarten Wolf   
                           and the project leaders:
        Mark Abraham, Berk Hess, Erik Lindahl, and David van der Spoel

Copyright (c) 1991-2000, University of Groningen, The Netherlands.
Copyright (c) 2001-2015, The GROMACS development team at
Uppsala University, Stockholm University and
the Royal Institute of Technology, Sweden.
check out http://www.gromacs.org for more information.

GROMACS is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License
as published by the Free Software Foundation; either version 2.1
of the License, or (at your option) any later version.

GROMACS:      gmx, version 2016
Executable:   /usr/local/gromacs/bin/gmx
Data prefix:  /usr/local/gromacs
Working dir:  /home/xzhfood
Command line:
  gmx

SYNOPSIS

gmx [-[no]h] [-[no]quiet] [-[no]version] [-[no]copyright] [-nice <int>]
    [-[no]backup]

OPTIONS

Other options:

-[no]h                     (no)
           Print help and quit
-[no]quiet                 (no)
           Do not print common startup info or quotes
-[no]version               (no)
           Print extended version information and quit
-[no]copyright             (yes)
           Print copyright information on startup
-nice   <int>              (19)
           Set the nicelevel (default depends on command)
-[no]backup                (yes)
           Write backups if output files exist

Additional help is available on the following topics:
    commands    List of available commands
    selections  Selection syntax and usage
To access the help, use 'gmx help <topic>'.
For help on a command, use 'gmx help <command>'.

GROMACS reminds you: "Everything's formed from particles" (Van der Graaf Generator)

[root@localhost xzhfood]# pdb2gmx
bash: pdb2gmx: command not found...
4楼2018-12-08 16:57:06
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xzhfood

荣誉版主 (著名写手)

解决了
5楼2018-12-09 19:53:45
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lastzealot

新虫 (著名写手)

【乱世的奸雄】

引用回帖:
5楼: Originally posted by xzhfood at 2018-12-09 19:53:45
解决了

请问您是怎么解决的?我也出现了相同问题
谢谢

发自小木虫IOS客户端
6楼2019-02-05 12:08:02
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 xzhfood 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 范进中举一文的中心思想 +8 炎黄贵胄 2026-08-22 9/450 2026-08-26 07:47 by WASM
[基金申请] 2026年8月25日国自然放榜前突然收到列入评审专家邮件,有关系吗? +22 木水思豆 2026-08-25 25/1250 2026-08-26 07:16 by jklily
[公派出国] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 PbwVEMK5haaE 2026-08-25 6/300 2026-08-26 06:57 by cNXvBfCpiZOM
[论文投稿] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +3 7K1CJE38xLG4 2026-08-25 4/200 2026-08-26 02:04 by cNXvBfCpiZOM
[基金申请] 今天务委会开完了,明天出结果吗 +18 angus9576 2026-08-25 22/1100 2026-08-26 00:41 by merchancy
[基金申请] 放榜前的不淡定 20+4 snowwithsea 2026-08-19 19/950 2026-08-25 17:57 by chick875
[基金申请] 某些机构,以效率低为荣,以效率低作为存在感 +9 yuleib84 2026-08-25 10/500 2026-08-25 17:14 by alexon
[基金申请] 如果此刻你正在为国基感到焦虑,不妨来听听这首《基金之外》 +8 scalable 2026-08-24 8/400 2026-08-25 12:52 by jnhyjjm
[基金申请] 人气不行了 +11 fansofjerry 2026-08-21 11/550 2026-08-25 11:04 by 孤独的英雄6
[教师之家] 导师吐槽:我怎么摊上了这么个极品研究生! +3 苏东坡二世 2026-08-23 3/150 2026-08-25 10:35 by shisan1313
[基金申请] 2026年的国家社科基金项目通讯评审的新规则与新动向、新挑战 +5 process2012 2026-08-23 7/350 2026-08-25 09:42 by huixian257
[基金申请] 今天基金会出结果吗?20260819 +17 kkkl_v 2026-08-19 18/900 2026-08-25 09:41 by windflowerwy
[基金申请] 我面上完蛋了 +13 且听虎啸 2026-08-20 14/700 2026-08-25 09:10 by mrkang
[基金申请] 只有每年这种时候来逛逛小木虫 +25 yaoyewhu2008 2026-08-20 27/1350 2026-08-25 08:01 by Equinoxhua
[基金申请] 能否退出参与的面上项目解除限项 +21 koalala 2026-08-24 24/1200 2026-08-24 19:25 by 家与远方
[基金申请] filecode,4个jtjc了 +14 ziyangfang 2026-08-19 17/850 2026-08-24 18:37 by 哈哈蛤?
[基金申请] 建议基金发布提前给出明确的时间点 +13 kulium 2026-08-21 16/800 2026-08-24 16:27 by superceng
[基金申请] 让我中一个面上吧! +13 大萍1987 2026-08-20 16/800 2026-08-24 10:23 by 太傻了
[基金申请] 今天放榜吗? +15 布布和一二 2026-08-19 16/800 2026-08-23 09:55 by 张春生
[基金申请] 今天放榜没戏了吧 +9 yuleib84 2026-08-19 11/550 2026-08-21 10:06 by gltch
信息提示
请填处理意见