Hello
I give a try to this script : It works but it is a kind of unstable.
From time to time job are getting stuck in the queue although they are
finished.
This only happend when I submit job through fsl_sub.
Does someone has experience with torque ? may be there is an other
version of fsl_sub?
PS I use torque 2.5.8 on a centos6.
In order to make it work I had to change :
elif [ $TORQUEDEPENDANCYMODE = "w" ] ; then
torque_hold=" -W depend=afterok:$jid2"
by
elif [ $TORQUEDEPENDANCYMODE = "w" ] ; then
if `echo ${jid2} | grep "\[" 1>/dev/null 2>&1`
then
torque_hold=" -W depend=afterokarray:$jid2"
else
torque_hold=" -W depend=afterok:$jid2"
fi
I also had to remove the -d . option in the torque_command (I do not
know why ...)
Many thanks
Romain
Le 07/07/2012 02:09, Chuck Theobald a écrit :
> Here is a version of fsl_sub that works with torque 2.5.7 on RHEL 6. This is a modification of the fsl_sub script given a couple of years ago by Matt Glasser.
>
> The main points are that qsub does not handle depend= as a resource option (-l), -W does not like non-numeric arguments (e.g. featModelID - is feat_model not sent to the grid?) to its depend= specification, and the -W depend= arguments are colon-separated jobids.
>
> FYI,
> Chuck
>
|