[torqueusers] job submission

Garrick Staples garrick at usc.edu
Thu Oct 5 10:38:30 MDT 2006

Please remember to use plain text on public email lists, thanks.

On Thu, Oct 05, 2006 at 09:26:48AM -0400, Krolyn K alleged:
> Hi all,
> <br>
> <br>
> <br>I've recently installed TORQUE on a Linux Fedora Core5 cluster. I've managed to submit some jobs (in this case perl scripts) with: 'qsub script.pl' but if I use the normal command ('qsub perl script.pl') the job is deleted (with qstat status column = E).
> <br>
> <br>It also fails if I use any comand line argument: 'qsub script.pl file1.txt'
> <br>'usage: qsub [-a date_time] [-A account_string] [-b secs]
> <br>[-c { c[=<INTERVAL>] | s | n }] [-C directive_prefix] [-d path] [-D path]
> <br>[-e path] [-h] [-I] [-j oe] [-k {oe}] [-l resource_list] [-m {abe}]
> <br>[-M user_list] [-N jobname] [-o path] [-p priority] [-q queue] [-r y|n]
> <br>[-S path] [-u user_list] [-X] [-W otherattributes=value...] [-v variable_list]
> <br>[-V ] [-z] [script]'

Batch scripts don't take arguments.

Status E is exiting, so that just means the job is done.

> <br>Another thing that I've been looking for is the possibility of submiting multiple serial jobs. I tried to used one script file with several executions but it is submitted as a single job. Is there a way to get them all submitted independently? And with arguments?

Use env variables.  For example:

for a in $(seq 1 100);do
  qsub -v BATCHARG=$a script.pbs

Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20061005/b9f52bca/attachment.bin

More information about the torqueusers mailing list