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

lsb_modify

Modifies a submitted job's parameters.

lsb_modify() allows for the modification of a submitted job's parameters.

#include <lsf/lsbatch.h>

LS_LONG_INT lsb_modify (struct submit *jobsubReq, struct submitReply *jobSubReply, LS_LONG_INT jobId)

Parameters:
*jobSubReq Describes the requirements for job modification to the batch system. A job that does not meet these requirements is not submitted to the batch system and an error is returned.
*jobSubReply Describes the results of the job modification to the batch system.
jobId The job to be modified. If an element of a job array is to be modified, use the array form jobID[i] where jobID is the job array name, and i is the index value.
Data Structures:
submit
submitReply
Define Statements:
none
Returns:
LS_LONG_INT:jobID
The function was successful, and sets the queue field of jobSubReply to the name of the queue that the job was submitted to.

LS_LONG_INT:-1
Function failed.

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

ls_info

ls_rtask

lsb_queueinfo



     
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.