Skip to content

Conversation

wzamazon
Copy link
Contributor

@wzamazon wzamazon commented Jun 9, 2022

In allocate_state_shared(), state_region->base is used to
calculate peer->state when CPU atomics is not used.

Currently it is set only if accelerated btl is used,
but it is used for non-accelerated btl too, causing peer->state
to be set incorrectly.

This patch addressed the issue.

Signed-off-by: Wei Zhang [email protected]

In allocate_state_shared(), state_region->base is used to
calculate peer->state when CPU atomics is not used.

Currently it is set only if accelerated btl is used,
but it is used for non-accelerated btl too, causing peer->state
to be set incorrectly.

This patch addressed the issue.

Signed-off-by: Wei Zhang <[email protected]>
@awlauria awlauria merged commit 2befd74 into open-mpi:main Jun 10, 2022
@awlauria
Copy link
Contributor

@wzamazon can you bring this back to v5.0.x?

@wzamazon
Copy link
Contributor Author

@awlauria

Sure. will do

@wzamazon
Copy link
Contributor Author

backport PR #10465

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