The Gaudi Framework
master (7cfdc4e8)
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
c
d
e
f
i
l
m
n
o
p
q
r
s
t
v
Enumerator
a
b
c
d
e
f
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Properties
Related Symbols
:
a
b
c
d
e
g
h
i
m
o
p
r
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
_
b
c
e
f
g
h
i
l
m
o
p
r
s
t
u
z
Variables
a
b
c
d
e
g
h
i
m
o
p
r
s
t
v
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Enumerations
Enumerator
Macros
_
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
▼
The Gaudi Framework
Gaudi Software Framework
►
Changelog
►
Changelog
►
Gaudi Manual
►
release.notes.v28r2p1
►
release.notes.v29r0
►
release.notes.v29r1
►
release.notes.v29r2
►
release.notes.v29r3
►
release.notes.v29r4
►
release.notes.v29r5
►
release.notes.v30r0
►
release.notes.v30r1
►
release.notes.v30r2
►
release.notes.v30r3
►
release.notes.v30r4
►
release.notes.v30r5
►
release.notes.v31r0
►
release.notes.v32r0
►
release.notes.v32r1
►
release.notes.v32r2
►
Related external libraries
►
Release Notes
Fix-Me's
Todo List
Deprecated List
►
Topics
►
Namespaces
►
Concepts
►
Classes
▼
Files
▼
File List
►
docs
►
Gaudi
►
GaudiAud
►
GaudiCommonSvc
►
GaudiConfiguration
►
GaudiCoreSvc
►
GaudiCUDA
►
GaudiExamples
►
GaudiFunctional
▼
GaudiHive
▼
options
►
AtlasMCRecoFullPrecedenceDump.py
►
AtlasMCRecoScenario.py
►
AutoLoadUnmetDataInputs.py
►
AvalancheSchedulerErrorTest.py
►
AvalancheSchedulerSimpleTest.py
►
BasicViewTest.py
►
BrunelScenarioAvalancheScheduler.py
►
BugCFHEP114.py
►
CFBugWithEmptyNode.py
►
CFinViewTest.py
►
ConditionsStallTest.py
►
ControlFlowBranching+CrossBranchDataFlow.py
►
DetectSCCinDF.py
►
detectSimpleStall.py
►
EarlyTerminatingBranchesSharingAlgorithm.py
►
graphanalysis.py
►
jsonFromLHCbLog.py
►
ManySmallAlgs.py
►
ModelDFAmbiguity.py
►
OffloadAtlasMCRecoScenario.py
►
OffloadCMSRecoScenario.py
►
ReadAndWriteWhiteBoard.py
►
ReadWhiteBoard.py
►
SequentialAlgSequencerTest.py
►
SubSlotException.py
►
SubSlotVsSlotIsolation.py
►
testMultithreadedAlg.py
►
testWhiteBoard.py
►
ViewIsolationTest.py
►
ViewThenViewTest.py
►
WriteWhiteBoard.py
►
profiling
►
python
►
scripts
►
src
►
GaudiKernel
►
GaudiMonitor
►
GaudiMP
►
GaudiPartProp
►
GaudiPluginService
►
GaudiPolicy
►
GaudiPython
►
GaudiRelease
►
GaudiRelease
►
GaudiSvc
►
GaudiTestSuite
►
GaudiUtils
►
include
►
PartPropSvc
►
RootCnv
►
RootHistCnv
►
utils
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
BrunelScenarioAvalancheScheduler.py
Go to the documentation of this file.
1
#!/usr/bin/env gaudirun.py
2
12
13
from
Configurables
import
(
14
AlgResourcePool,
15
AvalancheSchedulerSvc,
16
CPUCrunchSvc,
17
HiveSlimEventLoopMgr,
18
HiveWhiteBoard,
19
)
20
from
Gaudi.Configuration
import
*
21
22
# convenience machinery for assembling custom graphs of algorithm precedence rules (w/ CPUCrunchers as algorithms)
23
from
GaudiHive
import
precedence
24
25
# metaconfig
26
evtslots = 1
27
evtMax = 1
28
cardinality = 1
29
algosInFlight = 4
30
algoAvgTime = 0.02
31
32
InertMessageSvc
(OutputLevel=INFO)
33
34
whiteboard =
HiveWhiteBoard
(
35
"EventDataSvc"
, EventSlots=evtslots, OutputLevel=INFO, ForceLeaves=
True
36
)
37
38
slimeventloopmgr =
HiveSlimEventLoopMgr
(
39
SchedulerName=
"AvalancheSchedulerSvc"
, OutputLevel=INFO
40
)
41
42
scheduler =
AvalancheSchedulerSvc
(
43
ThreadPoolSize=algosInFlight,
44
OutputLevel=DEBUG,
45
Optimizer=
"DRE"
,
46
PreemptiveBlockingTasks=
False
,
47
DumpIntraEventDynamics=
False
,
48
)
49
50
AlgResourcePool
(OutputLevel=DEBUG)
51
52
CPUCrunchSvc
(shortCalib=
True
)
53
54
timeValue =
precedence.UniformTimeValue
(avgRuntime=algoAvgTime)
55
# timeValue = precedence.RealTimeValue(
56
# path="lhcb/reco/timing.Brunel.1kE.json", defaultTime=0.0)
57
ifIObound =
precedence.UniformBooleanValue
(
False
)
58
# 296 values, biased approximately as 90% to 10% - corresponds to the .GRAPHML scenario used below
59
# (295 precedence graph algorithms, plus one fake algorithm - FetchFromFile)
60
# ifIObound = precedence.RndBiasedBoolenValue(pattern = {True: 29, False: 267}, seed=1)
61
62
sequencer =
precedence.CruncherSequence
(
63
timeValue,
64
ifIObound,
65
sleepFraction=0.0,
66
cfgPath=
"lhcb/reco/cf.Brunel.graphml"
,
67
dfgPath=
"lhcb/reco/df.Brunel.graphml"
,
68
topSequencer=
"BrunelSequencer"
,
69
).get()
70
71
ApplicationMgr
(
72
EvtMax=evtMax,
73
EvtSel=
"NONE"
,
74
ExtSvc=[whiteboard],
75
EventLoop=slimeventloopmgr,
76
TopAlg=[sequencer],
77
MessageSvcType=
"InertMessageSvc"
,
78
OutputLevel=INFO,
79
)
AlgResourcePool
The AlgResourcePool is a concrete implementation of the IAlgResourcePool interface.
Definition
AlgResourcePool.h:37
ApplicationMgr
The Application Manager class.
Definition
ApplicationMgr.h:54
AvalancheSchedulerSvc
Definition
AvalancheSchedulerSvc.h:113
CPUCrunchSvc
Definition
CPUCrunchSvc.h:22
HiveSlimEventLoopMgr
Definition
HiveSlimEventLoopMgr.h:31
HiveWhiteBoard
Data service base class.
Definition
HiveWhiteBoard.cpp:128
InertMessageSvc
Thread safe extension to the standard MessageSvc.
Definition
InertMessageSvc.h:32
precedence.CruncherSequence
Definition
precedence.py:166
precedence.UniformBooleanValue
Definition
precedence.py:113
precedence.UniformTimeValue
Definition
precedence.py:61
Gaudi.Configuration
Definition
Configuration.py:1
GaudiHive
options
BrunelScenarioAvalancheScheduler.py
Generated on Fri Oct 24 2025 09:53:22 for The Gaudi Framework by
1.13.1