IBM

lsb_submitPack

Submits multiple jobs via pack method in the batch system

#include <lsf/lsbatch.h>

int lsb_submitPack (struct packSubmit *packSub, struct packSubmitReply *packSubmitReply, int *acceptedNum, int *rejectedNum)

Parameters:
*packSub Describes the requirements for job submissions to the batch system. Those jobs that do not meet these requirements are not submitted to the batch system. The caller needs to allocate the memory and release after usage.
*packSubmitReply Describes the results of the job submissions in one pack to the batch system.
*acceptedNum Describes the amount of accepted job requests in one pack. Or if environment variable BSUB_CHK_RESREQ is set, it is the amount of job requests containing valid resreq.
*rejectedNum Describes the amount of rejected job requests in one pack. Or if environment variable BSUB_CHK_RESREQ is set, it is the amount of job requests containning invalid resreq.
Data Structures:
packSubmit
packSubmitReply
Returns:
int:1
All job requests are accepted by MBD and jobs are created.

int:-1
There are invalid job requests or errors occur.

Equivalent line commands:
bsub
Files:
${LSF_ENVDIR:-/etc}/lsf.conf


     
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.