这篇博文专门讲述 Ambertools15的安装方法,尽管Ambertools16版本已经正是发行了,但两者在安装方式上没有任何区别。比较偏爱Ambertools15的原因主要还是在容量方面(230M),它比Ambertools14改进了不少,但其bz2型压缩容量只增加了27M,而Ambertools16已经有330M了(这个新功能如果在以后应用中涉略较多的话,我在专门开博讨论)。网络中对如何安装ambertools较为缺乏,而且介绍非常简单,参考链接[1]和[2]。

在安装时,要了解tools里面的文件多数场合是用不到的,因此真正有用的是Amber15:

[amber14]$ ./configure gnu
Checking for updates...
Checking for available patches online. This may take a few seconds...
Available AmberTools 15 patches:
update.1 (modifies MMPBSA.py, ParmEd, cpptraj)
update.2 (modifies AmberTools, CUDA)
update.3 (modifies nab, sff)
update.4 (modifies Leap, Lipid14, force, field)
update.5 (modifies ParmEd)
update.6 (modifies pmemd.cuda)
There are patches available. Do you want to apply them now? [y/N] (Recommended Y)
y
Preparing to apply updates... please wait.
Downloading updates for AmberTools 15
Downloading AmberTools 15/update.1 (4.65 KB)
Applying AmberTools 15/update.1
Downloading AmberTools 15/update.2 (2.25 KB)
Applying AmberTools 15/update.2
Downloading AmberTools 15/update.3 (4.09 KB)
Applying AmberTools 15/update.3
Downloading AmberTools 15/update.4 (43.97 KB)
Applying AmberTools 15/update.4
Downloading AmberTools 15/update.5 (798 Bytes)
Applying AmberTools 15/update.5
Downloading AmberTools 15/update.6 (2.46 KB)
Applying AmberTools 15/update.6
NOTE: update_amber only updates the raw source code! You must recompile if you want
any changes to take effect!
Error: /bin/csh not found on your system! Install csh or tcsh and rerun
configure.
Configure failed due to the errors above!
----------------------------------------------------------
[amber14]$ ./configure -help
Error: /bin/csh not found on your system! Install csh or tcsh and rerun
configure.
Configure failed due to the errors above!
[amber14]$ sed -i 's&/bin/csh&/bin/bash&g' `grep -rl /bin/csh ./`
[amber14]$ ./configure --prefix=/home/hongyz/panfile/amber14/build -gnu
Checking for updates...
Checking for available patches online. This may take a few seconds...
Available AmberTools 15 patches:
update.1 (modifies MMPBSA.py, ParmEd, cpptraj)
update.2 (modifies AmberTools, CUDA)
update.3 (modifies nab, sff)
update.4 (modifies Leap, Lipid14, force, field)
update.5 (modifies ParmEd)
update.6 (modifies pmemd.cuda)
There are patches available. Do you want to apply them now? [y/N] (Recommended Y)
N
NOT updating your tree and continuing anyway.
Error: Unknown flag: --prefix=/home/hongyz/panfile/amber14/build
Type './configure -help' for options.
Configure failed due to the errors above!
[amber14]$ ./configure -help
Usage: ./configure [flags] compiler
where compiler is one of: [[ gnu, intel, pgi, or clang ]]
COMPILERS
-----------------------------------
Compiler Set | C | C++ | Fortran
------------------------------------------------
gnu | gcc | g++ | gfortran
intel | icc | icpc | ifort
pgi | pgcc | pgCC | pgf90
clang | clang | clang++ | gfortran
Most common flags:
-mpi Use MPI for parallelization
-cuda Builds the NVIDIA GPU version of pmemd (pmemd.cuda or
pmemd.cuda.MPI) with default SPFP mixed single/double/
fixed-point precision.
(Note: Set CUDA_HOME to your cuda build tools installation
path; this is typically /usr/local/cuda.)
-openmp Use OpenMP pragmas to parallelize NAB, SAXS and paramfit
(not well tested for pgi).
Do not use -openmp and -mpi at the same time. Type "make
clean; make openmp" after setting this flag.
-cygwin Include modifications for cygwin on Windows
-noX11 Do not build programs that require X11 libraries
-macAccelerate Use optimized blas/lapack bundled with Mac OS X
Some influential environment variables:
MKL_HOME If set then link in Intel's MKL libraries (intel, gnu)
For information on less-common flags, type "./configure --full-help"
===============================================================================
[amber14]$ ./configure gnu
Checking for updates...
Checking for available patches online. This may take a few seconds...
Available AmberTools 15 patches:
No patches available
Searching for python2... Found python2.7: /home/hongyz/softvasp/apply/ourpython/bin/python2.7
Obtaining the gnu compiler suite versions, e.g.:
gcc -v
The C version is 4.4.7
The Fortran version is 4.4.7
Testing the gcc compiler:
gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c
OK
Testing the g++ compiler:
g++ -fPIC -o testp testp.cpp
OK
Testing the gfortran compiler:
gfortran -fPIC -O0 -o testp testp.f
OK
Testing mixed C/Fortran compilation:
gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o testp.c.o testp.c
gfortran -fPIC -O0 -c -o testp.f.o testp.f
gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c.o testp.f.o -lgfortran -w
OK
Testing pointer size:
gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o test_pointer_size test_pointer_size.c
Detected 64 bit operating system.
Testing flex: OK
Checking NetCDF...
Using bundled NetCDF library.
Starting NetCDF build.
Configuring NetCDF C interface (may be time-consuming)...
Compiling the NetCDF C interface (may be time-consuming)...
Configuring NetCDF Fortran interface (may be time-consuming)...
Compiling the NetCDF Fortran interface (may be time-consuming)...
NetCDF build succeeded.
Checking for zlib:
gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -lz -o testp testp.c
OK
Checking for libbz2:
gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -DHASGZ -lbz2 -o testp testp.c
OK
Configuring fftw-3.3 (may be time-consuming)...
fftw-3.3 configure succeeded.
Configuring XBLAS (may be time-consuming)...
XBLAS configure succeeded.
Configuring MTK++ (may be time-consuming)...
MTK++-0.2.0 configure succeeded.
The configuration file, config.h, was successfully created.
--------------------------------------------------------------------------------
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, and MCPB.py)
If you use a Bourne shell (e.g., bash, sh, zsh, etc.), source the
/home/hongyz/panfile/amber14/amber.sh file in your shell. Consider adding the line
test -f /home/hongyz/panfile/amber14/amber.sh && source /home/hongyz/panfile/amber14/amber.sh
to your startup file (e.g., ~/.bashrc)
If you use a C shell (e.g., csh, tcsh), source the
/home/hongyz/panfile/amber14/amber.csh file in your shell. Consider adding the line
test -f /home/hongyz/panfile/amber14/amber.csh && source /home/hongyz/panfile/amber14/amber.csh
to your startup file (e.g., ~/.cshrc)
--------------------------------------------------------------------------------
The next step is to type 'make install'
Cleaning the src directories. This may take a few moments.
Configure complete.
==============================================================
[amber14]$ ls
amber.csh AmberTools config.h dat include lib logs README src update_amber
amber.sh bin configure doc KNOWN_PROBLEMS lib64 Makefile share test updateutils
--------------------------------------------------------
copying build/scripts-2.7/PdbSearcher.py -> /home/hongyz/panfile/amber14/bin
copying build/scripts-2.7/OptC4.py -> /home/hongyz/panfile/amber14/bin
copying build/scripts-2.7/MCPB.py -> /home/hongyz/panfile/amber14/bin
changing mode of /home/hongyz/panfile/amber14/bin/PdbSearcher.py to 775
changing mode of /home/hongyz/panfile/amber14/bin/OptC4.py to 775
changing mode of /home/hongyz/panfile/amber14/bin/MCPB.py to 775
running install_egg_info
Writing /home/hongyz/panfile/amber14/lib/python2.7/site-packages/pyMSMT-15.0-py2.7.egg-info
Installation of AmberTools14 serial is complete at Tue Nov 29 05:11:24 CST 2016.
make[1]: Leaving directory `/home/hongyz/panfile/amber14/AmberTools/src'
==============================================================
/home/hongyz/panfile/amber14/src/Makefile not found, or -noamber was set.
This is expected if you do not have Amber14.
==============================================================
[amber14]$ ./configure -mpi
Checking for updates...
Checking for available patches online. This may take a few seconds...
Available AmberTools 15 patches:
No patches available
Searching for python2... Found python2.7: /home/hongyz/softvasp/apply/ourpython/bin/python2.7
Error: Architecture/compiler 'unspecified' is not supported!
Type './configure -help' for options.
Configure failed due to the errors above!
-----------------------------------------------------------

注意,上面安装过程过程中,压缩文件的名称依然是Amber14,这是目前还没有改过来。另外,下面的安装方式是错误的:

[tcsh-6.20.00]$ pwd
/home/hongyz/panfile/tcsh-6.20.00
[tcsh-6.20.00]$ ./configure --prefix=/home/hongyz/panfile/tcsh-6.20.00/build/
[bin]$ pwd
ln -s /home/hongyz/panfile/tcsh-6.20.00/build/bin
[~]$ which bash
/bin/bash
ln -s /home/hongyz/panfile/tcsh-6.20.00/build/bin/tcsh /bin/tcsh
ln -s /home/hongyz/panfile/tcsh-6.20.00/build/bin/tcsh /bin/csh
~/panfile/tcsh-6.20.00/build/bin/tcsh
==================================================================================
make[2]: Leaving directory `/home/hongyz/panfile/amber14/AmberTools/src/sander'
Installation of AmberTools14 MPI is complete at Tue Nov 29 03:48:26 CST 2016.
make[1]: Leaving directory `/home/hongyz/panfile/amber14/AmberTools/src'
==============================================================
/home/hongyz/panfile/amber14/src/Makefile not found, or -noamber was set.
This is expected if you do not have Amber14.
--------------------------------------------------------
export AMBERHOME=/home/hongyz/panfile/amber14
export PATH=$PATH:$AMBERHOME/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$AMBERHOME/lib
export DO_PARALLEL="mpirun -np 16"
make test
(cd AmberTools/test && make test.parallel)
make[1]: Entering directory `/home/hongyz/panfile/amber14/AmberTools/test'
./test_at_parallel.sh
Tests being run with DO_PARALLEL="mpirun -np 16".
Could not import Amber Python modules. This likely means
that your Amber Python environment was not set up correctly
We recommend adding the line:
test -f /home/hongyz/panfile/amber14/amber.sh && source /home/hongyz/panfile/amber14/amber.sh (sh/bash/zsh)
or
test -f /home/hongyz/panfile/amber14/amber.csh && source /home/hongyz/panfile/amber14/amber.csh (csh/tcsh)
to your login shell resource file (e.g., ~/.bashrc or ~/.cshrc)
make[1]: *** [test.parallel] Error 1
make[1]: Leaving directory `/home/hongyz/panfile/amber14/AmberTools/test'
make: *** [test.parallel] Error 2

参考链接:

[1] Amber14安装方法;关于Mac 10.10 安装ambertools 14 心得;Amber11+AmberTools1.5在RHEL5.4中的安装

[2] Amber11+AmberTools1.5+CUDA加速-安装总结;Mac OS 安装Ambertools14;Amber14在Centos6.6下的安装

[3] ubuntu14.04 安装ambertools15;Redhat 5.6中 Amber12的安装;Amber10/Ambertool1.2 Linux安装步骤

[4] Amber12安装-完整;Amber安装并行;Amber11 + AmberTools1.5 软件包和详细安装步骤,附Redhat5.4下载地址

[5] Installing Amber14 And AmberTools15;Re: [AMBER] amber14 CUDA GPU for workstation

[6] Re: [AMBER] errors in plumed and amber14 patch (Jason Swails)Amber12及AmberTools12发布

[7] Amber tools 中的antechamber 必须要在安装了amber11的前体下才能使用么;amber11+ambertools1.5 安装问题

[8] AMBER10 和AMBERTOOLS-1.2 for linux;使用AmberTools+ACPYPE+Gaussian创建小分子GAFF力场的拓扑文件

[9] 分子模拟软件Amber14.0 单一采购来源公示;Computer-Aided Drug Design;Re: [AMBER] frcmod file erro

[10] 如何利用VMD的topotools工具导出data文件中需要的bond,angle, dihedral list;Re: [AMBER] csh problem

[11] 如何将pdb文件批量转换为mol2格式文件;用VMD画虚线;Re: [AMBER] get sqm Error when run antechamber

[12] AMBER16新功能介绍;AMBER:小分子处理;Re: [AMBER] convergence problem in antechamber with Ambertools14

Ambertools15安装(详细)的更多相关文章

  1. linux/centos下安装nginx(rpm安装和源码安装)详细步骤

    Centos下安装nginx rpm包                                                                                 ...

  2. CM5(Cloudera Manager 5) + CDH5(Cloudera's Distribution Including Apache Hadoop 5)的安装详细文档

    参考 :http://www.aboutyun.com/thread-9219-1-1.html Cloudera Manager5及CDH5在线(cloudera-manager-installer ...

  3. VMware Tools (ubuntu系统)安装详细过程与使用

    前一段时间博主在VMware虚拟机上安装了Ubuntu系统,如果还没有安装的同学可以参考博主上一篇文章:VMware Ubuntu安装详细过程. 猿友们都知道linux不太好用,如果你想将你主机Win ...

  4. MySQL安装详细图解整理

    MySQL安装详细图解 2018-08-19  08:32:33 一.MYSQL的安装 1.打开下载的mysql安装文件mysql-5.0.27-win64.zip,双击解压缩,运行“setup.ex ...

  5. MySQL5.7.25解压版安装详细教程

    MySQL5.7.25解压版安装详细教程 安装步骤: 1.首先,你要下载MySQL解压版,下载地址:https://www.mysql.com/downloads/,图解: 2.解压安装包,根据自己的 ...

  6. (转载)Centos下Elasticsearch安装详细教程

    原文地址:http://www.cnblogs.com/sunny1009/articles/7874251.html Centos下Elasticsearch安装详细教程 1.Elasticsear ...

  7. MySql Server 5.7的下载及安装详细步骤

    1.下载安装包 1)找到官网下载地址(https://dev.mysql.com),选择downloads,找到windows

  8. linux下mysql-5.5.15安装详细步骤

    linux下mysql-5.5.15安装详细步骤 注:该文档中用到的目录路径以及一些实际的值都是作为例子来用,具体的目录路径以各自安装时的环境为准 mysql运行时需要一个启动目录.一个安装目录和一个 ...

  9. Cloudera Manager (centos)安装详细介绍

    文章全部来自:Cloudera Manager (centos)安装详细介绍http://www.aboutyun.com/thread-9190-1-1.html(出处: about云开发) 这里已 ...

  10. MySQL 5.7.20绿色版安装详细图文教程

    MySQL 5.7.20绿色版安装详细图文教程 MySQL是一个关系型数据库管理系统,由瑞典MySQL AB公司开发,目前属于Oracle旗下产品.这篇文章主要介绍了MySQL 5.7.20绿色版安装 ...

随机推荐

  1. gzip0

    但是Apache是专门为PHP所匹配的,其兼容性最好),类似于IIS.下面我们具体来说说Apache里怎么启用gzip压缩: Apache启用gzip 如果要开启gzip的话,一定要打开下面二个模块. ...

  2. web session 原理1

     原理 我们都知道,浏览器无状态的.浏览器是操作不了session的,浏览器能够做的只是传递cookie,每次都传递. 把当前主机下的,和当前请求相同域下的cookie 传递到服务器去,只要cooki ...

  3. 40. 数据泵导入导出impdp、expdp

    一.查看管理理员目录(同时查看操作系统是否存在,因为Oracle并不关心该目录是否存在,如果不存在,则出错)select * from dba_directories; 二.创建逻辑目录,该命令不会在 ...

  4. Retrofit简介与使用方法(翻译)

    简介 Retrofit 是一个Square开发的类型安全的REST安卓客户端请求库.这个库为网络认证.API请求以及用OkHttp发送网络请求提供了强大的框架.Retrofit库让从web api下载 ...

  5. 转载:基于HALCON的模板匹配方法总结

    转载链接:     http://blog.csdn.net/b108074013/article/details/37657801 很早就想总结一下前段时间学习HALCON的心得,但由于其他的事情总 ...

  6. sql server 查看对象最后修改时间

    sql server 查看对象最后修改时间,根据最后修改时间排序 存储过程 SELECT * FROM sys.all_objects WHERE  TYPE='P' ORDER BY modify_ ...

  7. CSS多行文字垂直居中的两种方法

    之前写过一篇关于:CSS左右居中对齐的文章,里面提到的两种方法其实也可以引申为垂直居中对齐.写这篇文章是因为要兼容IE6.IE7的问题,我们都知道一行文字时可以通过line-height来设置垂直居中 ...

  8. 代码直连指定ip的dubbo服务

    http://blog.csdn.net/buqutianya/article/details/69229384

  9. elasticsearch-ik

    因lucene默认采用英文且英文通过空格就可以断句.而中文则是词组,如果不加载中文词库或插件则会变为一个一个字而非词组,因此需要加载中文词库. 不加分词库所看到的中文分词效果. post _analy ...

  10. System.net.mail 使用ssl发送邮件失败

    我采用了.net 的自带组件System.Net.Mail发送邮件,主要是在客户注册网站成功的时候发条欢迎邮件,最近邮件无法发送了,看了下腾讯smtp邮件配置,所有的邮件发送都换成ssl了,之前用的是 ...