This restores the MPI_Comm_node function removed in PR #259 and which caused issue #266. While the return of that function was unused it did play an important roll in arranging MPI ranks for Cholla. This PR restores a refactored version of the function that is a bit simpler with the unused bit cut out.
Shout out to @helenarichie for finding the bug and @evaneschneider for identifying what needed to be fixed.
This restores the
MPI_Comm_node
function removed in PR #259 and which caused issue #266. While the return of that function was unused it did play an important roll in arranging MPI ranks for Cholla. This PR restores a refactored version of the function that is a bit simpler with the unused bit cut out.Shout out to @helenarichie for finding the bug and @evaneschneider for identifying what needed to be fixed.
closes #266