[GE users] Arithemtical operations in Submit Scripts

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


Hi

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

Let's say this is my script

#!/bin/sh
#$ -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 ? 

Thanks,
Petros.

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=254243

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



More information about the gridengine-users mailing list