Skip to content

Commit 291512b

Browse files
committed
TL: fixed the fieldsIO when mpi4py not available
1 parent c317c79 commit 291512b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pySDC/helpers/fieldsIO.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
try:
1111
from mpi4py import MPI
1212
except ImportError:
13-
pass
13+
class MPI:
14+
COMM_WORLD = None
1415

1516
T = TypeVar("T")
1617

0 commit comments

Comments
 (0)