Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MooreOnline
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
LHCb
MooreOnline
Commits
3112e720
Commit
3112e720
authored
1 year ago
by
Rosen Matev
Browse files
Options
Downloads
Patches
Plain Diff
Fixes for online histograms and HLT2 support
parent
d55e6a2a
No related branches found
No related tags found
1 merge request
!236
Fixes for online histograms and HLT2 monitoring support
Pipeline
#5522564
passed
1 year ago
Stage: test
Stage: .post
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MooreOnlineConf/options/online.py
+23
-5
23 additions, 5 deletions
MooreOnlineConf/options/online.py
with
23 additions
and
5 deletions
MooreOnlineConf/options/online.py
+
23
−
5
View file @
3112e720
...
...
@@ -53,13 +53,31 @@ flow.BarrierAlgNames = cfm.BarrierAlgNames
ExecutionReportsWriter
().
Scheduler
=
flow
application
.
setup_monitoring
(
task_type
)
application
.
monSvc
.
DimUpdateInterval
=
1
application
.
updateAndReset
.
saveHistograms
=
1
application
.
updateAndReset
.
saveSetDir
=
"
/hist/Savesets
"
# Never update the "bulk" DIM histogram service for HLT2 and monitoring tasks.
# (For HLT1 it has to be done since the adders rely on it)
application
.
monSvc
.
DimUpdateInterval
=
1000000
# timer interval in seconds
application
.
monSvc
.
HistUpdateOnStop
=
False
# do not update on stop
# prevent duplicated entries in the output...
application
.
monSvc
.
disableDeclareInfoHistos
=
True
if
task_type
!=
"
HLT2
"
:
application
.
updateAndReset
.
saveHistograms
=
1
# intermediate saveset period in seconds
application
.
updateAndReset
.
saverCycle
=
600
application
.
updateAndReset
.
saveSetDir
=
"
/hist/Savesets
"
if
OnlineEnv
.
PartitionName
.
startswith
(
"
TEST
"
):
application
.
updateAndReset
.
saveSetDir
=
"
Savesets
"
else
:
# TODO AdditionalAlgs / PreambleAlgs should be used for all tasks...
from
MooreOnlineConf.utils
import
update_and_reset
uar_config
=
update_and_reset
().
configuration
()
uar_algs
=
uar_config
.
apply
()[
0
]
flow
.
AdditionalAlgs
=
uar_algs
application
.
updateAndReset
.
saveSetFilePrefix
=
(
"
ByRun/${TASKNAME}/ToMerge/
"
+
"
${RUN10000}/${RUN1000}/${RUN}/${UTGID}-${RUN}-${TIME}
"
)
# big number such that we don't save intermediate savesets:
application
.
updateAndReset
.
saverCycle
=
3600
*
24
*
7
if
OnlineEnv
.
PartitionName
.
startswith
(
"
TEST
"
):
application
.
updateAndReset
.
saveSetDir
=
"
Savesets
"
# application.updateAndReset.saverCycle = 20
try
:
n_threads
=
int
(
os
.
environ
[
"
NBOFTHREADS
"
])
...
...
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