-
Notifications
You must be signed in to change notification settings - Fork 0
/
runBYM2All.sbatch
12 lines (12 loc) · 847 Bytes
/
runBYM2All.sbatch
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
#SBATCH --job-name runBYM2 # 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=30000 # Memory limit for each tasks (in MB)
#SBATCH -o runBYM2_%A_%a.out # File to which STDOUT will be written
#SBATCH -e runBYM2_%A_%a.err # File to which STDERR will be written
#SBATCH --mail-type=ALL # Type of email notification- BEGIN,END,FAIL,ALL
#SBATCH [email protected] # Email to which notifications will be sent
module load R
Rscript --verbose runBYM2All.R ${SLURM_ARRAY_TASK_ID} > runBYM2All_${SLURM_ARRAY_JOB_ID}_${SLURM_ARRAY_TASK_ID}.Rout