From d54a86c6c83e3cf284f696e9da488c0d6efcce23 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Wed, 15 Jun 2022 00:40:24 +0000 Subject: [PATCH] Resolve "Add JUGGLER_DETECTOR_CONFIG" --- .gitlab-ci.yml | 12 +----------- bin/env.sh | 10 ++++++++-- bin/print_env.sh | 1 + 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 445a13e..7b8a1e1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -76,22 +76,12 @@ detector_benchmarks: needs: ["common:variables"] variables: JUGGLER_DETECTOR: "athena" + JUGGLER_DETECTOR_CONFIG: "athena" COMMON_BENCH_VERSION: "$COMMON_BENCH_VERSION" trigger: project: EIC/benchmarks/detector_benchmarks strategy: depend - #physics_benchmarks: - # stage: benchmarks - # needs: ["common:variables"] - # variables: - # JUGGLER_DETECTOR: "athena" - # COMMON_BENCH_VERSION: "$COMMON_BENCH_VERSION" - # trigger: - # project: EIC/benchmarks/physics_benchmarks - # strategy: depend - - pages: image: eicweb.phy.anl.gov:4567/containers/eic_container/alpine stage: deploy diff --git a/bin/env.sh b/bin/env.sh index 4c5ae97..792b756 100755 --- a/bin/env.sh +++ b/bin/env.sh @@ -8,13 +8,14 @@ ## - BEAMLINE_CONFIG: compact detector files for the interaciton point beamline ## - BEAMLINE_CONFIG_VERSION: compact detector files for the interaciton point beamline ## - JUGGLER_DETECTOR: detector package to be used for the benchmark -## - JUGGLER_DETECTOR_VERISON: detector package to be used for the benchmark +## - JUGGLER_DETECTOR_CONFIG: detector package config to be used for the benchmark +## - JUGGLER_DETECTOR_VERSION: detector package to be used for the benchmark ## - JUGGLER_N_EVENTS: events processed by simulation/reconstruction ## - JUGGLER_INSTALL_PREFIX: location where Juggler (digi/recon) is installed ## - JUGGLER_N_THREADS: Number of threads/processes to spawn in parallel ## - JUGGLER_RNG_SEED: Random seed for the RNG ## -## It also defines the following additional variables for internal usage +## It also defines the following additional variables for internally usage ## - LOCAL_PREFIX: prefix for packages installed during the benchmark ## - LOCAL_DATA_PATH: local storage for pipeline jobs ## - DETECTOR_PREFIX: prefix for the detector definitions @@ -46,6 +47,10 @@ if [ ! -n "${JUGGLER_DETECTOR}" ] ; then export JUGGLER_DETECTOR="athena" fi +if [ ! -n "${JUGGLER_DETECTOR_CONFIG}" ] ; then + export JUGGLER_DETECTOR_CONFIG="athena" +fi + if [ ! -n "${JUGGLER_DETECTOR_VERSION}" ] ; then export JUGGLER_DETECTOR_VERSION="master" fi @@ -118,6 +123,7 @@ export ROOT_BUILD_DIR=$LOCAL_PREFIX/root_build export ROOT_INCLUDE_PATH=${LOCAL_PREFIX}/include:${ROOT_INCLUDE_PATH} echo "JUGGLER_DETECTOR: ${JUGGLER_DETECTOR}" +echo "JUGGLER_DETECTOR_CONFIG: ${JUGGLER_DETECTOR_CONFIG}" echo "JUGGLER_DETECTOR_VERSION: ${JUGGLER_DETECTOR_VERSION}" echo "JUGGLER_N_EVENTS: ${JUGGLER_N_EVENTS}" echo "JUGGLER_N_THREADS: ${JUGGLER_N_THREADS}" diff --git a/bin/print_env.sh b/bin/print_env.sh index d8b19f5..5c37447 100755 --- a/bin/print_env.sh +++ b/bin/print_env.sh @@ -2,6 +2,7 @@ echo "JUGGLER_TAG: ${JUGGLER_TAG}" echo "JUGGLER_DETECTOR: ${JUGGLER_DETECTOR}" +echo "JUGGLER_DETECTOR_CONFIG: ${JUGGLER_DETECTOR_CONFIG}" echo "JUGGLER_DETECTOR_VERSION: ${JUGGLER_DETECTOR_VERSION}" echo "JUGGLER_N_EVENTS: ${JUGGLER_N_EVENTS}" echo "JUGGLER_N_THREADS: ${JUGGLER_N_THREADS}" -- GitLab