From c2567520a9cbd30c817dd49be4d07098db1f3a89 Mon Sep 17 00:00:00 2001 From: Matthias Diener Date: Fri, 28 Jun 2024 09:53:02 -0500 Subject: [PATCH] add comment regarding deterministic order --- meshmode/distributed.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meshmode/distributed.py b/meshmode/distributed.py index 39f4c6f8..18402bf4 100644 --- a/meshmode/distributed.py +++ b/meshmode/distributed.py @@ -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