[GE users] Upper bound for array jobs?

Reuti reuti at staff.uni-marburg.de
Fri Aug 27 20:47:19 BST 2004

    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Hi Bernard,

>Finally mqsub executes the qsub command:
>qsub -t 1-100 test_array.sh

although your job should work this way, it's not necessary to create all the 
individual job scripts for each task (which will result in 26,000 scripts in 

If the scripts runtest1.sh...runtest100.sh can't be made unique (and decide 
with a given parameter what to do), I would suggest first to avoid the creation 
of the all the job script files. I think you could skip the "mqsub" step, if 
you adjust the test_array.sh script like:


exec `awk ' (NR==myline) { print $0 } ' myline=$SGE_TASK_ID 

This will handle all lines in the test.batch according to the given line number 
and execute one script file. Can you use this in your environment? (Ignore the 
line break, it's just one long line).

Greetings - Reuti

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