Question: (Closed) Qsub + job array + while read; do; done
gravatar for emmanouil.a
10 days ago by
emmanouil.a10 wrote:


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

ADD COMMENTlink modified 10 days ago • written 10 days ago by emmanouil.a10

Hello emmanouil.a!

We believe that this post does not fit the main topic of this site.

Not really bioinformatics, please ask/search StackOverflow

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.


ADD REPLYlink written 10 days ago by Ram13k
Please log in to add an answer.
The thread is closed. No new answers may be added.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 989 users visited in the last hour