User Tools

Site Tools


howto:amber

This is an old revision of the document!


Amber job on non-GPU nodes

#!/bin/sh
#PBS -N eric.job
#PBS -l select=1:ncpus=12:mpiprocs=12
#PBS -l walltime=1:00:00
#PBS -q workq
#PBS -m abe
#PBS -o /export/home/username/amber/amber12/eric.out
#PBS -e /export/home/username/amber/amber12/eric.err
#PBS -M email@mail.com

cd $PBS_O_WORKDIR

pwd

source /etc/profile.d/modules.sh
module add intel-XE/13.0 openmpi/openmpi-1.6.5-intel amber/12

echo "My job starts here"
date

exe=sander.MPI

nproc=`cat $PBS_NODEFILE|wc -l`
time mpirun -np $nproc -machinefile $exe -O -i mdin -o mdout -p prmtop -c inpcrd
echo "My job ends here"
date
/app/dokuwiki/data/attic/howto/amber.1459329437.txt.gz · Last modified: 2021/12/09 16:42 (external edit)