Skip to content

v5.0.x: ompi/group: fix proc pointer comparison in groups#8613

Closed
gpaulsen wants to merge 3 commits intoopen-mpi:masterfrom
gpaulsen:topic/v5.0.x/ompi/group_fix_race
Closed

v5.0.x: ompi/group: fix proc pointer comparison in groups#8613
gpaulsen wants to merge 3 commits intoopen-mpi:masterfrom
gpaulsen:topic/v5.0.x/ompi/group_fix_race

Conversation

@gpaulsen
Copy link
Member

To avoid checking sentinel process pointers to the original ompi_proc_t
pointers compare the processes in the groups using process names.

From master PR #8547

hjelmn and others added 3 commits March 11, 2021 14:17
There already exists an identifier with the name assert. It is not
appropriate to use this name for variables in C. This commit changes
these variable names to mpi_assert. This should address an issue where
clang-format gives the wrong result when doing bit-wise-and operations
on these variables.

Signed-off-by: Nathan Hjelm <hjelmn@google.com>
(cherry picked from commit aaabe3d)
…ll_things_DO_NOT_NAME_VARIABLES_ASSERT

v5.0.x: ompi: rename assert variables to mpi_assert
To avoid checking sentinel process pointers to the original `ompi_proc_t`
pointers compare the processes in the groups using process names.

Signed-off-by: Aboorva Devarajan <abodevar@in.ibm.com>
(cherry picked from commit 0f2c70c)
@gpaulsen gpaulsen closed this Mar 15, 2021
@gpaulsen gpaulsen deleted the topic/v5.0.x/ompi/group_fix_race branch March 15, 2021 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants