24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 1556  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考博] 材料专业申博 +3 杜雨婷dyt 2026-03-29 3/150 2026-03-31 02:04 by nxgogo
[考研] 22408 359分调剂 +4 Qshers 2026-03-27 7/350 2026-03-30 21:30 by Qshers
[考研] 求收留 +6 1943443204 2026-03-28 6/300 2026-03-30 20:37 by dick_runner
[考研] 一志愿南昌大学324求调剂 +9 hanamiko 2026-03-27 9/450 2026-03-30 20:10 by 无际的草原
[考研] 327求调剂 +5 小卡不卡. 2026-03-29 5/250 2026-03-30 19:30 by Wang200018
[考研] 322求调剂 +10 宋明欣 2026-03-27 10/500 2026-03-30 18:47 by 544594351
[考研] 329求调剂,一志愿西北工业大学,材料工程(085601) +5 小小机灵虫 2026-03-29 11/550 2026-03-30 15:02 by Wang200018
[考研] 化学308分调剂 +7 你好明天你好 2026-03-30 8/400 2026-03-30 13:02 by 你好明天你好
[考研] 291求调剂 +5 Y-cap 2026-03-29 6/300 2026-03-29 13:18 by mumin1990
[考研] 一志愿北京理工大学本科211材料工程294求调剂 +8 mikasa的围巾 2026-03-28 8/400 2026-03-29 12:48 by 无际的草原
[考研] 349求调剂 +6 李木子啊哈哈 2026-03-25 6/300 2026-03-29 12:47 by 无际的草原
[考研] 305求调剂 +8 RuiFairyrui 2026-03-28 8/400 2026-03-29 08:22 by fmesaito
[考研] 求调剂推荐 材料 304 +15 荷包蛋hyj 2026-03-26 15/750 2026-03-28 04:13 by fmesaito
[考研] 一志愿 西北大学 总分282 英语一62 求调剂 +7 18419759900 2026-03-25 8/400 2026-03-27 16:38 by 18419759900
[考研] 0703化学一志愿南京师范大学303求调剂 +3 zzffylgg 2026-03-24 3/150 2026-03-27 10:42 by shangxh
[考研] 336材料求调剂 +7 陈滢莹 2026-03-26 9/450 2026-03-27 00:20 by wxiongid
[考研] 【2026考研调剂】制药工程 284分 求相关专业调剂名额 +4 袁奂奂 2026-03-25 8/400 2026-03-25 14:32 by lbsjt
[考研] 347求调剂 +4 L when 2026-03-25 4/200 2026-03-25 13:37 by cocolv
[考研] 080500求调剂 +3 zzzzfan 2026-03-24 3/150 2026-03-24 16:38 by barlinike
[考研] 277分求调剂,跨调材料 +3 考研调剂lxh 2026-03-24 3/150 2026-03-24 13:52 by JourneyLucky
信息提示
请填处理意见