File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -53,11 +53,16 @@ export CYCLE=0
5353# generator and other sim configuration
5454export ALIEN_JDL_ANCHOR_SIM_OPTIONS=" %{SIM_OPTIONS}"
5555
56+ export O2DPG_CUSTOM_REPO=" %{O2DPG_CUSTOM_REPO}"
57+
5658# we allow the possibility to use a special O2DPG version
5759if [ " ${O2DPG_CUSTOM_REPO} " ]; then
60+ echo " Checking out custom O2DPG repo ${O2DPG_CUSTOM_REPO} "
5861 git clone " ${O2DPG_CUSTOM_REPO} " O2DPG
5962 export O2DPG_ROOT=${PWD} /O2DPG
6063 export ALIEN_JDL_O2DPG_OVERWRITE=${PWD} /O2DPG
64+ else
65+ echo " Using O2DPG from released software tag ${O2DPG_ROOT} "
6166fi
6267
6368# execute MC
Original file line number Diff line number Diff line change 8080 # put the require spec
8181 sed -i " s/%{JDL_REQUIREMENT}/${REQUIRE_STRING} /g" " $OUTPUT_FILE_FINAL "
8282
83+ # inject custom repo if available
84+ if [ " ${O2DPG_CUSTOM_REPO} " ]; then
85+ sed -i " s|%{O2DPG_CUSTOM_REPO}|${O2DPG_CUSTOM_REPO} |g" " $OUTPUT_FILE_FINAL "
86+ fi
87+
88+ TOPWORKDIR=2tag_release_testing_${BUILD_TAG:- ${SOFTWARETAG_SIM} }
89+
8390 # we submit the test to the GRID (multiplicity of 4)
8491 # ${WORKING_DIR}/submit_case${count}_${SOFTWARETAG_ASYNC//::/-}
85- echo " ${O2DPG_ROOT} /GRID/utils/grid_submit.sh --prodsplit 4 --singularity --ttl 3600 --script ${OUTPUT_FILE_FINAL} --jobname " anchorTest_${count} " --wait-any --topworkdir 2tag_release_testing_${SOFTWARETAG_SIM} " > ${WORKING_DIR} /submit_case${count} .sh
92+ echo " ${O2DPG_ROOT} /GRID/utils/grid_submit.sh --prodsplit 4 --singularity --ttl 3600 --script ${OUTPUT_FILE_FINAL} \
93+ --jobname " anchorTest_${count} " --wait-any --topworkdir ${TOPWORKDIR} " > ${WORKING_DIR} /submit_case${count} .sh
8694 # TODO: optional local execution with --local option
8795
8896 (( count++ )) # Increment counter for next row
You can’t perform that action at this time.
0 commit comments