Skip to content

Commit accebeb

Browse files
Help examples: clarify resource specifications
1 parent 32c014a commit accebeb

10 files changed

+20
-10
lines changed

R/batchtools_lsf.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ BatchtoolsLsfFutureBackend <- function(...) {
3838
#'
3939
#' # Limit runtime to 10 minutes and total memory to 400 MiB per future,
4040
#' # request a parallel environment with four slots on a single host.
41-
#' # Submit to the 'freecycle' queue.
41+
#' # Submit to the 'freecycle' queue. Load environment modules 'r' and
42+
#' # 'jags'. Report on job details at startup and at the end of the job.
4243
#' plan(future.batchtools::batchtools_lsf, resources = list(
4344
#' W = "00:10:00", M = "400",
4445
#' asis = c("-n 4", "-R 'span[hosts=1]'", "-q freecycle"),

R/batchtools_openlava.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ BatchtoolsOpenLavaFutureBackend <- function(...) {
3838
#'
3939
#' # Limit runtime to 10 minutes and total memory to 400 MiB per future,
4040
#' # request a parallel environment with four slots on a single host.
41-
#' # Submit to the 'freecycle' queue.
41+
#' # Submit to the 'freecycle' queue. Load environment modules 'r' and
42+
#' # 'jags'. Report on job details at startup and at the end of the job.
4243
#' plan(future.batchtools::batchtools_openlava, resources = list(
4344
#' W = "00:10:00", M = "400",
4445
#' asis = c("-n 4", "-R 'span[hosts=1]'", "-q freecycle"),

R/batchtools_sge.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ print.BatchtoolsSGEFutureBackend <- function(x, ...) {
5151
#'
5252
#' # Limit runtime to 10 minutes and memory to 400 MiB per future,
5353
#' # request a parallel environment with four slots on a single host.
54-
#' # Submit to the 'freecycle' queue.
54+
#' # Submit to the 'freecycle' queue. Load environment modules 'r' and
55+
#' # 'jags'. Report on job details at startup and at the end of the job.
5556
#' plan(future.batchtools::batchtools_sge, resources = list(
5657
#' h_rt = "00:10:00", mem_free = "100M", ## memory is per process
5758
#' asis = c("-pe smp 4", "-q freecycle.q"),

R/batchtools_slurm.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ print.BatchtoolsSlurmFutureBackend <- function(x, ...) {
5555
#'
5656
#' # Limit runtime to 10 minutes and memory to 400 MiB per future,
5757
#' # request a parallel environment with four slots on a single host.
58-
#' # Submit to the 'freecycle' partition.
58+
#' # Submit to the 'freecycle' partition. Load environment modules 'r' and
59+
#' # 'jags'. Report on job details at startup and at the end of the job.
5960
#' plan(future.batchtools::batchtools_slurm, resources = list(
6061
#' time = "00:10:00", mem = "400M",
6162
#' asis = c("--nodes=1", "--ntasks=4", "--partition=freecycle"),

R/batchtools_torque.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ BatchtoolsTorqueFutureBackend <- function(...) {
3737
#'
3838
#' # Limit runtime to 10 minutes and total memory to 400 MiB per future,
3939
#' # request a parallel environment with four slots on a single host.
40-
#' # Submit to the 'freecycle' queue.
40+
#' # Submit to the 'freecycle' queue. Load environment modules 'r' and
41+
#' # 'jags'. Report on job details at startup and at the end of the job.
4142
#' plan(future.batchtools::batchtools_torque, resources = list(
4243
#' walltime = "00:10:00", mem = "100mb", ## memory is per process
4344
#' asis = c("-l nodes=1:ppn=4", "-q freecycle"),

man/batchtools_lsf.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/batchtools_openlava.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/batchtools_sge.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/batchtools_slurm.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/batchtools_torque.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)