Skip to content

Commit e0278fb

Browse files
Slurm example should mention --cpus-per-task=N
1 parent 373ab8c commit e0278fb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

R/MiraiFutureBackend-class.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,8 +454,8 @@ tweak.mirai_cluster <- function(strategy, ..., penvir = parent.frame()) {
454454
#'
455455
#' ```r
456456
#' # Here we give each worker 200 MiB of RAM and a maximum of one hour
457-
#' # to run. Unless we specify '-l pe smp N', each mirai worker is
458-
#' # allotted one CPU core, which impacts nested parallelization.
457+
#' # to run. Unless we specify '--cpus-per-task=N', each mirai worker
458+
#' # is allotted one CPU core, which impacts nested parallelization.
459459
#' # R is provided via environment module 'r' on this cluster.
460460
#' config <- mirai::cluster_config(command = "sbatch", options = "
461461
#' #SBATCH --job-name=mirai

man/mirai_cluster.Rd

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

0 commit comments

Comments
 (0)