[torqueusers] Can I submit multiple jobs using a single script file?

Ken Nielson knielson at adaptivecomputing.com
Tue Oct 5 08:51:23 MDT 2010

On 10/05/2010 03:16 AM, 정지욱 wrote:
> Hi,
> I made up linux cluster using torque 2.4.8.
> I need to submit many jobs at the same time.
> But, using qsub, I can make only one job for each 1 script file.
> I want to distribute many jobs to many nodes at a time using only one 
> script file.
> Is it possible to submit mutiple jobs using a single script file?
> Using background job(&), It's too heavy to run at a single node...
> It's very inconvenient to make script files for each command line.
> How can I submit multiple jobs using a single script file?
> example : batch.sh
> ------------------------------------------------------
> #!/bin/bash
> #PBS -l nodes=1:ppn=1
> cmd option1
> cmd option2
> cmd option3
> -------------------------------------------------------
> cmd is executable filename. option# is a parameter
> Can I run three jobs at different nodes using 1 script file?
> Thank you.
You may want to submit your script using pbsdsh.

Let me know if you need to know how to use it.


More information about the torqueusers mailing list