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

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

ADD COMMENTlink modified 6 months ago • written 6 months 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.

Cheers!

ADD REPLYlink written 6 months ago by Ram17k
Please log in to add an answer.
The thread is closed. No new answers may be added.

Help
Access

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