Bug #22691
RandomNumberService cannot be run with more than one schedule
Occurs In:
Scope:
Internal
Experiment:
Mu2e
SSI Package:
art
Description
I am trying to use the RandomNumberService in a ReplicatedProducer module and when I try to run the code with 2 schedules I get the following error message:
...
ServiceCreation
---- Configuration BEGIN
The service 'RandomNumberGenerator' is a legacy service,
which can be used with only one schedule and one thread.
This job uses 2 schedules and 2 threads.
Please reconfigure your job to use only one schedule/thread.
---- Configuration END
cet::exception caught during construction of service type art::RandomNumberGenerator:
---- OtherArt END
...
Can RandomNumber Service be made available for multithreaded work?
History
#1 Updated by Kyle Knoepfel over 1 year ago
- % Done changed from 0 to 100
- Target version set to 3.03.00
- Assignee set to Kyle Knoepfel
- Status changed from New to Resolved
- Category set to Infrastructure
Resolved with commit art:b6040c8.
#2 Updated by Lisa Goodenough over 1 year ago
Thank you Kyle.
#3 Updated by Kyle Knoepfel over 1 year ago
- Subject changed from RandomNumberSerivce cannot be run with more than one schedule to RandomNumberService cannot be run with more than one schedule
#4 Updated by Kyle Knoepfel over 1 year ago
- Status changed from Resolved to Closed