|
| 1 | +// Mahuika nf-core configuration profile |
| 2 | +params { |
| 3 | + config_profile_description = 'Mahuika HPC profile provided by nf-core/configs' |
| 4 | + config_profile_contact = 'Jennifer Reeve (@jen-reeve)' |
| 5 | + config_profile_url = 'https://docs.nesi.org.nz' |
| 6 | + max_cpus = 166 |
| 7 | + max_memory = 1024.GB |
| 8 | + max_time = 504.h |
| 9 | +} |
| 10 | + |
| 11 | +env { |
| 12 | + APPTAINER_TMPDIR="/home/${System.getenv('USER')}/.apptainer/tmp" |
| 13 | + APPTAINER_CACHEDIR="/home/${System.getenv('USER')}/.apptainer/cache" |
| 14 | +} |
| 15 | + |
| 16 | +process { |
| 17 | + resourceLimits = [ |
| 18 | + cpus: 166, |
| 19 | + memory: 1.TB, |
| 20 | + time: 504.h |
| 21 | + ] |
| 22 | + cache = 'lenient' |
| 23 | + stageInMode = 'symlink' |
| 24 | + executor = 'slurm' |
| 25 | + queue = 'genoa,milan' |
| 26 | + errorStrategy = { task.exitStatus in ((130..145) + 104 + 175) ? 'retry' : 'finish' } |
| 27 | + maxRetries = 2 |
| 28 | + |
| 29 | + withLabel: 'process_gpu' { |
| 30 | + clusterOptions = '--gpus-per-node 1' |
| 31 | + containerOptions = '--nv' |
| 32 | + } |
| 33 | +} |
| 34 | + |
| 35 | +executor { |
| 36 | + queueSize = 999 |
| 37 | + submitRateLimit = '60 min' |
| 38 | +} |
| 39 | + |
| 40 | +// Enable use of Apptainer to run containers |
| 41 | +apptainer { |
| 42 | + enabled = true |
| 43 | + pullTimeout = '2h' |
| 44 | + autoMounts = true |
| 45 | +} |
| 46 | + |
| 47 | +cleanup = true |
| 48 | + |
| 49 | +profiles { |
| 50 | + debug { |
| 51 | + cleanup = false |
| 52 | + } |
| 53 | + |
| 54 | + genoa { |
| 55 | + process { |
| 56 | + resourceLimits = [ |
| 57 | + cpus: 166, |
| 58 | + memory: 1.TB, |
| 59 | + time: 504.h |
| 60 | + ] |
| 61 | + cache = 'lenient' |
| 62 | + stageInMode = 'symlink' |
| 63 | + executor = 'slurm' |
| 64 | + queue = 'genoa' |
| 65 | + errorStrategy = { task.exitStatus in ((130..145) + 104 + 175) ? 'retry' : 'finish' } |
| 66 | + maxRetries = 2 |
| 67 | + |
| 68 | + withLabel: 'process_gpu' { |
| 69 | + clusterOptions = '--gpus-per-node 1' |
| 70 | + containerOptions = '--nv' |
| 71 | + } |
| 72 | + } |
| 73 | + params { |
| 74 | + config_profile_description = 'Mahuika HPC genoa partition profile provided by nf-core/configs' |
| 75 | + config_profile_contact = 'Jennifer Reeve (@jen-reeve)' |
| 76 | + config_profile_url = 'https://docs.nesi.org.nz' |
| 77 | + max_cpus = 166 |
| 78 | + max_memory = 1432.GB |
| 79 | + max_time = 504.h |
| 80 | + } |
| 81 | + } |
| 82 | + |
| 83 | + milan { |
| 84 | + process { |
| 85 | + resourceLimits = [ |
| 86 | + cpus: 166, |
| 87 | + memory: 1.TB, |
| 88 | + time: 504.h |
| 89 | + ] |
| 90 | + cache = 'lenient' |
| 91 | + stageInMode = 'symlink' |
| 92 | + executor = 'slurm' |
| 93 | + queue = 'milan' |
| 94 | + errorStrategy = { task.exitStatus in ((130..145) + 104 + 175) ? 'retry' : 'finish' } |
| 95 | + maxRetries = 2 |
| 96 | + |
| 97 | + withLabel: 'process_gpu' { |
| 98 | + clusterOptions = '--gpus-per-node 1' |
| 99 | + containerOptions = '--nv' |
| 100 | + } |
| 101 | + } |
| 102 | + params { |
| 103 | + config_profile_description = 'Mahuika HPC milan partition profile provided by nf-core/configs' |
| 104 | + config_profile_contact = 'Jennifer Reeve (@jen-reeve)' |
| 105 | + config_profile_url = 'https://docs.nesi.org.nz' |
| 106 | + max_cpus = 126 |
| 107 | + max_memory = 1024.GB |
| 108 | + max_time = 504.h |
| 109 | + } |
| 110 | + } |
| 111 | +} |
0 commit comments