13A test to demonstrate stalling for a conditions algorithm
15 - Control flow requires that Alg C run after Alg B
16 - Alg B requires conditions data produced by Alg A
17 - However, Alg A requires the output from Alg C, and thus the job will stall
21from Configurables
import (
23 AvalancheSchedulerSvc,
50 SchedulerName=
"AvalancheSchedulerSvc", OutputLevel=INFO
61 ThreadPoolSize=threads, OutputLevel=INFO, CheckDependencies=
True, DataLoaderAlg=
""
75from Configurables
import Gaudi__TestSuite__Conditions__CondSvc
as CS
77condSvc = CS(name=
"CondSvc", Algs=[
"AlgA"], Data=[
"/Event/A1"])
83a1 = Test__ViewTester(
"AlgA", OutputLevel=INFO)
84a1.outKeys = [
"/Event/A1"]
85a1.inpKeys = [
"/Event/A2"]
87a2 = Test__ViewTester(
"AlgB", OutputLevel=INFO)
88a2.inpKeys = [
"/Event/A1"]
90a3 = Test__ViewTester(
"AlgC", OutputLevel=INFO)
91a3.outKeys = [
"/Event/A2"]
93algSeq = Gaudi__Sequencer(
94 "algSeq", Members=[a1, a2, a3], Sequential=
True, OutputLevel=INFO
103 ExtSvc=[whiteboard, condSvc],
104 EventLoop=slimeventloopmgr,
106 MessageSvcType=
"InertMessageSvc",
The AlgResourcePool is a concrete implementation of the IAlgResourcePool interface.
The Application Manager class.