Repository navigation
Expand file tree
/
Copy pathunsw_katana.config
More file actions
77 lines (70 loc) · 2.04 KB
/
Copy pathunsw_katana.config
File metadata and controls
77 lines (70 loc) · 2.04 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// UNSW Katana nf-core configuration profile
params {
config_profile_name = 'unsw_katana'
config_profile_description = 'UNSW Katana HPC profile provided by nf-core/configs.'
config_profile_contact = '@jscgh'
config_profile_url = 'https://docs.restech.unsw.edu.au/'
}
process {
executor = 'pbspro'
// Load required modules for running Nextflow
beforeScript = 'module load nextflow java'
resourceLimits = [
memory: 248.GB,
cpus: 24,
time: 100.h
]
// Basic GPU node allocation
withLabel:process_gpu {
accelerator = 1
clusterOptions = { "-l select=1:ngpus=1:ncpus=6:mem=125gb" }
containerOptions = '--nv'
}
withLabel:process_single {
cpus = { 1 }
memory = { 4.GB * task.attempt }
time = { 2.h * task.attempt }
}
withLabel:process_low {
cpus = { 2 * task.attempt }
memory = { 12.GB * task.attempt }
time = { 2.h * task.attempt }
}
withLabel:process_medium {
cpus = { 6 * task.attempt }
memory = { 46.GB * task.attempt }
time = { 12.h * task.attempt }
}
withLabel:process_high {
cpus = { 12 * task.attempt }
memory = { 124.GB * task.attempt }
time = { 48.h * task.attempt }
}
withLabel:process_long {
time = { 100.h * task.attempt }
}
withLabel:process_high_memory {
memory = { 248.GB * task.attempt }
}
withLabel:error_ignore {
errorStrategy = 'ignore'
}
withLabel:error_retry {
errorStrategy = 'retry'
maxRetries = 1
}
}
// Set the cache directory for Singularity and Apptainer
singularity {
autoMounts = true
cacheDir = "/srv/scratch/${System.getenv('USER')}/.images"
}
apptainer {
enabled = true
autoMounts = true
cacheDir = "/srv/scratch/${System.getenv('USER')}/.images"
}
// Docker is not supported on this cluster
docker {
enabled = false
}