[GE users] Scripting help

Reuti reuti at staff.uni-marburg.de
Mon Apr 11 14:43:46 BST 2005


It's $1, $2 ... in the script and $* for all parameters. Details you 
find in "man csh". - Reuti

Schmitz Dale M Contr 20 IS/INPTG wrote:
> Either way I go with that, with or without the "--", the trick seems to
> be getting the parameters identified in the vqcib.csh script.  Within
> vqcib.csh, what variable identifies the parameters and what's the syntax
> for using that variable?
> 
> Dale
> 
> -----Original Message-----
> From: Reuti [mailto:reuti at staff.uni-marburg.de] 
> Sent: Monday, April 11, 2005 8:29 AM
> To: users at gridengine.sunsource.net
> Subject: Re: [GE users] Scripting help
> 
> Hi,
> 
> what do you mean in detail: your submit script is submitting:
> 
> qsub vqcib.csh $*
> 
> and you need
> 
> qsub vqcib.csh -- $*
> 
> 
> Depending on the parmeters, the -- is not always necessary as I found.
> 
> CU - Reuti
> 
> 
> Schmitz Dale M Contr 20 IS/INPTG wrote:
> 
>>I can't seem to find (or maybe interpret) the info I need to send 
>>command line parameters to a script that I'm qsub'ing.  I read from
> 
> the 
> 
>>qsub man page that I should be able to:
>>
>> 
>>
>>qsub <scriptfile> -- <options>
>>
>> 
>>
>>However, I don't quite understand how to receive the options in the 
>><scriptfile> so that they can be passed along to the executable.
>>
>> 
>>
>>As it stands, I have a process that submits a job thusly:
>>
>> 
>>
>>vqcib.csh $*
>>
>> 
>>
>>...in a tcsh environment.  "vqcib" is a script that executes
> 
> "vqcib.exe 
> 
>>$*".  My question is how can I rewrite vqcib.csh to allow me to qsub
> 
> it 
> 
>>and pass the parameters ($*) along to the executable.  I don't see any
> 
> 
>>method in the qsub man page or the Administration and Users's Guide
> 
> for 
> 
>>using the #$ script prefix for doing this.
>>
>> 
>>
>>Thanks
>>
>>Dale
>>
>> 
>>
>> 
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list