/usr/lib/python2.7/dist-packages/mpi4py/rc.py is in python-mpi4py 1.3.1+hg20131106-2ubuntu5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | # Author: Lisandro Dalcin
# Contact: dalcinl@gmail.com
"""
Runtime configuration parameters
"""
initialize = True
"""
Automatic MPI initialization at import.
* Any of ``{True, "yes", 1}``: initialize MPI at import.
* Any of ``{False, "no", 0}``: do not initialize MPI at import.
"""
threaded = True
"""
Request for thread support at MPI initialization.
* Any of ``{True, "yes", 1}``: initialize MPI with ``MPI_Init_thread()``.
* Any of ``{False, "no", 0}``: initialize MPI with ``MPI_Init()``.
"""
thread_level = "multiple"
"""
Level of thread support to request at MPI initialization.
* ``"single"`` : use ``MPI_THREAD_SINGLE``.
* ``"funneled"`` : use ``MPI_THREAD_FUNNELED``.
* ``"serialized"`` : use ``MPI_THREAD_SERIALIZED``.
* ``"multiple"`` : use ``MPI_THREAD_MULTIPLE``.
"""
finalize = None
"""
Automatic MPI finalization at exit.
* ``None``: Finalize MPI at exit iff it was initialized at import.
* Any of ``{True, "yes", 1}``: call ``MPI_Finalize()`` at exit.
* Any of ``{False, "no", 0}``: do not call ``MPI_Finalize()`` at exit.
"""
|