View source: R/crew_options_pbs.R
crew_options_pbs | R Documentation |
Set options for PBS job management.
crew_options_pbs(
verbose = FALSE,
command_submit = as.character(Sys.which("qsub")),
command_terminate = as.character(Sys.which("qdel")),
script_directory = tempdir(),
script_lines = character(0L),
cwd = TRUE,
log_output = "/dev/null",
log_error = NULL,
log_join = TRUE,
memory_gigabytes_required = NULL,
cores = NULL,
walltime_hours = 12
)
verbose |
Logical, whether to see console output and error messages when submitting worker. |
command_submit |
Character of length 1, file path to the executable to submit a worker job. |
command_terminate |
Character of length 1,
file path to the executable to terminate a worker job.
Set to |
script_directory |
Character of length 1, directory path to the
job scripts. Just before each job submission, a job script
is created in this folder. Script base names are unique to each
launcher and worker, and the launcher deletes the script when the
worker is manually terminated. |
script_lines |
Optional character vector of additional lines to be
added to the job script just after the more common flags.
An example would be |
cwd |
Logical of length 1, whether to set the working directory
of the worker to the working directory it was launched from.
|
log_output |
Character of length 1, file or directory path to PBS
worker log files for standard output.
|
log_error |
Character of length 1, file or directory path to PBS
worker log files for standard error.
|
log_join |
Logical, whether to join the stdout and stderr log
files together into one file. |
memory_gigabytes_required |
Optional positive numeric scalar,
gigabytes of memory required to run the worker.
|
cores |
Optional positive integer scalar,
number of cores for the worker
("slots" in PBS lingo).
|
walltime_hours |
Numeric scalar,
hours of wall time
to request for the worker. |
A classed list of options.
Retryable options are deprecated in crew.cluster
as of
2025-01-27 (version 0.3.4
).
The template files at
https://github.com/mschubert/clustermq/tree/master/inst
informed the development of the crew
launcher plugins in
crew.cluster
, and we would like to thank
Michael Schubert for developing clustermq
and releasing it under
the permissive Apache License 2.0.
See the NOTICE
and README.md
files in the crew.cluster
source code for additional attribution.
Other pbs:
crew_class_launcher_pbs
,
crew_controller_pbs()
,
crew_launcher_pbs()
crew_options_pbs()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.