Skip to content

Commit

Permalink
add comment regarding deterministic order
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener committed Jun 28, 2024
1 parent 89b773f commit c256752
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meshmode/distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,8 @@ def complete_some(self):
status = MPI.Status()

# Wait for all receives
# Note: This is inefficient, but ensures a deterministic order of
# boundary setup.
nrecvs = len(self.pending_recv_identifiers)
data = [None] * nrecvs
source_ranks = [None] * nrecvs
Expand Down

0 comments on commit c256752

Please sign in to comment.