安装 amber

  1. amber 介绍
  2. amber安装
    2.1 下载解压
    官网 http://ambermd.org/GetAmber.php#ambertools
    移动到/usr/local/bin
    解压tar -jxvf AmberTools19.tar.bz2
    2.2 configure
    使用如下命令
    ./configure -noX11 --skip-python gnu
    其中:
-noX11 不安装图形用户界面,amber的图形用户界面很垃圾,不要装了
--skip-python 使用python安装补丁的时候失败,所以跳过python
gnu 使用gcc等编译器

完成后显示如下提示

Environment resource files are provided to set the proper environment
variables to use AMBER and AmberTools. This is required to run any Python
programs (like MMPBSA.py, ParmEd, MCPB.py, and pytraj)

If you use a Bourne shell (e.g., bash, sh, zsh, etc.), source the
/usr/local/amber18/amber.sh file in your shell. Consider adding the line
test -f /usr/local/amber18/amber.sh && source /usr/local/amber18/amber.sh
to your startup file (e.g., ~/.bashrc)

If you use a C shell (e.g., csh, tcsh), source the
/usr/local/amber18/amber.csh file in your shell. Consider adding the line
test -f /usr/local/amber18/amber.csh && source /usr/local/amber18/amber.csh
to your startup file (e.g., ~/.cshrc)

NOTE: MacOS users might need to add the content to ~/.bash_profile file
(You need to do the above before running ‘make install’)

2.3编译

make clean
make

2.4 设置环境变量
将如下行添加在用户下的.bashrc文件中即可(对于使用bash的系统,例如buntu、centos…)

test -f /usr/local/amber18/amber.sh && source /usr/local/amber18/amber.sh
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值