qsub_file | R Documentation |
The function returns the jobid of the scheduled job.
qsub_file(
script,
pbs_args = NULL,
env_variables = NULL,
echo = TRUE,
fail_on_error = FALSE
)
script |
A script that should be executed by the PBS scheduler. This can contain PBS directives, but in the
case of conflicts, the directives passed with |
pbs_args |
A character vector of arguments to be included in the qsub command. Typically these will begin with '-l' such as '-l walltime=10:00:00'. |
env_variables |
A named character vector containing environment variables and their values to be passed
to the |
echo |
Whether to echo the qsub command to the terminal at the time it is scheduled. Default: TRUE. |
fail_on_error |
Whether to stop execution of the script (TRUE), or issue a warning (FALSE) if the qsub fails. Defaults to FALSE (i.e., issue a warning). |
A character string containing the jobid of the scheduled job.
Michael Hallquist
## Not run:
qsub_file('myscript.bash', pbs_args=c('-l walltime=10:00:00', '-l nodes=1:ppn=20'),
env_variables=c(RUN_INDEX=2, MODEL_NAME='FSE21'))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.