a06e
a06e

Reputation: 20774

qsub job array, where each job uses a single process?

I have a job script with the following PBS specifications at the beginning:

#PBS -t 0-99
#PBS -l nodes=1:ppn=1

The first line says that this is a job array, with jobs indexed from 0 to 99. I want each individual indexed job to use only a single node and a single core per node, hence my second PBS line. But I am worried that TORQUE qsub will interpret the second line as saying that the whole job array should run sequentially on a single core.

How does TORQUE qsub interpret the PBS second line?

Upvotes: 1

Views: 539

Answers (1)

dbeer
dbeer

Reputation: 7203

It interprets it as 100 jobs that should each use 1 execution slot on one node. For more information, please look at the qsub documentation and look for the details on the -t switch.

Upvotes: 1

Related Questions