mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-22 08:29:54 +00:00
Add better task time values to account for large data
This commit is contained in:
parent
737d826932
commit
aac3478e86
1 changed files with 43 additions and 0 deletions
|
@ -19,6 +19,49 @@ process {
|
|||
time = 1440.h
|
||||
queue = { task.memory > 756.GB ? 'supercruncher' : 'long' }
|
||||
}
|
||||
|
||||
withLabel:'sc_tiny'{
|
||||
cpus = { check_max( 1, 'cpus' ) }
|
||||
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
|
||||
time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) }
|
||||
}
|
||||
|
||||
withLabel:'sc_small'{
|
||||
cpus = { check_max( 1, 'cpus' ) }
|
||||
memory = { check_max( 4.GB * task.attempt, 'memory' ) }
|
||||
time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) }
|
||||
}
|
||||
|
||||
withLabel:'sc_medium'{
|
||||
cpus = { check_max( 1, 'cpus' ) }
|
||||
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
|
||||
time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) }
|
||||
}
|
||||
|
||||
withLabel:'mc_small'{
|
||||
cpus = { check_max( 2, 'cpus' ) }
|
||||
memory = { check_max( 4.GB * task.attempt, 'memory' ) }
|
||||
time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) }
|
||||
}
|
||||
|
||||
withLabel:'mc_medium' {
|
||||
cpus = { check_max( 4, 'cpus' ) }
|
||||
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
|
||||
time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) }
|
||||
}
|
||||
|
||||
withLabel:'mc_large'{
|
||||
cpus = { check_max( 8, 'cpus' ) }
|
||||
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
|
||||
time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) }
|
||||
}
|
||||
|
||||
withLabel:'mc_huge'{
|
||||
cpus = { check_max( 32, 'cpus' ) }
|
||||
memory = { check_max( 256.GB * task.attempt, 'memory' ) }
|
||||
time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
profiles {
|
||||
|
|
Loading…
Reference in a new issue