-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.sbatch
More file actions
25 lines (18 loc) · 976 Bytes
/
script.sbatch
File metadata and controls
25 lines (18 loc) · 976 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
#!/bin/bash
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=1
#SBATCH --time=48:00:00
#SBATCH --partition=cpu_short
#SBATCH --mem=8GB
#SBATCH --job-name=EMOD_tutorial
#SBATCH --mail-type=END
#SBATCH --chdir=/gpfs/data/bershteynlab/EMOD/<YOUR KID>/tutorial/
#SBATCH --mail-user=<YOUR EMAIL>
#SBATCH --output=/gpfs/data/bershteynlab/EMOD/<YOUR KID>/tutorial/slurm_%j.out
# This line is used when optimizing
# python optim_script.py
# This line is used when there are provided tables of parameters
python run_scenarios.py -c optim_script.py --resample-method provided --samples resampled_parameter_sets_short.csv --output-dir sim_output --suite-name sim_output --table scenarios.csv
# This line is used when instead you want to sample from the distribution of parameters
#python run_scenarios.py -c optim_script.py --resample-method roulette --nsamples 250 --output-dir sim_output --suite-name sim_output --table scenarios.csv --calib-dir <CALIB_DIR>