1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-12-22 10:38:16 +00:00

cbe: lower the threshold for switching to m queue

This commit is contained in:
phue 2022-02-04 10:33:00 +01:00
parent 49810a69b3
commit 7bf6f284fa

View file

@ -7,7 +7,7 @@ params {
process { process {
executor = 'slurm' executor = 'slurm'
queue = { task.memory <= 170.GB ? 'c' : 'm' } queue = { task.memory <= 120.GB ? 'c' : 'm' }
module = ['build-env/.f2021', 'build-env/f2021', 'anaconda3/2021.11'] module = ['build-env/.f2021', 'build-env/f2021', 'anaconda3/2021.11']
clusterOptions = { ( task.queue == 'g' ? '--gres gpu:1 ' : '' ) << ( (task.queue == 'c' & task.time <= 1.h) ? '--qos rapid' : ( task.time <= 8.h ? '--qos short': ( task.time <= 48.h ? '--qos medium' : '--qos long' ) ) ) } clusterOptions = { ( task.queue == 'g' ? '--gres gpu:1 ' : '' ) << ( (task.queue == 'c' & task.time <= 1.h) ? '--qos rapid' : ( task.time <= 8.h ? '--qos short': ( task.time <= 48.h ? '--qos medium' : '--qos long' ) ) ) }
} }