Skip to content

Commit

Permalink
Adjustments in analysis testing
Browse files Browse the repository at this point in the history
  • Loading branch information
sawenzel committed Jul 22, 2021
1 parent c748482 commit 062231d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions MC/analysis_testing/analysis_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ testanalysis=$1 # o2-analysistutorial-mc-histograms o2-analysis-spectra-tof-tiny
NTF=$(find ./ -name "tf*" -type d | wc | awk '//{print $1}')
#

commonDPL="-b --run --driver-client-backend ws:// --aod-memory-rate-limit 1000000000 --fairmq-ipc-prefix ${FAIRMQ_IPC_PREFIX:-./.tmp}"
annaCMD="RC=0; if [ -f AO2D.root ]; then ${testanalysis} ${commonDPL} --aod-file AO2D.root; RC=\$?; fi; [ -f AnalysisResults.root ] && mv AnalysisResults.root AnalysisResults_${testanalysis}.root; [ -f QAResult.root ] && mv QAResults.root QAResults_${testanalysis}.root; [ \${RC} -eq 0 ]"
commonDPL="-b --run --driver-client-backend ws:// --aod-memory-rate-limit 4000000000 --fairmq-ipc-prefix ${FAIRMQ_IPC_PREFIX:-./.tmp}"
annaCMD="RC=0; if [ -f AO2D.root ]; then timeout 600s ${testanalysis} ${commonDPL} --aod-file AO2D.root; RC=\$?; fi; [ -f AnalysisResults.root ] && mv AnalysisResults.root AnalysisResults_${testanalysis}.root; [ -f QAResult.root ] && mv QAResults.root QAResults_${testanalysis}.root; [ \${RC} -eq 0 ]"

rm workflow_ana.json
# this is to analyse the global (merged) AOD
Expand All @@ -41,9 +41,9 @@ do
done

# run the individual AOD part
$O2DPG_ROOT/MC/bin/o2_dpg_workflow_runner.py -f workflow_ana.json -tt ${testanalysis}_.*$ --rerun-from ${testanalysis}_.*$
RC1=$?
echo "EXIT 1: $RC1"
# $O2DPG_ROOT/MC/bin/o2_dpg_workflow_runner.py -f workflow_ana.json -tt ${testanalysis}_.*$ --rerun-from ${testanalysis}_.*$
# RC1=$?
# echo "EXIT 1: $RC1"

# run on the merged part
$O2DPG_ROOT/MC/bin/o2_dpg_workflow_runner.py -f workflow_ana.json -tt ${testanalysis}$ --rerun-from ${testanalysis}$
Expand Down

0 comments on commit 062231d

Please sign in to comment.