Job submission script
#!/bin/bash
# Specify the name for your job, this is the job name by which Slurm will refer to your job
# This can be different from the name of your executable or the name of your script file
#SBATCH --job-name arrayJob
#SBATCH -p all-HiPri # partition (queue)
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --mem=2048 # Total memory need for your job
# time needed to complete your job , note your job will preempt if it exceeds the time specified here
#SBATCH -t 0-05:00
#SBATCH --array=1-12:1%4
# Default is to combine output and error into a single file. Next 2 options change that behavior
## Replace UserID with your Argo userID
#SBATCH -o /scratch/%u/%x-%A-%a.out # Output file
#SBATCH -e /scratch/%u/%x-%A-%a.err # Error file
#SBATCH --mail-type=ALL
#SBATCH --mail-user=UserID@gmu.edu # send-to address
## Load the relevant modules needed for the job
module load python/3.6.4
## Start the job. (Uncomment one of the following commands)
#python3 python_example.py
#./cpp_example
#java -cp . Java_Array_Job