Visit Platform at http://www.platform.com

lsb_chkpntjob

Checkpoints a job.

Checkpoints a job.

#include <lsf/lsbatch.h>

int lsb_chkpntjob(LS_LONG_INT jobId, time_t period, int options)

Parameters:
jobId The job to be checkpointed.
period The checkpoint period in seconds. The value 0 disables periodic checkpointing.
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.
Data Structures:
none
Define Statements:
chkpnt_job_option
Returns:
int:0
The function was successful.

int:-1
The function failed.

Note:
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.
Equivalent line commands:
bchkpnt
Files:
${LSF_ENVDIR:-/etc}/lsf.conf
See also:
none


     
Date Modified: 30 Jan 2011
Platform Support: support@platform.com
Platform Information Development: doc@platform.com

Platform Computing. Accelerating Intelligence(TM).
Copyright © 1994-2011 Platform Computing Corporation. All rights reserved.