-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_FBP_openmm.sh
32 lines (26 loc) · 907 Bytes
/
run_FBP_openmm.sh
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
30
31
32
#!/bin/bash
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --time=24:00:00
#SBATCH --partition=blanca-shirts
#SBATCH --qos=blanca-shirts
#SBATCH --account=blanca-shirts
#SBATCH --gres=gpu
#SBATCH --job-name=FBP_1m_r1
#SBATCH --output=slurm_codes/FBP_1m_r1.%j.log
module purge
module avail
ml anaconda
conda activate polymerist-env
# CASE DETAILS (need to edit each time)
export RESTRAINT=FBP
export CONCENTRATION=1m
export POSTFIX=r1
export FORCEK=4184.0
#shouldn't need to change
export CASE=${RESTRAINT}_${CONCENTRATION}
export PDB_INFILE=${CONCENTRATION}_${POSTFIX}.pdb
python build_sim_params.py
python osmotic_sim_dispatch.py -n ${CASE} -p ${POSTFIX} -pdb ./structures/$PDB_INFILE -omm ${CASE}_${POSTFIX}_sims -spp sim_param_sets/equil_sim.json sim_param_sets/prod_sim.json -r ${RESTRAINT} -k ${FORCEK} -du nanometer
echo "$CASE $POSTFIX run"
sacct --format=jobid,jobname,cputime,elapsed