Skip to content

Commit 00864fd

Browse files
authored
Merge pull request #250 from JeffersonLab/aaust_b1pi_updates
b1pi_test updates for jana2
2 parents acf683b + aa1bc97 commit 00864fd

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

b1pi_test/b1pi_cron.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
hosts="ifarm1901 sandd1 ifarm9"
2+
hosts="halld-cron-2024 ifarm2401"
33
date_token=`date +%F`
44
date_file=/volatile/halld/$USER/b1pi_date.txt
55
rm -fv $date_file
@@ -31,6 +31,7 @@ while [ $nprocs -ne 0 ]
3131
sleep 300
3232
done
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
3637
exit

b1pi_test/b1pi_cron_one.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ export BMS_OSNAME=`/group/halld/Software/build_scripts/osrelease.pl`
1111
export BUILD_DIR=/volatile/halld/gluex/nightly/$TODAYS_DATE/$BMS_OSNAME
1212
export B1PI_TEST_DIR=/group/halld/Software/hd_utilities/b1pi_test
1313
export BUILD_SCRIPTS=/group/halld/Software/build_scripts
14+
export SEED=123
1415

1516
# Setup environment based on sim-recon build we're using
1617
source $BUILD_SCRIPTS/gluex_env_boot_jlab.sh
1718
gxenv $BUILD_DIR/version_${TODAYS_DATE}.xml
19+
#gxenv $HALLD_VERSIONS/version_5.21.1.xml
1820
export 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
2325
rm -rfv $RUN_DIR
2426
mkdir -pv $RUN_DIR
2527
cd $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
2729
echo \#count events
2830
echo \#count b1_pi.hddm `./hddm_counter.pl b1_pi.hddm physicsEvent`
2931
echo \#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
4143
rm -rfv $RUN_DIR
4244
mkdir -pv $RUN_DIR
4345
cd $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
4547
echo \#count events
4648
echo \#count b1_pi.hddm `./hddm_counter.pl b1_pi.hddm physicsEvent`
4749
echo \#count hdgeant.hddm `./hddm_counter.pl hdgeant.hddm physicsEvent`

b1pi_test/b1pi_test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,17 +141,17 @@ echo $command
141141
$command
142142

143143
echo "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"
145145
echo $command
146146
$command
147147

148148
echo "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"
150150
echo $command
151151
$command
152152

153153
echo "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"
155155
echo $command
156156
$command
157157

0 commit comments

Comments
 (0)