3 Options file to test fix for https://sft.its.cern.ch/jira/browse/CFHEP-114 4 a problem which is ther when declaring dependencies explicitely in the scheduler 5 and having more dependencies than algorithms. 9 from Configurables
import HiveWhiteBoard, HiveSlimEventLoopMgr, AvalancheSchedulerSvc, CPUCruncher, AlgResourcePool, CPUCrunchSvc
19 whiteboard = HiveWhiteBoard(
"EventDataSvc", EventSlots=evtslots)
21 slimeventloopmgr = HiveSlimEventLoopMgr(OutputLevel=INFO)
23 scheduler = AvalancheSchedulerSvc(
24 ThreadPoolSize=algosInFlight, OutputLevel=WARNING)
26 AlgResourcePool(OutputLevel=DEBUG)
28 CPUCrunchSvc(shortCalib=
True)
30 a1 = CPUCruncher(
"A1", varRuntime=.01, avgRuntime=.1)
31 a1.outKeys = [
'/Event/a1']
33 a2 = CPUCruncher(
"A2")
34 a2.outKeys = [
'/Event/a2']
36 a3 = CPUCruncher(
"A3")
37 a3.outKeys = [
'/Event/a3',
'/Event/a4']
39 a4 = CPUCruncher(
"A4")
40 a4.outKeys = [
'/Event/a5']
42 for algo
in [a1, a2, a3, a4]:
43 algo.Cardinality = cardinality
44 algo.OutputLevel = WARNING
50 EventLoop=slimeventloopmgr,
51 TopAlg=[a1, a2, a3, a4],
52 MessageSvcType=
"InertMessageSvc")
Thread safe extension to the standard MessageSvc.
The Application Manager class.