1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-25 09:19:56 +00:00

Restricts MALT re-tries and hardcodes resources so cannot go above SDAG max

This commit is contained in:
James A. Fellows Yates 2019-12-21 20:55:54 +01:00 committed by GitHub
parent 5632a0631a
commit 638758423a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,8 +10,9 @@ params {
// Specific nf-core/eager process configuration
process {
withName: malt {
memory = { 725.GB * task.attempt }
cpus = { 64 * task.attempt }
maxRetries = 1
memory = { task.attempt > 1 ? 1900.GB : 725.GB }
cpus = { task.attempt > 1 ? 112 : 64 }
time = 1440.h
queue = { task.memory > 756.GB ? 'supercruncher' : 'long' }
}