Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not set IS_SIMULATED_DATA in gen_topo_o2dpg.sh, its value is set in setenv.sh depending on the runtype #1744

Merged
merged 2 commits into from
Sep 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion DATA/tools/epn/gen_topo_o2dpg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# Some defaults
[[ -z "$GEN_TOPO_STDERR_LOGGING" ]] && export GEN_TOPO_STDERR_LOGGING=1 # Enable logging of stderr messages
[[ -z "$IS_SIMULATED_DATA" ]] && export IS_SIMULATED_DATA=0 # by default we are processing raw data

# Check settings coming from AliECS via env variables
if [[ -z "$GEN_TOPO_HASH" ]]; then echo \$GEN_TOPO_HASH missing; exit 1; fi # Flag whether source is a hash or a folder
Expand All @@ -29,6 +28,8 @@ if [[ "${DEBUG_TOPOLOGY_GENERATION:=0}" == "1" ]]; then
GEN_TOPO_MI100_NODES=1 # also for MI100 nodes
GEN_TOPO_OVERRIDE_TEMPDIR=$PWD # keep temporary files like QC jsons in local directory
EPN2EOS_METAFILES_DIR=/tmp # nothing is written here, just needs to be set to something
unset ECS_ENVIRONMENT_ID
unset GEN_TOPO_CACHE_HASH
fi

# Check settings coming from the EPN
Expand Down