|
1 | 1 | """
|
2 |
| - DIRAC - Distributed Infrastructure with Remote Agent Control |
3 |
| -
|
4 |
| - The distributed data production and analysis system of LHCb and other VOs. |
5 |
| -
|
6 |
| - DIRAC is a software framework for distributed computing which |
7 |
| - allows to integrate various computing resources in a single |
8 |
| - system. At the same time it integrates all kinds of computing |
9 |
| - activities like Monte Carlo simulations, data processing, or |
10 |
| - final user analysis. |
11 |
| -
|
12 |
| - It is build as number of cooperating systems: |
13 |
| - - Accounting |
14 |
| - - Configuration |
15 |
| - - Core |
16 |
| - - Base |
17 |
| - - Security |
18 |
| - - Utilities |
19 |
| - - Workflow |
20 |
| - - Framework |
21 |
| - - RequestManagement |
22 |
| - - Resources |
23 |
| - - Transformation |
24 |
| -
|
25 |
| - Which are used by other system providing functionality to |
26 |
| - the end user: |
27 |
| - - DataManagement |
28 |
| - - Interfaces |
29 |
| - - ResourceStatus |
30 |
| - - StorageManagement |
31 |
| - - WorkloadManagement |
32 |
| -
|
33 |
| - It defines the following data members: |
34 |
| - - version: DIRAC version string |
35 |
| -
|
36 |
| - - errorMail: mail address for important errors |
37 |
| - - alarmMail: mail address for important alarms |
38 |
| -
|
39 |
| - It loads Modules from : |
40 |
| - - DIRAC.Core.Utililies |
41 |
| -
|
42 |
| - It loads: |
43 |
| - - S_OK: OK return structure |
44 |
| - - S_ERROR: ERROR return structure |
45 |
| - - gLogger: global Logger object |
46 |
| - - gConfig: global Config object |
47 |
| -
|
48 |
| - It defines the following functions: |
49 |
| - - abort: aborts execution |
50 |
| - - exit: finish execution using callbacks |
51 |
| - - siteName: returns DIRAC name for current site |
52 |
| -
|
53 |
| - - getPlatform(): DIRAC platform string for current host |
54 |
| - - getPlatformTuple(): DIRAC platform tuple for current host |
| 2 | +DIRAC - Distributed Infrastructure with Remote Agent Control |
| 3 | +
|
| 4 | +The distributed data production and analysis system of LHCb and other VOs. |
| 5 | +
|
| 6 | +DIRAC is a software framework for distributed computing which |
| 7 | +allows to integrate various computing resources in a single |
| 8 | +system. At the same time it integrates all kinds of computing |
| 9 | +activities like Monte Carlo simulations, data processing, or |
| 10 | +final user analysis. |
| 11 | +
|
| 12 | +It is build as number of cooperating systems: |
| 13 | + - Accounting |
| 14 | + - Configuration |
| 15 | + - Core |
| 16 | + - Base |
| 17 | + - Security |
| 18 | + - Utilities |
| 19 | + - Workflow |
| 20 | + - Framework |
| 21 | + - RequestManagement |
| 22 | + - Resources |
| 23 | + - Transformation |
| 24 | +
|
| 25 | + Which are used by other system providing functionality to |
| 26 | + the end user: |
| 27 | + - DataManagement |
| 28 | + - Interfaces |
| 29 | + - ResourceStatus |
| 30 | + - StorageManagement |
| 31 | + - WorkloadManagement |
| 32 | +
|
| 33 | + It defines the following data members: |
| 34 | + - version: DIRAC version string |
| 35 | +
|
| 36 | + - errorMail: mail address for important errors |
| 37 | + - alarmMail: mail address for important alarms |
| 38 | +
|
| 39 | + It loads Modules from : |
| 40 | + - DIRAC.Core.Utililies |
| 41 | +
|
| 42 | + It loads: |
| 43 | + - S_OK: OK return structure |
| 44 | + - S_ERROR: ERROR return structure |
| 45 | + - gLogger: global Logger object |
| 46 | + - gConfig: global Config object |
| 47 | +
|
| 48 | + It defines the following functions: |
| 49 | + - abort: aborts execution |
| 50 | + - exit: finish execution using callbacks |
| 51 | + - siteName: returns DIRAC name for current site |
| 52 | +
|
| 53 | + - getPlatform(): DIRAC platform string for current host |
| 54 | + - getPlatformTuple(): DIRAC platform tuple for current host |
55 | 55 |
|
56 | 56 | """
|
| 57 | + |
57 | 58 | import importlib.metadata
|
58 | 59 | import os
|
59 | 60 | import re
|
@@ -237,7 +238,7 @@ def initialize(
|
237 | 238 | log_level = getattr(LogLevel, gLogger.getLevel())
|
238 | 239 | gLogger.setLevel(LogLevel.ALWAYS)
|
239 | 240 | try:
|
240 |
| - returnValueOrRaise(localCfg.initialize()) |
| 241 | + returnValueOrRaise(localCfg.initialize(requireSuccessfulSync=require_auth)) |
241 | 242 | finally:
|
242 | 243 | # Restore the pre-existing log level
|
243 | 244 | gLogger.setLevel(log_level)
|
|
0 commit comments