Skip to content

Conversation

hjelmn
Copy link
Member

@hjelmn hjelmn commented Jan 14, 2020

This PR removes the constant defining the max attachment address and
replaces it with the largest address that shows up in /proc/self/maps.
This should address issues found on AARCH64 where the max address
may differ based on the configuration.

Since the calculated max address may differ between processes the
max address is sent as part of the modex and stored in the endpoint
data.

Signed-off-by: Nathan Hjelm hjelmn@google.com

This PR removes the constant defining the max attachment address and
replaces it with the largest address that shows up in /proc/self/maps.
This should address issues found on AARCH64 where the max address
may differ based on the configuration.

Since the calculated max address may differ between processes the
max address is sent as part of the modex and stored in the endpoint
data.

Signed-off-by: Nathan Hjelm <hjelmn@google.com>
@hjelmn hjelmn force-pushed the btl_vader_fix_max_address_on_aarch64 branch from 8cb4d3d to 728d51f Compare January 14, 2020 23:16
@hjelmn
Copy link
Member Author

hjelmn commented Jan 15, 2020

@sekifjikkatsu This should fix the vader issue for you. I opted with a more dynamic approach as the TASK_SIZE can vary on AARCH64.

@sekifjikkatsu
Copy link

@hjelmn Thank you very much, I will try to patch "https://patch-diff.githubusercontent.com/raw/open-mpi/ompi/pull/7304.diff" to my test environment.

@hjelmn hjelmn merged commit 037b0bd into open-mpi:master Jan 16, 2020
@sekifjikkatsu
Copy link

@hjelmn
I tested IMB-MPI1 and some test programs.
they were executed correctly.
Thank you very much for your commit.

@hjelmn
Copy link
Member Author

hjelmn commented Jan 17, 2020

@sekifjikkatsu Thank you for verifying. I plan to PR this and the other vader fixes to all active releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants