-
Notifications
You must be signed in to change notification settings - Fork 0
/
runDirectAllNew.sbatch
12 lines (12 loc) · 877 Bytes
/
runDirectAllNew.sbatch
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
#SBATCH --job-name runDirectNew # Set a name for your job. This is especially useful if you have multiple jobs queued.
#SBATCH --partition medium # Slurm partition to use
#SBATCH --ntasks 1 # Number of tasks to run. By default, one CPU core will be allocated per task
#SBATCH --time 2-00:00 # Wall time limit in D-HH:MM
#SBATCH --mem-per-cpu=20000 # Memory limit for each tasks (in MB)
#SBATCH -o runDirectNew_%A_%a.out # File to which STDOUT will be written
#SBATCH -e runDirectNew_%A_%a.err # File to which STDERR will be written
#SBATCH --mail-type=ALL # Type of email notification- BEGIN,END,FAIL,ALL
#SBATCH --mail-user=paigejo@uw.edu # Email to which notifications will be sent
module load R
Rscript --verbose runDirectAllNew.R ${SLURM_ARRAY_TASK_ID} > runDirectAllNew_${SLURM_ARRAY_JOB_ID}_${SLURM_ARRAY_TASK_ID}.Rout