submit_flow {flowr} | R Documentation |
Submit a flow to the cluster
Description
Submit a flow to the cluster or perform a dry-run to check and debug issues.
Usage
submit_flow(x, verbose = opts_flow$get("verbose"), ...)
## S3 method for class 'list'
submit_flow(x, verbose = opts_flow$get("verbose"), ...)
## S3 method for class 'flow'
submit_flow(
x,
verbose = opts_flow$get("verbose"),
execute = FALSE,
uuid,
plot = TRUE,
dump = TRUE,
.start_jid = 1,
...
)
Arguments
x |
a |
verbose |
logical. |
... |
Advanced use. Any additional parameters are passed on to submit_job function. |
execute |
|
uuid |
|
plot |
|
dump |
dump all the flow details to the flow path |
.start_jid |
Job to start this submission from. Advanced use, should be 1 by default. |
Details
NOTE:
Even if you want to kill the flow, its best to let submit_flow do its job, when done simply use kill(flow_wd)
.
If submit_flow is interrupted, files like flow_details.rds etc are not created, thus flowr looses the association
of jobs with flow instance and cannot monitor, kill or re-run the flow.
Examples
## Not run:
submit_flow(fobj = fobj, ... = ...)
## End(Not run)