-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmdapi.bash
More file actions
executable file
·29 lines (22 loc) · 912 Bytes
/
mdapi.bash
File metadata and controls
executable file
·29 lines (22 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
#SBATCH --job-name=mdapi # Job name
#SBATch --nodes=1 # single node
#SBATCH --ntasks=1 # single task
#SBATCH --cpus-per-task=8 # multi-threaded
#SBATCH --distribution=cyclic:block # thread distribution
#SBATCH --mem=200MB # memory
#SBATCH --time=36:00:00 # time limit hrs:min:sec
#SBATCH --output=mdapi.out # standard output log
#SBATCH --error=mdapi.err # standard error log
#SBATCH --qos=bryankol-b # queue
#SBATCH --partition=hpg2-compute # make sure only intel processors used
date
module load intel/2018 gromacs/2019.2 pdb2pqr
export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
prot=$1
mdapi.py --threads=$OMP_NUM_THREADS setup ${prot}
mdapi.py --threads=$OMP_NUM_THREADS run ${prot}
mdapi.py --threads=$OMP_NUM_THREADS analyze ${prot}
date
echo "done."
exit 0