1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-25 17:29:55 +00:00

Mad multi-core increase CPUs on retry

This commit is contained in:
James A. Fellows Yates 2020-09-06 08:23:35 +02:00 committed by GitHub
parent 4335e5deb7
commit 3b7902d11b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,25 +37,25 @@ process {
}
withLabel:'mc_small'{
cpus = { check_max( 2, 'cpus' ) }
cpus = { check_max( 2 * task.attempt, 'cpus' ) }
memory = { check_max( 4.GB * task.attempt, 'memory' ) }
time = 24.h
}
withLabel:'mc_medium' {
cpus = { check_max( 4, 'cpus' ) }
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
time = 24.h
}
withLabel:'mc_large'{
cpus = { check_max( 8, 'cpus' ) }
cpus = { check_max( 8 * task.attempt, 'cpus' ) }
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
time = 24.h
}
withLabel:'mc_huge'{
cpus = { check_max( 32, 'cpus' ) }
cpus = { check_max( 32 * task.attempt, 'cpus' ) }
memory = { check_max( 256.GB * task.attempt, 'memory' ) }
time = 24.h
}