×

nf-slurm-no-memory @ 1.0.0

Provider: CUBIC-Curie
Claimed: 13 Feb 2026 13:41:32 (UTC)
Description: # nf-slurm-no-memory plugin **Optimize CPU allocation for Slurm clusters with fixed memory-per-CPU policies.** ## Introductions Some HPC clusters enforce a **fixed memory-per-CPU ratio** and do not allow users to explicitly set memory limits in Slurm job submissions (no --mem or --mem-per-cpu). This plugin dynamically calculates the **optimal CPU count** for each Nextflow process, ensuring efficient resource allocation while respecting cluster constraints. - **Automatic CPU Calculation**: For each process, the plugin computes the required CPUs based on: - The process's requested CPU count. - The memory requirement divided by the cluster's **memory-per-CPU ratio** (default: **4 GB/CPU**). - **Resource Efficiency**: Avoids under-allocation (job failures) or over-allocation (wasted resources). ## Installation From Nextflow Plugin Registry ```bash nextflow plugin install nf-slurm-no-memory ``` alternatively, you can reference the plugin in the pipeline config: ``` plugins { id 'nf-slurm-no-memory' } ``` From Source 1. Clone this repository: ```bash git clone https://github.com/bioinfo-pf-curie/nf-slurm-no-memory.git cd nf-slurm-no-memory ``` 2. Build the plugin: ```bash make assemble ``` 3. Install the plugin: ```bash make install ``` ## Usage Declare the plugin in your Nextflow pipeline configuration file: ```groovy title="nextflow.config" plugins { id "nf-slurm-no-memory@1.0.0" } ``` Modify your `executor` to : ```groovy title="nextflow.config" process { executor = 'slurm-no-memory' } ``` More details are available in the Nextflow [plugin documentation](https://www.nextflow.io/docs/latest/plugins.html#plugins) and the [configuration guide](https://www.nextflow.io/docs/latest/config.html). ## Params The memory-per-CPU ratio can be adjusted via the memoryPerCpu variable in your configuration: ```groovy title="nextflow.config" executor { "slurm-no-memory" { memoryPerCore = "8" } } ``` # Requirements Nextflow 25.10.0 or later Java 17 or later # License Licensed under Apache-2.0 license
Latest version: 1.0.1
Total downloads: 19 View trends
Nextflow version >=25.10.0
Depends On -
Release Date 16 Feb 2026 13:04:25 (UTC)
Release Notes -
Download URL https://registry.nextflow.io/api/v1/plugins/nf-slurm-no-memory/1.0.0/download/nf-slurm-no-memory-1.0.0.zip
Store URL https://public.cr.seqera.io/v2/nextflow/plugin/nf-slurm-no-memory/blobs/sha256:cb1dd1246fa1e2990cf26bcd46a1c4153ec5d8af47994fba7b0eb48abe6c542f
Size 10.5 KB
Checksum 753ce3b3b495cc2be7e49b1d12cde3bb05983900517facdbc3887e4659ca8c0a3ec3b281bb51629749af705ff5d4ea9e8d11ccb98c6bee2d86532b9a3e25ac2d
Total downloads 13 View trends
Security Scan
Version Nextflow version Date Status Downloads
1.0.1 >=25.10.0 17 Feb 2026 13:22:31 (UTC) 6
1.0.0 >=25.10.0 16 Feb 2026 13:04:25 (UTC) 13