I am trying to send a torque job that depends on the completion of the array.
FIRST=`qsub -q hep -t 1-5 foo.sh`
qsub -q hep -W depend=afterok:$FIRST bar.sh
The FIRST job array sends and exits just fine, but the second line of job.sh just hangs on forever.
If I remove the array parameter from the first argument, the second task will be executed as planned, but this will not solve the problem.
There was a similar stream from 3 years ago, but it seems that there was no actual resolution:
How to wait for the completion of the array of torque tasks
Thank you for your help.
source
share