testLinearMapErr01.fcl
Go to the documentation of this file.
1 # Test the seeds service. test of linearMapping mode
2 #
3 # Policy: linearMapping
4 # Valid: no (too many unique seeds are requested)
5 # Will succeed: yes
6 # Purpose: check on seed range
7 #
8 # This test should fail due to the range check
9 #
10 
11 #include "messageService.fcl"
12 
13 # Give this job a name.
14 process_name : SeedTestLinear
15 
16 # Start form an empty source
17 source :
18 {
19  module_type : EmptyEvent
20  maxEvents : 2
21 }
22 
23 services :
24 {
25  message : @local::mf_interactive
26  RandomNumberGenerator: {}
27 
28  NuRandomService: {
29  policy : "linearMapping"
30  nJob : 123
31  maxUniqueEngines : 2
32  checkRange : true
33  verbosity : 2
34  endOfJobSummary : false
35  }
36 
37 }
38 
39 physics :
40 {
41  analyzers: {
42  stest01 : {
43  module_type : SeedTestPolicy
44  module_name : stest01
45  }
46 
47  stest02 : {
48  module_type : SeedTestPolicy
49  module_name : stest02
50  instanceNames : [ "a", "c" ]
51  expectedErrors: 2
52  }
53  }
54 
55  e1 : [stest01, stest02]
56 
57  end_paths : [e1]
58 
59 }