Knowledge Center         Contents    Previous  Next    
Platform Computing Corp.

lsb_jsdl2submit()

Accepts a JSDL job submission file as input and converts the file for use with LSF.

DESCRIPTION

lsb_jsdl2submit() converts parameters specified in the JSDL file and merges them with the other command line and job script options. The merged submit request is then sent to mbatchd for processing.

Code must link to LSF_LIBDIR/libbat.jsdl.lib

SYNOPSIS

extern int lsb_jsdl2submit(struct submit* req, char *template); 

PARAMETERS

submit* req

Reads the specified JSDL options and maps them to the submitReq structure. Code must specify either jsdl or jsdl_strict.

*template

The default template, which contains all of the bsub submission options.

RETURN VALUES

0

Function completed successfully.

-1

Function failed.

ERRORS

On failure, sets lsberrno to indicate the error.

SEE ALSO

Related API

lsb_submit() - Submits or restarts a job in the batch system

lsb_modify() - Modifies a submitted job's parameters

Equivalent line command

bsub with options

Files

LSF_LIBDIR/jsdl.xsd

LSF_LIBDIR/jsdl-posix.xsd

LSF_LIBDIR/jsdl-lsf.xsd


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