IBM

lsb_runjob

Starts a batch job immediately on a set of specified host().

lsb_runjob starts a batch job immediately on a set of specified host(). The job must have been submitted and is in PEND or FINISHED status. Only the LSF administrator or the owner of the job can start the job. If the options is set to RUNJOB_OPT_NOSTOP, then the job will not be suspended by the queue's RUNWINDOW,loadStop and STOP_COND and the hosts' RUNWINDOW and loadStop conditions. By default, these conditions apply to the job as do to other normal jobs.

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

#include <lsf/lsbatch.h>

int lsb_runjob(struct runJobRequest* runJobRequest)

Parameters:
runJobRequest The job-starting request.
Data Structures:
runJobRequest
Define Statements:
runjob_option
Returns:
int:0
Function was successful.

int:-1
Function failed.

Errors:
If the function fails, lsberrno is set to indicate the error.
Equivalent line commands:
brun
Files:
${LSF_ENVDIR:-/etc}/lsf.conf
See also:
none


     
Date Modified: 16 Jul 2014

Terms of Use
Copyright © 1994-2014 International Business Machines Corp.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.