This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
guides:slurm:nextflow [08.03.2024 14:53] Administrator created |
guides:slurm:nextflow [27.09.2024 12:12] (current) Administrator |
||
---|---|---|---|
Line 1: | Line 1: | ||
# Example Nextflow config for SLURM | # Example Nextflow config for SLURM | ||
- | //Profile config names for nf-core/configs | + | |
- | params { | + | Following example can be used as a [nextflow.config](https: |
- | config_profile_description = 'The University of Eastern Finland SLURM cluster profile' | + | |
- | config_profile_contact = ' | + | |
- | config_profile_url = '' | + | |
- | } | + | |
- | + | config_profile_description = 'The University of Eastern Finland SLURM cluster profile' | |
- | singularity { | + | config_profile_contact = ' |
- | enabled = true | + | config_profile_url = '' |
- | autoMounts = true | + | } |
- | cacheDir = "/ | + | |
- | } | + | singularity { |
- | + | enabled = true | |
- | process { | + | autoMounts = true |
- | executor = ' | + | cacheDir = "/ |
- | + | } | |
- | queue = 'serial' | + | |
- | queueSize = 16 | + | process { |
- | + | executor = ' | |
- | // submitRateLimit = ' | + | |
- | // submitRateLimit = ' | + | queue = 'small' |
- | maxSubmitJobs = 20 | + | queueSize = 16 |
- | + | | |
- | errorStrategy = ' | + | // submitRateLimit = ' |
- | maxRetries = 5 | + | // submitRateLimit = ' |
- | retry.delay = ' | + | maxSubmitJobs = 20 |
- | + | | |
- | // max 3.d on serial queue | + | errorStrategy = ' |
- | | + | maxRetries = 5 |
- | cpus = 8 | + | retry.delay = ' |
- | memory = '50 GB' | + | |
- | + | time = ' | |
- | clusterOptions = ' | + | cpus = 8 |
- | --output=/ | + | memory = '20 GB' |
- | --error=/ | + | |
- | } | + | clusterOptions = ' |
- | + | --output=/ | |
- | params { | + | --error=/ |
- | // igenomes_ignore = true | + | } |
- | | + | |
- | max_cpus = 32 | + | params { |
- | max_time = 3.d | + | max_memory = 50.GB |
- | } | + | max_cpus = 32 |
+ | max_time = 3.d | ||
+ | } | ||
+ |