-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsubmit_array.sbatch
More file actions
24 lines (20 loc) · 857 Bytes
/
Copy pathsubmit_array.sbatch
File metadata and controls
24 lines (20 loc) · 857 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
#!/bin/bash
#SBATCH --array=1-100
#SBATCH --job-name=treepl #A name for your job
#SBATCH --output=rax%A_%a.out #Name output file
#SBATCH --mail-type=ALL #What emails you want
#SBATCH --mail-user=### #Where
#SBATCH --ntasks=1
#SBATCH --nodes=1
#SBATCH --cpus-per-task=8 #Request a single processor
#SBATCH --mem-per-cpu=500mb #Per processor memory request
#SBATCH --time=10:00:00 #Walltime in hh:mm:ss or d-hh:mm:ss
#SBATCH --account=###
#SBATCH --qos=###
module load treepl
module load python3
python run_treepl.py 100_trees ${SLURM_ARRAY_TASK_ID} step1_output
python run_treepl2.py 100_trees ${SLURM_ARRAY_TASK_ID} step2.1_output
python run_treepl2.py 100_trees ${SLURM_ARRAY_TASK_ID} step2.2_output
python run_treepl2.py 100_trees ${SLURM_ARRAY_TASK_ID} step2.3_output
python run_treepl3.py 100_trees ${SLURM_ARRAY_TASK_ID} step3_output