Skip to content

Commit 1292c04

Browse files
Example uses less-specific module version 'r/4.5' - was 'r/4.5.1'
1 parent 8899ef3 commit 1292c04

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

R/batchtools_slurm.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ print.BatchtoolsSlurmFutureBackend <- function(x, ...) {
5151
#' 3. Slurm 22.05.11, Rocky Linux 8, NFS global filesystem (September 2025)
5252
#' 4. Slurm 23.02.6, Ubuntu 24.04 LTS, NFS global filesystem (September 2025)
5353
#' 5. Slurm 24.11.3, AlmaLinux 9, Lustre global filesystem (September 2025)*
54-
#' 6. Slurm 24.11.5, Rocky Linux 9, VAST global filesystem (February 2026)*
54+
#' 6. Slurm 24.11.5, Rocky Linux 9, VAST global filesystem (February 2026)
5555
#'
5656
#' (*) Verified with **future.batchtools** 0.20.0, which used
5757
#' [batchtools::makeClusterFunctionsSlurm()], which the new

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ library(future)
1717
# Limit runtime to 10 minutes and memory to 400 MiB per future,
1818
# request a parallel environment with four slots on a single host.
1919
# On this system, R is available via environment module 'r'. By
20-
# specifying 'r/4.5.1', 'module load r/4.5.1' will be added to
20+
# specifying 'r/4.5', 'module load r/4.5' will be added to
2121
# the submitted job script.
2222
plan(future.batchtools::batchtools_slurm, resources = list(
2323
time = "00:10:00", mem = "400M", nodes = 1, ntasks = 4,
24-
modules = c("r/4.5.1")
24+
modules = c("r/4.5")
2525
))
2626

2727
# Give it a spin
@@ -36,7 +36,7 @@ f <- future({
3636
info <- value(f)
3737
print(info)
3838
#> hostname os cores modules
39-
#> 1 n12 Linux 4 r/4.5.1
39+
#> 1 n12 Linux 4 r/4.5.2
4040
```
4141

4242
## Introduction

man/batchtools_slurm.Rd

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

vignettes/future.batchtools.md.rsp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ library(future)
3030
# Limit runtime to 10 minutes and memory to 400 MiB per future,
3131
# request a parallel environment with four slots on a single host.
3232
# On this system, R is available via environment module 'r'. By
33-
# specifying 'r/4.5.1', 'module load r/4.5.1' will be added to
33+
# specifying 'r/4.5', 'module load r/4.5' will be added to
3434
# the submitted job script.
3535
plan(future.batchtools::batchtools_slurm, resources = list(
3636
time = "00:10:00", mem = "400M", nodes = 1, ntasks = 4,
37-
modules = c("r/4.5.1")
37+
modules = c("r/4.5")
3838
))
3939

4040
# Give it a spin
@@ -49,7 +49,7 @@ f <- future({
4949
info <- value(f)
5050
print(info)
5151
#> hostname os cores modules
52-
#> 1 n12 Linux 4 r/4.5.1
52+
#> 1 n12 Linux 4 r/4.5.2
5353
```
5454

5555
## Introduction

0 commit comments

Comments
 (0)