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

Remove xenv references

parent 62ea70fe
Branches
No related tags found
1 merge request!132Remove xenv references
......@@ -81,14 +81,12 @@ echo "Running Geant4 simulation"
## - JUGGLER_DETECTOR: detector package (part of global environment)
#export JUGGLER_SIM_FILE=${SIM_FILE}
#export JUGGLER_REC_FILE=${REC_FILE}
#xenv -x ${JUGGLER_INSTALL_PREFIX}/Juggler.xenv \
# gaudirun.py options/tracker_reconstruction.py
#gaudirun.py options/tracker_reconstruction.py
## on-error, first retry running juggler again as there is still a random
## crash we need to address FIXME
#if [ "$?" -ne "0" ] ; then
# echo "Juggler crashed, retrying..."
# xenv -x ${JUGGLER_INSTALL_PREFIX}/Juggler.xenv \
# gaudirun.py options/tracker_reconstruction.py \
# gaudirun.py options/tracker_reconstruction.py \
# 2>&1 > ${REC_LOG}
# if [ "$?" -ne "0" ] ; then
# echo "ERROR running juggler, both attempts failed"
......
......@@ -88,7 +88,6 @@ for rec in options/*.py ; do
unset tag
[[ $(basename ${rec} .py) =~ (.*)\.(.*) ]] && tag=".${BASH_REMATCH[2]}"
JUGGLER_REC_FILE=${JUGGLER_REC_FILE/.root/${tag:-}.root} \
xenv -x ${JUGGLER_INSTALL_PREFIX}/Juggler.xenv \
gaudirun.py ${rec}
done
if [ "$?" -ne "0" ] ; then
......
......@@ -119,7 +119,6 @@ if [[ -n "${DO_REC}" || -n "${DO_ALL}" ]] ; then
unset tag
[[ $(basename ${rec} .py) =~ (.*)\.(.*) ]] && tag=".${BASH_REMATCH[2]}"
JUGGLER_REC_FILE=${JUGGLER_REC_FILE/.root/${tag:-}.root} \
xenv -x ${JUGGLER_INSTALL_PREFIX}/Juggler.xenv \
gaudirun.py ${rec}
done
if [[ "$?" -ne "0" ]] ; then
......
......@@ -88,7 +88,6 @@ for rec in options/*.py ; do
unset tag
[[ $(basename ${rec} .py) =~ (.*)\.(.*) ]] && tag=".${BASH_REMATCH[2]}"
JUGGLER_REC_FILE=${JUGGLER_REC_FILE/.root/${tag:-}.root} \
xenv -x ${JUGGLER_INSTALL_PREFIX}/Juggler.xenv \
gaudirun.py ${rec}
done
if [ "$?" -ne "0" ] ; then
......
......@@ -120,7 +120,6 @@ if [[ -n "${DO_REC}" || -n "${DO_ALL}" ]] ; then
unset tag
[[ $(basename ${rec} .py) =~ (.*)\.(.*) ]] && tag=".${BASH_REMATCH[2]}"
JUGGLER_REC_FILE=${JUGGLER_REC_FILE/.root/${tag:-}.root} \
xenv -x ${JUGGLER_INSTALL_PREFIX}/Juggler.xenv \
gaudirun.py ${rec}
done
if [[ "$?" -ne "0" ]] ; then
......
......@@ -140,7 +140,6 @@ if [[ -n "${DO_REC}" || -n "${DO_ALL}" ]] ; then
unset tag
[[ $(basename ${rec} .py) =~ (.*)\.(.*) ]] && tag=".${BASH_REMATCH[2]}"
JUGGLER_REC_FILE=${JUGGLER_REC_FILE/.root/${tag:-}.root} \
xenv -x ${JUGGLER_INSTALL_PREFIX}/Juggler.xenv \
gaudirun.py ${rec} || [ $? -eq 4 ]
done
......
......@@ -118,7 +118,6 @@ if [[ -n "${DO_REC}" || -n "${DO_ALL}" ]] ; then
unset tag
[[ $(basename ${rec} .py) =~ (.*)\.(.*) ]] && tag=".${BASH_REMATCH[2]}"
JUGGLER_REC_FILE=${JUGGLER_REC_FILE/.root/${tag:-}.root} \
xenv -x ${JUGGLER_INSTALL_PREFIX}/Juggler.xenv \
gaudirun.py ${rec}
done
if [[ "$?" -ne "0" ]] ; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment