Mercurial > repos > fubar > egapx_runner
comparison ui/assets/config/process_resources.config @ 0:d9c5c5b87fec draft
planemo upload for repository https://github.com/ncbi/egapx commit 8173d01b08d9a91c9ec5f6cb50af346edc8020c4
author | fubar |
---|---|
date | Sat, 03 Aug 2024 11:16:53 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d9c5c5b87fec |
---|---|
1 // Part of nextflow config describing resource requirements for EGAPx processes | |
2 // We rely on labels to define 3 tiers of processes - default, big, and huge. | |
3 // Make sure that executor you use supports job memory and CPU requirements | |
4 process { | |
5 memory = 60.GB | |
6 cpus = 7 | |
7 time = 6.h | |
8 errorStrategy = 'retry' | |
9 maxRetries = 3 | |
10 | |
11 withLabel: 'big_job' { | |
12 memory = 120.GB | |
13 cpus = 15 | |
14 } | |
15 | |
16 withLabel: 'huge_job' { | |
17 memory = 200.GB | |
18 cpus = 31 | |
19 } | |
20 | |
21 withLabel: 'long_job' { | |
22 time = 16.h | |
23 } | |
24 } | |
25 | |
26 profiles { | |
27 | |
28 stubrun { | |
29 | |
30 process { | |
31 memory = 1.GB | |
32 cpus = 1 | |
33 time = 1.h | |
34 | |
35 withLabel: 'big_job' { | |
36 memory = 1.GB | |
37 cpus = 1 | |
38 } | |
39 | |
40 withLabel: 'huge_job' { | |
41 memory = 1.GB | |
42 cpus = 1 | |
43 } | |
44 | |
45 withLabel: 'long_job' { | |
46 time = 1.h | |
47 } | |
48 } | |
49 } | |
50 | |
51 } |