[GE users] qacct exit status

McCalla, Mac macmccalla at hess.com
Tue Mar 7 13:47:09 GMT 2006


Hi,
 
The exit_status you are looking at is set by the script or binary being
executed and is simply passed through by the sge shepherd.
For information on what action sge may take depending on the value of
the exit code, see chapter 8 of the N1GE 6 Administration
Guide.
 
HTH,
 
Mac McCalla

  _____  

From: laikwong [mailto:laikwong at comp.nus.edu.sg] 
Sent: Tuesday, March 07, 2006 3:46 AM
To: users at gridengine.sunsource.net
Subject: [GE users] qacct exit status


Hi,
 
I am using qacct -j <job_id> to get the exit status of my jobs.
 
However, the exit_status I receive is often non-zero, but as far as I am
concerned, the job I submitted has executed "correctly".
.....
.....
granted_pe   NONE                
slots        1                   
failed       0    
exit_status  80                  
.....
....
 
Is there a resource where I can lookup to determine the meanings of the
exit codes? Or is there a reason why my jobs might have a non-zero exit
status despite the fact that I think they exectued "correctly". 
 
What I really need is a clear indication from "somewhere" in SGE that
either the job has completed successfully or has failed. I am basically
only interested in these 2 outcomes SUCCESS | FAILURE, how it fails I am
not so concerned at this point in time (possibly in the near future I
might be interested to know).
 
Thanks
 
Daniel



More information about the gridengine-users mailing list