forked from nf-core/configs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqmul_apocrita.config
31 lines (24 loc) · 958 Bytes
/
qmul_apocrita.config
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
params {
config_profile_description = 'Queen Mary Universtiy of London'
config_profile_contact = 'Simon Murray (simon . murray AT ucl . ac . uk)'
config_profile_url = 'https://docs.hpc.qmul.ac.uk/'
}
executor {
name = 'sge'
}
apptainer.runOptions = "-B ${HOME},${PWD}"
process {
//NEED TO SET PARALLEL ENVIRONMENT TO SMP SO MULTIPLE CPUS CAN BE SUBMITTED
penv = 'smp'
//ADD MEMORY TO CLUSTEROPTIONS
clusterOptions = { "-S /bin/bash -l h_vmem=${(task.memory.mega / task.cpus)}M" }
withLabel: process_high {
clusterOptions = { "-S /bin/bash -l h_vmem=${(task.memory.mega / task.cpus)}M -l highmem" }
}
withLabel: process_long {
clusterOptions = { "-S /bin/bash -l h_vmem=${(task.memory.mega / task.cpus)}M -l highmem" }
}
withLabel: process_high_memory {
clusterOptions = { "-S /bin/bash -l h_vmem=${(task.memory.mega / task.cpus)}M -l highmem" }
}
}