Use this function in your implementation of makeClusterFunctions
to create a return
value for the submitJob
function.
makeSubmitJobResult(status, batch.id, msg = NA_character_)
integer(1)
]
Launch status of job. 0 means success, codes between 1 and 100 are temporary errors and any
error greater than 100 is a permanent failure.character(1)
]
Unique id of this job on batch system. Note that this is not the usual job id.
Must be globally unique so that the job can be terminated using just this
information.character(1)
]
Optional error message in case status
is not equal to 0. Default is “OK”,
“TEMPERROR”, “ERROR”, depending on status
.SubmitJobResult
]. A list, containing
status
, batch.id
and msg
.cfBrewTemplate
,
cfHandleUnknownSubmitError
,
cfKillJob
,
cfReadBrewTemplate
,
makeClusterFunctions
,
runOSCommand