Professional Documents
Culture Documents
Parallel Jobs, Job Arrays, and the use of the developmental queue
Note on Parallel Jobs
Running parallel jobs on a cluster is especially
advantageous because they are intended to be
split into many processes which can be
executed simultaneously.
#!/bin/bash
/programs/program -i /data/input
#!/bin/bash
#$ -t 1-100
/programs/program -i /data/input.$SGE_TASK_ID -o /results/output.$SGE_TASK_ID
The '-t 1-100' specifies that this script will create 100
jobs, where each job is “numbered” 1 to 100. Each job will
replace '$SGE_TASK_ID' with it's “number”.
Deleting Job Arrays
All of the jobs in the array are grouped under a
single job ID. Using this command will kill all of
the jobs in that array: