Updates and Results
Talks and Posters
Advice
Ideas
Important Figures
Write-Ups
Outreach
How-To
Funding Opportunities
GENETIS
Place to document instructions for how to do things
Draft saved at 00:00:00
Fields marked with
*
are required
Entry time:
Tue Feb 3 10:54:08 2026
Author
*
:
Subject:
Project:
- please select -
Hardware
Software
Analysis
Other
<p>PBS has the option of having arrays of jobs in case you want to easily submit multiple similar jobs. The only difference in them is the array index, which you can use in your PBS script to run each task with a different set of input arguments, or any other operation that requires a unique index.</p> <p>You need to add the following lines to your submitter file:</p> <div> <div lang="C#"> <div lang="C++"> <div lang="C#" style="background:#eee;border:1px solid #ccc;padding:5px 10px;"> <pre> #PBS -t array_min-array_max%increment </pre> </div> </div> </div> </div> <div> <p>where "array_min/array_max" are integers that set lower and upper limit, respectively, of your "job loop" and increment lets you set the number of jobs that you want to submit simultaneously. For example:</p> <div lang="C++" style="background:#eee;border:1px solid #ccc;padding:5px 10px;"> <pre> #PBS -t 1-100%5 </pre> </div> <p>submits an array with 100 jobs in it, but the system will only ever have 5 running at one time.</p> <p><a href="https://github.com/toej93/ARA_analysis/blob/master/pbs_scripts/script_rayleigh_array.sh">Here's</a> an example of a script that submits to Pitzer a job array (from 2011-3000 in batches of 40) of a script named "make_fits_noise" that uses one core only. Make sure you use "#PBS -m n", otherwise you'll get tons of emails notyfing you about your jobs.</p> <p>To delete the whole array, use "qdel JOB_ID[ ]". To delete one single instance, use "qdel JOB_ID[ARRAY_ID]".</p> <p>More info: <a href="https://arc-ts.umich.edu/software/torque/job-arrays/">https://arc-ts.umich.edu/software/torque/job-arrays/</a></p> <p> </p> </div>
Encoding
:
HTML
ELCode
plain
Suppress Email notification
Attachment 1:
Drop attachments here...
Draft saved at 00:00:00
ELOG V3.1.5-fc6679b