We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d06125c commit c4d8201Copy full SHA for c4d8201
1 file changed
src/icoco/utils.py
@@ -27,12 +27,7 @@ class MEDCouplingField: # pylint: disable=too-few-public-methods
27
28
29
try:
30
- import mpi4py
31
- mpi4py.rc.initialize = False
32
- mpi4py.rc.finalize = False
33
from mpi4py.MPI import Intracomm as MPIComm # type: ignore # pylint: disable=unused-import
34
- mpi4py.rc.initialize = True
35
- mpi4py.rc.finalize = True
36
except ModuleNotFoundError: # pragma: no cover
37
class MPIComm: # pylint: disable=too-few-public-methods
38
"""Basic class for type hinting when mi4py is not available"""
0 commit comments