Commit 8d8cc3d
committed
Fixes for ifx compiler: mpi tag overflow in edyn_mpi
The MPI_ibsend calls in edyn_mpi were generating MPI tags by concatenating the source and destination PE numbers
which overflows the maximum MPI tag size (~65536) - the original tag numbers were around 10M (e.g., 12341235)
Since communicators in mp_mag_jslot is scoped to the cols_comm sub-communicator for a single
magnetic longitude column (up to nmagtaskj-1), there is no need for globally unique tags.
The code has been updated to use sender rank number which is unique within the sub-communicator
(tij) which is isrc at the receiver end.1 parent 60bc7b0 commit 8d8cc3d
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1684 | 1684 | | |
1685 | 1685 | | |
1686 | 1686 | | |
1687 | | - | |
| 1687 | + | |
1688 | 1688 | | |
1689 | 1689 | | |
1690 | 1690 | | |
| |||
1730 | 1730 | | |
1731 | 1731 | | |
1732 | 1732 | | |
1733 | | - | |
1734 | 1733 | | |
1735 | 1734 | | |
1736 | 1735 | | |
| |||
1749 | 1748 | | |
1750 | 1749 | | |
1751 | 1750 | | |
1752 | | - | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
1753 | 1754 | | |
1754 | 1755 | | |
1755 | 1756 | | |
| |||
1783 | 1784 | | |
1784 | 1785 | | |
1785 | 1786 | | |
1786 | | - | |
| 1787 | + | |
| 1788 | + | |
1787 | 1789 | | |
1788 | 1790 | | |
1789 | 1791 | | |
| |||
0 commit comments