Amber16-bf3 for UV2000

Webpage

http://ambermd.org/

Version

Amber 16 bugfix 3 + AmberTools 16 bugfix 7

Tools for Compiling

  • Intel Compiler 16.0.2.181
  • SGI MPT 2.13
  • Intel MKL 2016.2.181

Necessary Files for Compiling

Procedure of Compiling

#!/bin/csh -f
umask 022
# Working directory must be installed directory to work with mpi4py.
set work="/local/apl/uv/amber16-bf3"
set build="/home/users/${USER}/build/amber16-bf3"
setenv AMBERHOME "$work"
setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${AMBERHOME}/lib"
setenv MKL_HOME ${MKLROOT}
# Installed directory must be created by builder.
if (-e $AMBERHOME/configure) then
echo "Remove $AMBERHOME to be clean."
exit 1
endif
if (! -d $AMBERHOME) then
echo "Create $AMBERHOME before build."
exit 1
endif
cd $AMBERHOME
bunzip2 -c ${build}/Amber16.tar.bz2 | tar xf -
bunzip2 -c ${build}/AmberTools16.tar.bz2 | tar xf -
mv amber16/* .
rmdir amber16
#
# Apply patches if they exist.
#
foreach i (${build}/patches/Amber16 ${build}/patches/AmberTools16)
foreach j ($i/*.? $i/*.??)
patch -p0 < $j
end
end
#
# LANG must be C to get correct a compiler version.
setenv LANG C
# Environment variable SSE_TYPES is insignificant.
echo "[CPU serial edition]"
./configure --skip-python --no-updates intel
make -j 12 install
source $AMBERHOME/amber.csh
make test
make clean
echo "[CPU parallel edition]"
setenv DO_PARALLEL "mpirun -np 4"
./configure --skip-python --no-updates -mpi intel
make -j 12 install
make test
make clean
#
cd $AMBERHOME
chmod 700 src