Skip to content

Commit 99a69f8

Browse files
authored
Merge pull request #239 from CESNET/hapog_tpv_hot_fix
Hapog tpv hot fix
2 parents bb2bdd4 + 31960f3 commit 99a69f8

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

templates/galaxy/config/tpv_rules_meta.yml.j2

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ tools:
77
mem: cores * 4
88
env:
99
- name: GALAXY_SLOTS
10-
value: "{cores}"
10+
value: cores
1111
- name: GALAXY_MEMORY_MB
12-
value: "{int(mem)*1000}"
12+
value: mem * 1000
13+
- name: GALAXY_MEMORY_MB_PER_SLOT
14+
value: int(mem / cores) * 1000
1315
context:
1416
walltime: 24
1517
scratch: 50
@@ -127,10 +129,15 @@ tools:
127129
.*/data_manager_.*:
128130
inherits: local_sing_running_tools
129131

132+
.*/hapog/.*:
133+
cores: 8
134+
context:
135+
walltime: 48
136+
130137
roles:
131138
training.*:
132139
max_cores: 4
133-
max_mem: max_cores * 4 # TODO check multiplier
140+
max_mem: max_cores * 4
134141
scheduling:
135142
require:
136143
- pulsar

0 commit comments

Comments
 (0)