Amber¶
How to use on Dardel¶
In order to use Amber24, you need to
To check for other available versions of Amber, you can use
This will append the directory containing all Amber executables to your PATH
variable, and set various library paths.
Many of the Amber subprograms come in serial, parallel and other versions,
including:
* sander, sander.MPI, sander.LES, sander.LES.MPI
* pmemd, pmemd.MPI
* cpptraj, cpptraj.MPI
* MMPBSA.py, MMPBSA.py.MPI
Here is an example batch script for a parallel execution of pmemd.MPI:¶
#!/bin/bash -l
# Name of you allocation
#SBATCH -A XXXX-XX-XX
# Name of the job
#SBATCH -J myjob
# Partition
#SBATCH -p main
# Maximum wallclock time of job
#SBATCH -t 02:00:00
# Total number of nodes
#SBATCH --nodes=2
# Number of MPI processes per node
#SBATCH --ntasks-per-node=16
module load PDC/26.03
module load amber/24-cpeGNU-26.03-ambertools-24
# we run on two nodes with 16 cores per node
srun pmemd.MPI -O -i input.in -o output.out -p prm.prmtop -c coords.rst -r restart.rst -x traj.mdcrd
Here is an example batch script for a parallel execution of pmemd on GPU:¶
#!/bin/bash -l
# Name of you allocation
#SBATCH -A XXXX-XX-XX
# Name of the job
#SBATCH -J myjob
# Partition
#SBATCH -p gpu
# Maximum wallclock time of job
#SBATCH -t 02:00:00
# Total number of nodes
#SBATCH --nodes=1
# Number of GPUs
#SBATCH --gpus=1
module load PDC/26.03
module load amber/24-cpeGNU-26.03-ambertools-24-amdgpu
srun pmemd.hpi.MPI -O -i input.in -o output.out -p prm.prmtop -c coords.rst -r restart.rst -x traj.mdcrd
Source repository