Skip to content
Snippets Groups Projects
Commit d54a86c6 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Resolve "Add JUGGLER_DETECTOR_CONFIG"

parent fed85dc7
Branches
No related tags found
2 merge requests!48Merge master into feature branch,!45Resolve "Add JUGGLER_DETECTOR_CONFIG"
......@@ -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
......
......@@ -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}"
......
......@@ -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}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment