Skip to content

Commit

Permalink
Remove topology hardcoded hack.
Browse files Browse the repository at this point in the history
  • Loading branch information
PapyChacal committed Oct 12, 2023
1 parent 2581d51 commit b6b0419
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions devito/mpi/distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,6 @@ def __init__(self, shape, dimensions, input_comm=None, topology=None):
# mpi4py takes care of that when the object gets out of scope
self._input_comm = (input_comm or MPI.COMM_WORLD).Clone()

if len(shape) == 3:
topology = ('*', '*', 1)

if topology is None:
# `MPI.Compute_dims` sets the dimension sizes to be as close to each other
# as possible, using an appropriate divisibility algorithm. Thus, in 3D:
Expand Down

0 comments on commit b6b0419

Please sign in to comment.