Project

General

Profile

Bug #22691

RandomNumberService cannot be run with more than one schedule

Added by Lisa Goodenough 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Infrastructure
Target version:
Start date:
06/06/2019
Due date:
% Done:

100%

Estimated time:
Spent time:
Occurs In:
Scope:
Internal
Experiment:
Mu2e
SSI Package:
art
Duration:

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 5 months 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 5 months ago

Thank you Kyle.

#3 Updated by Kyle Knoepfel 5 months 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 5 months ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF