Skip to content
Snippets Groups Projects
noddi_array_seq.job 679 B
Newer Older
wsmonroe's avatar
wsmonroe committed
#!/bin/bash
#SBATCH --array=51-75
#SBATCH --partition=long
#
# Name your job to make it easier for you to track
#
#SBATCH --job-name=test_job_%A_%a
#
# Set your error and output files
#
#SBATCH --error=test_job_%A_%a.err
#SBATCH --output=test_job_%A_%a.out
#SBATCH --ntasks=1
#
# Tell the scheduler only need 10 minutes
#
#SBATCH --time=48:00:00
#SBATCH --mem-per-cpu=2666
#SBATCH --cpus-per-task=24
#
# Set your email address and request notification when you job is complete or if it fails
#
#SBATCH --mail-type=FAIL
#SBATCH --mail-user=wsmonroe@uab.edu

module load rc/matlab/R2018a
srun matlab -r "PPMI_NODDI($SLURM_ARRAY_TASK_ID)" >> test$SLURM_ARRAY_TASK_ID 
srun sleep 30