Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Sherwood
athena
Commits
e74cafa0
Commit
e74cafa0
authored
4 years ago
by
Mark Hodgkinson
Browse files
Options
Downloads
Patches
Plain Diff
Add xAODDigest commands to five threads comparison test, to be used for diagnostics.
parent
3a681212
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_q431_compareFiveThreads.sh
+3
-0
3 additions, 0 deletions
...coTest/test/test_recexreco_art_q431_compareFiveThreads.sh
with
3 additions
and
0 deletions
Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_q431_compareFiveThreads.sh
+
3
−
0
View file @
e74cafa0
...
@@ -13,12 +13,14 @@ preExecStringTwo="ESDtoAOD:from RecExConfig.RecFlags import rec;rec.doTrigger.se
...
@@ -13,12 +13,14 @@ preExecStringTwo="ESDtoAOD:from RecExConfig.RecFlags import rec;rec.doTrigger.se
mkdir
runOne
;
cd
runOne
mkdir
runOne
;
cd
runOne
Reco_tf.py
--athenaopts
=
"--threads=5"
--steering
"no"
--AMI
=
q431
--preExec
"
${
preExecStringOne
}
"
"
${
preExecStringTwo
}
"
--outputAODFile
=
myAOD.pool.root
--outputESDFile
=
myESD.pool.root |
tee
athenarunOne.log
Reco_tf.py
--athenaopts
=
"--threads=5"
--steering
"no"
--AMI
=
q431
--preExec
"
${
preExecStringOne
}
"
"
${
preExecStringTwo
}
"
--outputAODFile
=
myAOD.pool.root
--outputESDFile
=
myESD.pool.root |
tee
athenarunOne.log
rc1
=
${
PIPESTATUS
[0]
}
rc1
=
${
PIPESTATUS
[0]
}
xAODDigest.py myAOD.pool.root |
tee
digestOne.log
echo
"art-result:
$rc1
runOne"
echo
"art-result:
$rc1
runOne"
cd
../
cd
../
mkdir
runTwo
;
cd
runTwo
mkdir
runTwo
;
cd
runTwo
Reco_tf.py
--athenaopts
=
"--threads=5"
--steering
"no"
--AMI
=
q431
--preExec
"
${
preExecStringOne
}
"
"
${
preExecStringTwo
}
"
--outputAODFile
=
myAOD.pool.root
--outputESDFile
=
myESD.pool.root |
tee
athenarunTwo.log
Reco_tf.py
--athenaopts
=
"--threads=5"
--steering
"no"
--AMI
=
q431
--preExec
"
${
preExecStringOne
}
"
"
${
preExecStringTwo
}
"
--outputAODFile
=
myAOD.pool.root
--outputESDFile
=
myESD.pool.root |
tee
athenarunTwo.log
rc2
=
${
PIPESTATUS
[0]
}
rc2
=
${
PIPESTATUS
[0]
}
xAODDigest.py myAOD.pool.root |
tee
digestTwo.log
echo
"art-result:
$rc2
runTwo"
echo
"art-result:
$rc2
runTwo"
if
[[
$rc1
-eq
0
]]
&&
[[
$rc2
-eq
0
]]
if
[[
$rc1
-eq
0
]]
&&
[[
$rc2
-eq
0
]]
...
@@ -26,6 +28,7 @@ then
...
@@ -26,6 +28,7 @@ then
echo
"Compare two directories"
echo
"Compare two directories"
art.py compare ref
--entries
10
--mode
=
semi-detailed
--order-trees
--diff-root
.
../runOne/ |
tee
diffFiveThreads.log
art.py compare ref
--entries
10
--mode
=
semi-detailed
--order-trees
--diff-root
.
../runOne/ |
tee
diffFiveThreads.log
rcDiff
=
${
PIPESTATUS
[0]
}
rcDiff
=
${
PIPESTATUS
[0]
}
diff digestTwo.log ../runOne/digestOne.log |
tee
digestDiffOneTwo.log
echo
"art-result:
$rcDiff
Diff-Serial-OneThread"
echo
"art-result:
$rcDiff
Diff-Serial-OneThread"
fi
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment