File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
2- hosts=" ifarm1901 sandd1 ifarm9 "
2+ hosts=" halld-cron-2024 ifarm2401 "
33date_token=` date +%F`
44date_file=/volatile/halld/$USER /b1pi_date.txt
55rm -fv $date_file
@@ -31,6 +31,7 @@ while [ $nprocs -ne 0 ]
3131 sleep 300
3232done
3333/group/halld/Software/hd_utilities/b1pi_test/b1pi_message.sh
34- source /group/halld/Software/build_scripts/gluex_env_jlab.sh
34+ HALLD_VERSIONS=/group/halld/www/halldweb/html/halld_versions
35+ source /group/halld/Software/build_scripts/gluex_env_jlab.sh $HALLD_VERSIONS /version.xml
3536/group/halld/Software/time-history-plots/plots/b1pi_test/b1pi_history_data.sh $date_token >> /group/halld/time_history_data/b1pi_test.txt
3637exit
Original file line number Diff line number Diff line change @@ -11,10 +11,12 @@ export BMS_OSNAME=`/group/halld/Software/build_scripts/osrelease.pl`
1111export BUILD_DIR=/volatile/halld/gluex/nightly/$TODAYS_DATE /$BMS_OSNAME
1212export B1PI_TEST_DIR=/group/halld/Software/hd_utilities/b1pi_test
1313export BUILD_SCRIPTS=/group/halld/Software/build_scripts
14+ export SEED=123
1415
1516# Setup environment based on sim-recon build we're using
1617source $BUILD_SCRIPTS /gluex_env_boot_jlab.sh
1718gxenv $BUILD_DIR /version_${TODAYS_DATE} .xml
19+ # gxenv $HALLD_VERSIONS/version_5.21.1.xml
1820export JANA_CALIB_CONTEXT=" variation=mc"
1921
2022# do the test
@@ -23,7 +25,7 @@ export RUN_DIR=/volatile/halld/$USER/b1pi/$TODAYS_DATE/$BMS_OSNAME/$RUN
2325rm -rfv $RUN_DIR
2426mkdir -pv $RUN_DIR
2527cd $RUN_DIR
26- $B1PI_TEST_DIR /b1pi_test.sh -4 -n $nevents -r $RUN
28+ $B1PI_TEST_DIR /b1pi_test.sh -4 -n $nevents -r $RUN -t 8
2729echo \# count events
2830echo \# count b1_pi.hddm ` ./hddm_counter.pl b1_pi.hddm physicsEvent`
2931echo \# count hdgeant.hddm ` ./hddm_counter.pl hdgeant.hddm physicsEvent`
@@ -41,7 +43,7 @@ export RUN_DIR=/volatile/halld/$USER/b1pi/$TODAYS_DATE/$BMS_OSNAME/$RUN
4143rm -rfv $RUN_DIR
4244mkdir -pv $RUN_DIR
4345cd $RUN_DIR
44- $B1PI_TEST_DIR /b1pi_test.sh -n $nevents -r $RUN -4
46+ $B1PI_TEST_DIR /b1pi_test.sh -n $nevents -r $RUN -4 -t 8
4547echo \# count events
4648echo \# count b1_pi.hddm ` ./hddm_counter.pl b1_pi.hddm physicsEvent`
4749echo \# count hdgeant.hddm ` ./hddm_counter.pl hdgeant.hddm physicsEvent`
Original file line number Diff line number Diff line change @@ -141,17 +141,17 @@ echo $command
141141$command
142142
143143echo " Running mcsmear ..."
144- command=" mcsmear -PJANA:BATCH_MODE=1 -PTHREAD_TIMEOUT=500 hdgeant.hddm"
144+ command=" mcsmear -Pjana:warmup_timeout=1000 -Pjana:timeout=1000 hdgeant.hddm"
145145echo $command
146146$command
147147
148148echo " Running hd_root with danarest ..."
149- command=" hd_root -PJANA:BATCH_MODE=1 --nthreads= $NTHREADS -PTHREAD_TIMEOUT=500 -PPLUGINS=danarest hdgeant_smeared.hddm"
149+ command=" hd_root -PNTHREADS= $NTHREADS -Pjana:warmup_timeout=1000 -Pjana:timeout=1000 -PPLUGINS=danarest hdgeant_smeared.hddm"
150150echo $command
151151$command
152152
153153echo " Running hd_root with b1pi_hists & monitoring_hists ..."
154- command=" hd_root -PJANA:BATCH_MODE=1 --nthreads= $NTHREADS -PTHREAD_TIMEOUT=500 -PPLUGINS=b1pi_hists,monitoring_hists dana_rest.hddm"
154+ command=" hd_root -PNTHREADS= $NTHREADS -Pjana:warmup_timeout=1000 -Pjana:timeout=1000 -PPLUGINS=b1pi_hists,monitoring_hists dana_rest.hddm"
155155echo $command
156156$command
157157
You can’t perform that action at this time.
0 commit comments