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

Add times for 365d

This commit is contained in:
James Fellows Yates 2022-02-10 11:02:52 +01:00
parent 192839c8be
commit c0ee3225ad

View file

@ -19,36 +19,43 @@ process {
withLabel:'sc_tiny'{ withLabel:'sc_tiny'{
cpus = { check_max( 1, 'cpus' ) } cpus = { check_max( 1, 'cpus' ) }
memory = { check_max( 1.GB * task.attempt, 'memory' ) } memory = { check_max( 1.GB * task.attempt, 'memory' ) }
time = '365.d'
} }
withLabel:'sc_small'{ withLabel:'sc_small'{
cpus = { check_max( 1, 'cpus' ) } cpus = { check_max( 1, 'cpus' ) }
memory = { check_max( 4.GB * task.attempt, 'memory' ) } memory = { check_max( 4.GB * task.attempt, 'memory' ) }
time = '365.d'
} }
withLabel:'sc_medium'{ withLabel:'sc_medium'{
cpus = { check_max( 1, 'cpus' ) } cpus = { check_max( 1, 'cpus' ) }
memory = { check_max( 8.GB * task.attempt, 'memory' ) } memory = { check_max( 8.GB * task.attempt, 'memory' ) }
time = '365.d'
} }
withLabel:'mc_small'{ withLabel:'mc_small'{
cpus = { check_max( 2, 'cpus' ) } cpus = { check_max( 2, 'cpus' ) }
memory = { check_max( 4.GB * task.attempt, 'memory' ) } memory = { check_max( 4.GB * task.attempt, 'memory' ) }
time = '365.d'
} }
withLabel:'mc_medium' { withLabel:'mc_medium' {
cpus = { check_max( 4, 'cpus' ) } cpus = { check_max( 4, 'cpus' ) }
memory = { check_max( 8.GB * task.attempt, 'memory' ) } memory = { check_max( 8.GB * task.attempt, 'memory' ) }
time = '365.d'
} }
withLabel:'mc_large'{ withLabel:'mc_large'{
cpus = { check_max( 8, 'cpus' ) } cpus = { check_max( 8, 'cpus' ) }
memory = { check_max( 16.GB * task.attempt, 'memory' ) } memory = { check_max( 16.GB * task.attempt, 'memory' ) }
time = '365.d'
} }
withLabel:'mc_huge'{ withLabel:'mc_huge'{
cpus = { check_max( 32, 'cpus' ) } cpus = { check_max( 32, 'cpus' ) }
memory = { check_max( 256.GB * task.attempt, 'memory' ) } memory = { check_max( 256.GB * task.attempt, 'memory' ) }
time = '365.d'
} }
// Fixes for SGE and Java incompatibility due to Java using more memory than you tell it to use // Fixes for SGE and Java incompatibility due to Java using more memory than you tell it to use