Skip to content

Commit f546098

Browse files
committed
Update O2 workflow configuration
1 parent d69be56 commit f546098

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

codeHF/config_tasks.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,6 @@ function AdjustJson {
180180
cp "$JSON" "$JSON_EDIT" || ErrExit "Failed to cp $JSON $JSON_EDIT."
181181
JSON="$JSON_EDIT"
182182

183-
# Derived AO2D input
184-
if [ "$INPUT_PARENT_MASK" ]; then
185-
ReplaceString "PARENT_PATH_MASK" "$INPUT_PARENT_MASK" "$JSON" || ErrExit "Failed to edit $JSON."
186-
fi
187-
188183
# Collision system
189184
MsgWarn "Setting collision system $INPUT_SYS"
190185

@@ -563,6 +558,10 @@ function MakeScriptO2 {
563558
ReplaceString "$SUFFIX_RUN_MASK" "$SUFFIX_RUN" "$DATABASE_O2" || ErrExit "Failed to edit $DATABASE_O2."
564559
ReplaceString "$SUFFIX_SKIM_MASK" "$SUFFIX_SKIM" "$DATABASE_O2" || ErrExit "Failed to edit $DATABASE_O2."
565560
ReplaceString "$SUFFIX_DER_MASK" "$SUFFIX_DER" "$DATABASE_O2" || ErrExit "Failed to edit $DATABASE_O2."
561+
# Derived AO2D input
562+
if [ "$INPUT_PARENT_MASK" ]; then
563+
ReplaceString "PARENT_PATH_MASK" "$INPUT_PARENT_MASK" "$DATABASE_O2" || ErrExit "Failed to edit $DATABASE_O2."
564+
fi
566565

567566
# Generate the O2 command.
568567
MAKECMD="python3 $DIR_EXEC/make_command_o2.py $DATABASE_O2 $OPT_MAKECMD"

codeHF/dpl-config_run3.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66
"start-value-enumeration": "0",
77
"end-value-enumeration": "-1",
88
"step-value-enumeration": "1",
9-
"aod-file-private": "@list_o2.txt",
10-
"aod-file": "@list_o2.txt",
11-
"aod-parent-base-path-replacement": "PARENT_PATH_MASK",
12-
"aod-parent-access-level": 1
9+
"aod-file-private": "@list_o2.txt"
1310
},
1411
"hf-track-index-skim-creator-tag-sel-collisions": {
1512
"fillHistograms": "true",

codeHF/workflows.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
---
22
options:
3-
global: "" # used once at the end of the command
4-
local: # used for every workflow
5-
- "-b"
6-
- "--configuration json://$JSON"
3+
global: # used once at the end of the command
74
- "--aod-memory-rate-limit 2000000000"
85
- "--shm-segment-size 16000000000"
6+
- "--aod-parent-base-path-replacement PARENT_PATH_MASK"
7+
- "--aod-parent-access-level 1"
98
- "--resources-monitoring 2"
9+
local: # used for every workflow
10+
- "-b"
11+
- "--configuration json://$JSON"
1012
# - "--min-failure-level error"
1113

1214
workflows:

0 commit comments

Comments
 (0)