comparison 0.6.1/conf/modules.config @ 14:b0a37e88ecb5

"planemo upload"
author kkonganti
date Thu, 07 Sep 2023 10:13:31 -0400
parents 749faef1caa9
children
comparison
equal deleted inserted replaced
13:74baf1a6c3bd 14:b0a37e88ecb5
12 12
13 errorStrategy = { 13 errorStrategy = {
14 ![0].contains(task.exitStatus) ? dynamic_retry(task.attempt, 10) : 'finish' 14 ![0].contains(task.exitStatus) ? dynamic_retry(task.attempt, 10) : 'finish'
15 } 15 }
16 16
17 maxRetries = 1 17 maxRetries = 80
18 18
19 withLabel: 'process_femto' { 19 withLabel: 'process_femto' {
20 cpus = { 1 * task.attempt } 20 cpus = 2
21 memory = { 1.GB * task.attempt }
22 time = { 1.h * task.attempt }
23 } 21 }
24 22
25 withLabel: 'process_pico' { 23 withLabel: 'process_pico' {
26 cpus = { min_cpus(2) * task.attempt } 24 cpus = min_cpus(2)
27 memory = { 4.GB * task.attempt }
28 time = { 2.h * task.attempt }
29 } 25 }
30 26
31 withLabel: 'process_nano' { 27 withLabel: 'process_nano' {
32 cpus = { min_cpus(4) * task.attempt } 28 cpus = min_cpus(4)
33 memory = { 8.GB * task.attempt }
34 time = { 4.h * task.attempt }
35 } 29 }
36 30
37 withLabel: 'process_micro' { 31 withLabel: 'process_micro' {
38 cpus = { min_cpus(8) * task.attempt } 32 cpus = min_cpus(8)
39 memory = { 16.GB * task.attempt }
40 time = { 8.h * task.attempt }
41 } 33 }
42 34
43 withLabel: 'process_only_mem_low' { 35 withLabel: 'process_only_mem_low' {
44 cpus = { 1 * task.attempt } 36 cpus = 2
45 memory = { 60.GB * task.attempt }
46 time = { 20.h * task.attempt }
47 } 37 }
48 38
49 withLabel: 'process_only_mem_medium' { 39 withLabel: 'process_only_mem_medium' {
50 cpus = { 1 * task.attempt } 40 cpus = 2
51 memory = { 100.GB * task.attempt }
52 time = { 30.h * task.attempt }
53 } 41 }
54 42
55 withLabel: 'process_only_mem_high' { 43 withLabel: 'process_only_mem_high' {
56 cpus = { 1 * task.attempt } 44 cpus = 2
57 memory = { 128.GB * task.attempt }
58 time = { 60.h * task.attempt }
59 } 45 }
60 46
61 withLabel: 'process_low' { 47 withLabel: 'process_low' {
62 cpus = { min_cpus(10) * task.attempt } 48 cpus = min_cpus(8)
63 memory = { 60.GB * task.attempt }
64 time = { 20.h * task.attempt }
65 } 49 }
66 50
67 withLabel: 'process_medium' { 51 withLabel: 'process_medium' {
68 cpus = { min_cpus(10) * task.attempt } 52 cpus = min_cpus(8)
69 memory = { 100.GB * task.attempt }
70 time = { 30.h * task.attempt }
71 } 53 }
72 54
73 withLabel: 'process_high' { 55 withLabel: 'process_high' {
74 cpus = { min_cpus(10) * task.attempt } 56 cpus = min_cpus(8)
75 memory = { 128.GB * task.attempt }
76 time = { 60.h * task.attempt }
77 } 57 }
78 58
79 withLabel: 'process_higher' { 59 withLabel: 'process_higher' {
80 cpus = { min_cpus(10) * task.attempt } 60 cpus = min_cpus(8)
81 memory = { 256.GB * task.attempt }
82 time = { 60.h * task.attempt }
83 } 61 }
84 62
85 withLabel: 'process_gigantic' { 63 withLabel: 'process_gigantic' {
86 cpus = { min_cpus(10) * task.attempt } 64 cpus = min_cpus(8)
87 memory = { 512.GB * task.attempt }
88 time = { 60.h * task.attempt }
89 } 65 }
90 } 66 }
91 67
92 if ( ( ( params.input || params.metadata ) && params.pipeline ) || 68 if ( ( ( params.input || params.metadata ) && params.pipeline ) ||
93 ( params.pipeline.toString().equalsIgnoreCase('bettercallsal_db') && params.output) ) { 69 ( params.pipeline.toString().equalsIgnoreCase('bettercallsal_db') && params.output) ) {