24小时热门版块排行榜    

查看: 1667  |  回复: 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的回帖

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的回帖
查看全部 6 个回答

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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 投票:  有多少人是今天查系统知道结果的? +16 爱看书的可乐 2026-08-26 18/900 2026-08-28 09:33 by winsaint
[基金申请] 怎么查啊 +6 huang1991js 2026-08-26 6/300 2026-08-28 08:42 by winsaint
[基金申请] 基金系统什么内容也没有 30+4 winsaint 2026-08-27 8/400 2026-08-28 08:26 by lfy8008
[基金申请] 国自然面上复盘~欢迎讨论 (金币+5) +11 晴天加油 2026-08-26 12/600 2026-08-28 01:22 by li09465290@
[基金申请] 面上合作单位盖章 +5 ssyjh 2026-08-27 5/250 2026-08-27 20:50 by gdfollow
[教师之家] 导师吐槽:我怎么摊上了这么个极品研究生! +7 苏东坡二世 2026-08-23 7/350 2026-08-27 18:14 by 瞬息宇宙
[基金申请] 基金未中,这种答复是模板吗? +5 zhaosm1982 2026-08-27 6/300 2026-08-27 16:00 by lfy8008
[基金申请] 怎么看青基中了没有啊 +5 叶九微 2026-08-26 5/250 2026-08-27 10:35 by l_zh2008
[基金申请] 我不理解! +15 Edward_pc 2026-08-26 23/1150 2026-08-26 20:34 by zzuzxg
[基金申请] 2026国自然函评费到账 +22 羊腰板 2026-08-21 25/1250 2026-08-26 15:00 by zuocuiping
[基金申请] 2026年8月25日国自然放榜前突然收到列入评审专家邮件,有关系吗? +25 木水思豆 2026-08-25 28/1400 2026-08-26 14:53 by draco1987
[基金申请] 能否退出参与的面上项目解除限项 +23 koalala 2026-08-24 26/1300 2026-08-26 14:29 by 宝贝虫子
[基金申请] 项目信息和经费信息在系统里都可以看到了 +6 wittyboy 2026-08-26 14/700 2026-08-26 10:55 by wittyboy
[基金申请] 国合可查了 +3 paperzjh 2026-08-26 3/150 2026-08-26 10:41 by LemmonTr
[基金申请] 今天务委会开完了,明天出结果吗 +19 angus9576 2026-08-25 23/1150 2026-08-26 10:03 by zp519
[基金申请] 国合现在查不到了吗? +10 chengyan1220 2026-08-24 20/1000 2026-08-26 08:57 by peasantsprig
[基金申请] 如果此刻你正在为国基感到焦虑,不妨来听听这首《基金之外》 +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
[基金申请] 建议基金发布提前给出明确的时间点 +13 kulium 2026-08-21 16/800 2026-08-24 16:27 by superceng
[基金申请] 看来今天不会放榜了? +8 chengyan1220 2026-08-21 11/550 2026-08-21 17:52 by dcqxinyang
信息提示
请填处理意见