Off topic:Qsub + job array + while read; do; done
0
0
Entering edit mode
6.1 years ago
emmanouil.a ▴ 120

Hi!

just some help...

I'm using a "Sun Grid Engine" with "qsub"

In one hand I have this code

while read -r H; do echo ${H}; done < list

The number of the lines in the list file is 100.

On the other hand I want to create a job array with the option -t

echo "echo $H" | qsub -N loop -t 1-100

How can I merge the two codes? In the way to create a job array (1-100) where each job read one line from the list file...?

Many thanks

SGE qsub job-array • 696 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 1619 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6