1
2
3 """
4 Runtime configuration parameters.
5 """
6
7 initialize = True
8 """
9 Automatic MPI initialization at import time
10
11 * Any of ``{True | 1 | "yes" }``: initialize MPI at import time
12 * Any of ``{False | 0 | "no" }``: do not initialize MPI at import time
13 """
14
15
16 threaded = True
17 """
18 Request for thread support at MPI initialization
19
20 * Any of ``{True | 1 | "yes" }``: initialize MPI with ``MPI_Init_thread()``
21 * Any of ``{False | 0 | "no" }``: initialize MPI with ``MPI_Init()``
22 """
23
24
25 thread_level = "multiple"
26 """
27 Level of thread support to request at MPI initialization
28
29 * ``"single"`` : use ``MPI_THREAD_SINGLE``
30 * ``"funneled"`` : use ``MPI_THREAD_FUNNELED``
31 * ``"serialized"`` : use ``MPI_THREAD_SERIALIZED``
32 * ``"multiple"`` : use ``MPI_THREAD_MULTIPLE``
33 """
34
35
36 finalize = True
37 """
38 Automatic MPI finalization at exit time
39
40 * Any of ``{True | 1 | "yes" }``: call ``MPI_Finalize()`` at exit time
41 * Any of ``{False | 0 | "no" }``: do not call ``MPI_Finalize()`` at exit time
42 """
43