[torqueusers] qsub problem

Garrick Staples garrick at usc.edu
Mon Oct 24 12:02:23 MDT 2005

On Mon, Oct 24, 2005 at 10:53:31AM +0200, Angelino Matteo alleged:
> My question is : is possible to write only one script like the  
> following ?
> programX.sh:
> #!/bin/bash
> program $1

You can't pass extra arguments through qsub, but you can pass env

program $PBSARG1

for a in `seq 1 100`;do
   env PBSARG1=$a qsub program.sh -v PBSARG1

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/20051024/d6fe0a69/attachment.bin

More information about the torqueusers mailing list