This function is only intended for use in your own cluster functions implementation.
Simply constructs a SubmitJobResult
object with status code 101, NA as batch id and
an informative error message containing the output of the OS command in output
.
cfHandleUnknownSubmitError(cmd, exit.code, output)
[SubmitJobResult
].
[character(1)
]
OS command used to submit the job, e.g. qsub.
[integer(1)
]
Exit code of the OS command, should not be 0.
[character
]
Output of the OS command, hopefully an informative error message.
If these are multiple lines in a vector, they are automatically joined.
Other ClusterFunctionsHelper:
cfBrewTemplate()
,
cfKillJob()
,
cfReadBrewTemplate()
,
makeClusterFunctions()
,
makeSubmitJobResult()
,
runOSCommand()