Skip to content

Commit

Permalink
make MPI tag deterministic
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener committed Nov 3, 2023
1 parent d79fc1c commit f2650b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytato/distributed/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def set_union(
next_tag = base_tag
assert isinstance(all_tags, frozenset)

for sym_tag in all_tags:
for sym_tag in sorted(all_tags):
sym_tag_to_int_tag[sym_tag] = next_tag
next_tag += 1

Expand Down

0 comments on commit f2650b8

Please sign in to comment.