AMBER¶
AMBER is the collective name for a suite of programs that allow users to carry out molecular dynamics simulations, particularly on bio molecules.
AMBER is available as a module on Apocrita.
Usage¶
To run the default installed version of AMBER, simply load the amber
module:
$ module load amber
$ pmemd --help
usage: pmemd [-O] -i mdin -o mdout -p prmtop -c inpcrd -r restrt
[-ref refc -x mdcrd -v mdvel -frc mdfrc
-e mden -inf mdinfo -l logfile]
[-amd amdlog_name -gamd gamdlog_name -scaledMD scaledMDlog_name
-suffix output_files_suffix]
or for using AMBER with parallel support use:
Parallel support
The below command will only run on parallel nodes.
$ module load amber
$ mpirun -np ${NSLOTS} pmemd.MPI --help
usage: pmemd [-O] -i mdin -o mdout -p prmtop -c inpcrd -r restrt
[-ref refc -x mdcrd -v mdvel -frc mdfrc
-e mden -inf mdinfo -l logfile]
[-ng numgroups -groupfile groupfile -rem remd_method]
[-amd amdlog_name -gamd gamdlog_name -scaledMD scaledMDlog_name
-suffix output_files_suffix]
Example jobs¶
Serial job¶
Here is an example job running on 1 core and 1GB of memory:
#!/bin/bash
#$ -cwd
#$ -j y
#$ -pe smp 1
#$ -l h_rt=1:0:0
#$ -l h_vmem=1G
module load amber
pmemd -O \
-i min_wat.in \
-o output_min_wat.out \
-p bpti-ff99SBi.prmtop \
-c bpti-ff99SBi.inpcrd \
-r output_min_wat.rst \
-ref bpti-ff99SBi.inpcrd
Parallel job¶
Here is an example job running on 96 cores across 2 ddy nodes using MPI:
#!/bin/bash
#$ -cwd
#$ -j y
#$ -pe parallel 96
#$ -l infiniband=ddy-i
#$ -l h_rt=240:0:0
module load amber
mpirun -np ${NSLOTS} pmemd.MPI -O \
-i min_wat.in \
-o output_min_wat.out \
-p bpti-ff99SBi.prmtop \
-c bpti-ff99SBi.inpcrd \
-r output_min_wat.rst \
-ref bpti-ff99SBi.inpcrd