Skip to content

Commit

Permalink
misc: fix mpi import list
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Nov 10, 2023
1 parent 730ed09 commit 39a8486
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion devito/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from devito.builtins import * # noqa
from devito.data.allocators import * # noqa
from devito.logger import error, warning, info, set_log_level # noqa
from devito.mpi import MPI # noqa
from devito.mpi import MPI, CustomTopology # noqa
try:
from devito.checkpointing import DevitoCheckpoint, CheckpointOperator # noqa
from pyrevolve import Revolver
Expand Down
4 changes: 1 addition & 3 deletions devito/mpi/distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
from devito.types.utils import DimensionTuple


__all__ = ['CustomTopology']

# Do not prematurely initialize MPI
# This allows launching a Devito program from within another Python program
# that has *already* initialized MPI
Expand Down Expand Up @@ -60,7 +58,7 @@ def __getattr__(self, name):
return None


__all__ = ['Distributor', 'SparseDistributor', 'MPI']
__all__ = ['Distributor', 'SparseDistributor', 'MPI', 'CustomTopology']


class AbstractDistributor(ABC):
Expand Down

0 comments on commit 39a8486

Please sign in to comment.