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)
Data Structures: Define Statements:
- Parameters:
runJobRequest The job-starting request. Errors:
- Returns:
- int:0
Function was successful.int:-1
Function failed.Equivalent line commands:
- If the function fails, lsberrno is set to indicate the error.
Files:
- brun
- ${LSF_ENVDIR:-/etc}/lsf.conf
- See also:
- none
Date Modified: 28 Jun 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.