[torqueusers] job dependent upon array stuck in UserHold state

Andrus, Brian Contractor bdandrus at nps.edu
Wed Oct 5 13:05:21 MDT 2011


We are trying to run a job after an array job completes successfully.

jid=$(echo 'echo $PBS_ARRAYID;sleep 60'|qsub -l walltime=00:01:00 -l procs=2 -t 0-10);echo 'hostname'|qsub -l walltime=00:01:00 -l procs=2 -W depend=afterokarray:$jid[]

The array job completes, but the dependent job ends up in a 'UserHold' state.
Shouldn't the dependent job move from the UserHold state to no hold and eligible once the array jobs complete??

Brian Andrus
ITACS/Research Computing
Naval Postgraduate School
Monterey, California
voice: 831-656-6238

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20111005/587d2787/attachment.html 

More information about the torqueusers mailing list