[torqueusers] Negative (-2) Exit_status
Chris Samuel
csamuel at vpac.org
Wed Dec 27 21:10:16 MST 2006
On Wednesday 27 December 2006 22:38, Alberto Simões wrote:
> In fact that was my conclusion as well. I tried to run a program that
> returns -2
>
> int main(void) { return -2; }
>
> as a PBS job, but as processes in Unix return an unsigned char, I get
> 254... not -2 as an exit_status.
>
> Thus, I still do not understand that -2
Aha! It's an internal PBS error code in the pbs_mom called JOB_EXEC_FAIL2
(-2) and it would log an error that says:
job exec failure, after files staged, no retry
So I reckon you need to go and hassle your cluster admin about why your job is
failing. Looking in src/resmom/start_exec.c it can be anything from the
prolog script failing through not enough resources through not being able to
find your home directory, etc..
Good luck!
Chris
--
Christopher Samuel - (03)9925 4751 - VPAC Deputy Systems Manager
Victorian Partnership for Advanced Computing http://www.vpac.org/
Bldg 91, 110 Victoria Street, Carlton South, VIC 3053, Australia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20061228/6508d345/attachment.bin
More information about the torqueusers
mailing list