Ambertools15安装(详细)
这篇博文专门讲述 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安装(详细)的更多相关文章
- linux/centos下安装nginx(rpm安装和源码安装)详细步骤
Centos下安装nginx rpm包 ...
- 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 ...
- VMware Tools (ubuntu系统)安装详细过程与使用
前一段时间博主在VMware虚拟机上安装了Ubuntu系统,如果还没有安装的同学可以参考博主上一篇文章:VMware Ubuntu安装详细过程. 猿友们都知道linux不太好用,如果你想将你主机Win ...
- MySQL安装详细图解整理
MySQL安装详细图解 2018-08-19 08:32:33 一.MYSQL的安装 1.打开下载的mysql安装文件mysql-5.0.27-win64.zip,双击解压缩,运行“setup.ex ...
- MySQL5.7.25解压版安装详细教程
MySQL5.7.25解压版安装详细教程 安装步骤: 1.首先,你要下载MySQL解压版,下载地址:https://www.mysql.com/downloads/,图解: 2.解压安装包,根据自己的 ...
- (转载)Centos下Elasticsearch安装详细教程
原文地址:http://www.cnblogs.com/sunny1009/articles/7874251.html Centos下Elasticsearch安装详细教程 1.Elasticsear ...
- MySql Server 5.7的下载及安装详细步骤
1.下载安装包 1)找到官网下载地址(https://dev.mysql.com),选择downloads,找到windows
- linux下mysql-5.5.15安装详细步骤
linux下mysql-5.5.15安装详细步骤 注:该文档中用到的目录路径以及一些实际的值都是作为例子来用,具体的目录路径以各自安装时的环境为准 mysql运行时需要一个启动目录.一个安装目录和一个 ...
- Cloudera Manager (centos)安装详细介绍
文章全部来自:Cloudera Manager (centos)安装详细介绍http://www.aboutyun.com/thread-9190-1-1.html(出处: about云开发) 这里已 ...
- MySQL 5.7.20绿色版安装详细图文教程
MySQL 5.7.20绿色版安装详细图文教程 MySQL是一个关系型数据库管理系统,由瑞典MySQL AB公司开发,目前属于Oracle旗下产品.这篇文章主要介绍了MySQL 5.7.20绿色版安装 ...
随机推荐
- Mybatis六(SSM框架)
SSM三大框架整合详细教程(SPRING+SPRINGMVC+MYBATIS) 使用 SSM ( Spring . SpringMVC 和 Mybatis )已经有三个多月了,项目在技术上已经没有什么 ...
- nginx 服务器常见配置以及负载均衡
# 配置启动用户,用户权限不够会出现访问 403 的情况 user root; # 启动多少个工作进程 worker_processes 1; # 错误日志文件进程文件的保存地址 error_log ...
- jmap dump文件压缩后失效
最近线上出问题,于是用jmap -dump拿到dump文件,再linux压缩后拿到windows下无效,后来又直接拿了一个没有压缩的竟然可以用...坑啊!~
- 利用STM32CubeMX生成HID双向通讯工程
使用开发板为正点原子ministm32 现在我们先使用HID descriptor Tool来生成我们需要的hid的 保存使用选择.H // D:\usb资料\HID\MSDEV\Projects\t ...
- Oracle事务隔离级别
转自:https://blog.csdn.net/leozhou13/article/details/50449965
- golang 操作redis 错误:failed redigo: unexpected type for String, got type int64
报错的代码: isExist,err := redis.String(conn.Do("EXISTS", key)) 这个操作返回的应该是bool类型,所有改成 isExist,e ...
- sql server导入excel数据
1.sql导入工具,数据源选择 microsoft excel 2.有odbc配置过的连接excel或其他数据库,都可以选择netframwork data provider for odbc,在ds ...
- 彻底关闭Windows Defender丨Win10
关闭Windows Defender Win10正式版怎么关闭windows defender 首先关闭windows defender,因重启电脑后win10 会自动重启defender,所以需要禁 ...
- 快速掌握和使用Flyway
什么是Flyway? 转载:https://blog.waterstrong.me/flyway-in-practice/ Flyway is an open-source database migr ...
- Spring和SpringMVC的常用注解
Spring的部分: 使用注解之前要开启自动扫描功能 其中base-package为需要扫描的包(含子包). <context:component-scan base-package=" ...