[GE users] Arithemtical operations in Submit Scripts

ppetosy ppetrosy at loni.ucla.edu
Tue Apr 20 23:59:08 BST 2010


I am trying to submit array jobs and I need to have 0 based Output Stream paths. 

Let's say this is my script

#$ -q short.q
#$ -t 1-5
#$ -o /usr/local/tmp/$TASK_ID.tmp

How can I change the 4th line of this script to something like this 
#$ -o /usr/local/tmp/($TASK_ID-1).tmp

Are arithmetical expressions supported by SGE ? 



To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].

More information about the gridengine-users mailing list