Flag to indicate number of concurrent events, possibly per worker"
Definition at line 73 of file ConcurrencyFlags.py.
◆ _do_action()
| python.ConcurrencyFlags.NumConcurrentEvents._do_action |
( |
| self | ) |
|
|
protected |
Definition at line 80 of file ConcurrencyFlags.py.
80 def _do_action(self):
81 try:
82 import GaudiHive
83 except ImportError:
84 from AthenaCommon.Logging import log
85 log.fatal("GaudiHive not in release - can't use --concurrent-events parameter")
86 import sys
87 from AthenaCommon import ExitCodes
88 sys.exit(ExitCodes.IMPORT_ERROR)
89
90 if (self.get_Value() < 0):
91 from AthenaCommon.Logging import log
92 log.fatal("Number of concurrent events [%s] cannot be negative",self.get_Value())
93 import sys
94 from AthenaCommon import ExitCodes
95 sys.exit(ExitCodes.CONFIGURATION_ERROR)
96
97 return
98
99
◆ allowedTypes
| list python.ConcurrencyFlags.NumConcurrentEvents.allowedTypes = ['int'] |
|
static |
◆ statusOn
| bool python.ConcurrencyFlags.NumConcurrentEvents.statusOn = True |
|
static |
◆ StoredValue
| int python.ConcurrencyFlags.NumConcurrentEvents.StoredValue = 0 |
|
static |
The documentation for this class was generated from the following file: