Skip to content

Commit 398b9df

Browse files
authored
Merge pull request #1002 from nf-core/mpcdf-specify-apptainer-versions
MPCDF clusters: specify apptainer version
2 parents 6ec72dd + 3a28605 commit 398b9df

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

conf/mpcdf.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ profiles {
1616
cpus: 72,
1717
time: 24.h
1818
]
19-
beforeScript = 'module load singularity'
19+
beforeScript = 'module load apptainer/1.4.3'
2020
executor = 'slurm'
2121
}
2222

conf/mpcdf_viper.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ process {
1212
cpus: 256,
1313
time: 24.h
1414
]
15-
beforeScript = 'module load apptainer'
15+
beforeScript = 'module load apptainer/1.4.3'
1616
clusterOptions = '--export=ALL'
1717
executor = 'slurm'
1818
}

docs/mpcdf.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ Currently profiles for the following clusters are supported: `raven`.
1010

1111
For `viper`, please see the `mpcdf_viper` profile in the [MPCDF Viper Configuration](viper.md).
1212

13-
All profiles use `singularity` as the corresponding containerEngine. To prevent repeatedly downloading the same singularity image for every pipeline run, for all profiles we recommend specifying a cache location in your `~/.bash_profile` with the `$NXF_SINGULARITY_CACHEDIR` bash variable.
13+
All profiles use `apptainer/1.4.3` as the corresponding containerEngine.
14+
Make sure to `module load apptainer/1.4.3` in the environent where you execute `nextflow run`.
15+
To prevent repeatedly downloading the same singularity image for every pipeline run, for all profiles we recommend specifying a cache location in your `~/.bash_profile` with the `$NXF_SINGULARITY_CACHEDIR` bash variable.
1416

1517
> NB: Nextflow will need to submit the jobs via SLURM to the clusters and as such the commands above will have to be executed on one of the head nodes. Check the [MPCDF documentation](https://www.mpcdf.mpg.de/services/computing).
1618

docs/mpcdf_viper.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ To run Nextflow, the `jdk` and `apptainer` modules must be loaded.
88

99
This `mpcdf_viper` config is for `viper`. For `raven` see the [`mpcdf`](mpcdf.md) profile.
1010

11-
All profiles use `apptainer` as the corresponding containerEngine.
11+
All profiles use `apptainer/1.4.3` as the corresponding containerEngine.
12+
Make sure to `module load apptainer/1.4.3` in the environment where you execute `nextflow run`.
1213
To prevent repeatedly downloading the same apptainer image for every pipeline run, for all profiles we recommend specifying a cache location in your `~/.bash_profile` with the `$NXF_APPTAINER_CACHEDIR` bash variable.
1314

1415
> [!TIP]

0 commit comments

Comments
 (0)