[torqueusers] command line parameters
garrick at clusterresources.com
Thu Oct 19 09:06:05 MDT 2006
On Thu, Oct 19, 2006 at 02:21:31PM +0100, Remo Sanges alleged:
> Hi all,
> is it possible to send command line parameters
> to the shell script while launching it using qsub?
> I mean something like this:
> qsub script.sh param1 param2 param3
> In the past I have been using this kind of syntax
> with SGE but actually it seems not to be possible
> in TORQUE.
> Am I right or am I loosing something?
> Is possible to solve this issue without writing
> as many shell scripts as the number of the jobs?
Arguments aren't in the Batch Services specification, but you can easily
get the same thing with env vars:
qsub -v param1=val,param2=val,... script.sh
More information about the torqueusers