Hi all,

just a quick question regarding Slurm API.

In the following call,

(checkpoint.c)
/*
 * slurm_checkpoint_complete - note the completion of a job step's
checkpoint operation.
 * IN job_id  - job on which to perform operation
 * IN step_id - job step on which to perform operation
 * IN begin_time - time at which checkpoint began
 * IN error_code - error code, highest value for all complete calls is
preserved
 * IN error_msg - error message, preserved for highest error_code
 * RET 0 or a slurm error code
 */
extern int slurm_checkpoint_complete (uint32_t job_id, uint32_t step_id,
time_t begin_time, uint32_t error_code, char *error_msg);


what is error_code employed for? man says

"Error code for checkpoint operation. Only the highest value is preserved."

but given that it is an input parameter I don't really see the sense,
moreover given that another error code is returned by the function. Can
anyone enlighten me?

Thanks for your attention. Best regards,


Manuel




-- 
Dr. Manuel Rodríguez-Pascual
skype: manuel.rodriguez.pascual
phone: (+34) 913466173 // (+34) 679925108

CIEMAT-Moncloa
Edificio 22, desp. 1.25
Avenida Complutense, 40
28040- MADRID
SPAIN

Reply via email to