1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-22 00:26:03 +00:00

Handle Sarek-specific max labels

This commit is contained in:
Bruno Grande 2022-06-22 13:54:13 -07:00
parent c7093dee13
commit ecd898584d

View file

@ -34,7 +34,15 @@ process {
time = { check_max( 192.h * task.attempt, 'time' ) } time = { check_max( 192.h * task.attempt, 'time' ) }
} }
withLabel:process_high_memory { withLabel:process_high_memory {
memory = { check_max( 200.GB * task.attempt, 'memory' ) } memory = { check_max( 128.GB * task.attempt, 'memory' ) }
}
// Preventing Sarek labels from using the actual maximums
withLabel:max_memory {
memory = { check_max( 128.GB * task.attempt, 'memory' ) }
}
withLabel:cpus_max {
cpus = { check_max( 24 * slow(task.attempt), 'cpus' ) }
} }
} }