-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvsc_calcua_gpu.config
More file actions
44 lines (41 loc) · 2.16 KB
/
Copy pathvsc_calcua_gpu.config
File metadata and controls
44 lines (41 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// CalcUA (VSC Antwerp) — extends the CPU profile with Slurm GPU settings for Dorado (and similar) processes.
// Use: `-profile vsc_calcua_gpu`
//
// List GPU partitions on this cluster (login node):
// sinfo -o '%P %G %l %m' # PARTITION, GRES, timelimit, memory
// sinfo -s # summary
// On Vaughan/Leibniz (typical names — confirm with `sinfo` and your project access):
// ampere_gpu — NVIDIA A100 (GRES e.g. gpu:a100:4), 1 day walltime
// arcturus_gpu — AMD MI100 (gpu:mi100:2), 1 day — not for CUDA/Dorado
// pascal_gpu — NVIDIA P100 (gpu:p100:2), 1 day
// Dorado is NVIDIA/CUDA: use ampere_gpu or pascal_gpu, not arcturus_gpu.
//
// Override on CLI if needed, e.g. `--calcua_gpu_slurm_partition pascal_gpu --calcua_gpu_cluster_options '--gres=gpu:1'`.
includeConfig 'vsc_calcua_cpu.config'
params {
config_profile_name = "vsc_calcua_gpu"
config_profile_description = "CalcUA (VSC Antwerp) Slurm profile: CPU tasks + GPU queue for Dorado processes."
// Slurm partition for DORADO_* tasks only. Must be a partition your account can submit to (see header comments).
calcua_gpu_slurm_partition = 'ampere_gpu'
// Example for many Slurm sites: '--gres=gpu:1'. Confirm with VSC/CalcUA GPU documentation.
calcua_gpu_cluster_options = '--gres=gpu:1'
}
process {
// Dorado: CalcUA-specific CPU/RAM/time (GPU profile only). Generic defaults stay in conf/base.config.
withLabel:process_gpu {
cpus = { check_max( 8 * task.attempt, 'cpus' ) }
memory = { check_max( 48.GB * task.attempt, 'memory' ) }
time = { check_max( 24.h * task.attempt, 'time' ) }
}
// Route Nanopore GPU basecalling / demux to the GPU partition (explicit names — regex ~/…/ broke config parse on NF 25.x).
withName: 'DORADO_ONT' {
queue = { params.calcua_gpu_slurm_partition }
clusterOptions = { params.calcua_gpu_cluster_options }
maxForks = 2
}
withName: 'DORADO_DEMULTIPLEXING' {
queue = { params.calcua_gpu_slurm_partition }
clusterOptions = { params.calcua_gpu_cluster_options }
maxForks = 2
}
}