[torqueusers] how to get exit status
Dave Jackson
jacksond at clusterresources.com
Fri Jan 20 11:45:13 MST 2006
Alexander,
TORQUE supports a 'keep_completed attribute which causes TORQUE to
maintain information regarding recently completed jobs and allows this
info to be viewed via qstat. The syntax for enabling this is
set queue <QUEUENAME> keep_completed = <SECONDS>
ie,
-------
> qmgr
set queue batch keep_completed = 300
-------
For this feature, I would recommend you be running TORQUE 2.0.0 p5 or
p6. I believe the completed job info would also be available via the
perl-PBS API.
Dave
On Fri, 2006-01-20 at 10:33 -0800, Alexander Saydakov wrote:
> Hi!
>
>
>
> What is the best way to get the exit status of a job either on command
> line or through perl-PBS?
>
>
>
> I would like to submit jobs from an application, wait for them to
> finish and check the exit status. The only way I see now is to parse
> the output of tracejob, which is ugly and takes access to log files.
>
>
>
> Thank you.
>
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
More information about the torqueusers
mailing list