Knowledge Center         Contents    Previous  Next    
Platform Computing Corp.

lsb_chkpntjob()

Checkpoints a job.

DESCRIPTION

Checkpoints a job.

SYNOPSIS

#include <lsf/lsbatch.h> 
int lsb_chkpntjob(jobId, period, options) 

PARAMETERS

LS_LONG_INT jobId

The job to be checkpointed.

time_t period;

The checkpoint period in seconds. The value 0 disables periodic checkpointing.

int options;

The bitwise inclusive OR of some of the following:

LSB_CHKPNT_KILL

Checkpoint and kill the job as an atomic action.

LSB_CHKPNT_FORCE

Checkpoint the job even if non-checkpointable conditions exist.

RETURN VALUES

integer:0

The function was successful.

integer:-1

The function failed.

NOTES

Any program using this API must be setuid to root if LSF_AUTH is not defined in the lsf.conf file.

ERRORS

On failure, lsberrno is set to indicate the error.

SEE ALSO

Related APIs:

none

Equivalent line command

bchkpnt

Files

${LSF_ENVDIR-/etc}/lsf.conf


Platform Computing Inc.
www.platform.com
Knowledge Center         Contents    Previous  Next