-
Notifications
You must be signed in to change notification settings - Fork 931
v2.x flag enumerators and accumulate_ordering info key #2149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This commit adds a new type of enumerator meant to support flag values. The enumerator parses comma-delimited strings and matches each string or value to a list of valid flags. Additionally, the enumerator does some basic checks to see if 1) a flag is valid in the enumerator, and 2) if any conflicting flags are specified. Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov> (cherry picked from commit b15a450)
Fixes CID 1357979: Resource leak (RESOURCE_LEAK): flags array was being leaked. Fixed. Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov> (cherry picked from commit 6df5a66)
This commit fixes a typo in flag enumeration that can cause the parser to miss valid flags or crash. Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov> (cherry picked from commit 37e9e2c)
(cherry picked from commit 1baed49)
This commit adds support for the MPI-3.1 accumulate_ordering info key. The default value is rar,war,raw,waw and is supported using an MCA variable flag enumerator. Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov> (cherry picked from commit 5126da5)
This commit uses the new flag "enumerator" to support comma-delimited lists of flags for both the btl and btl atomic flags. After this commit is is valid to specify something like -mca btl_foo_flags self,put,get,in-place. All non-deprecated flags are supported by the enumerator. Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov> (cherry picked from commit 7572c8b)
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
|
@jsquyres Once this is merged I have one more feature I want to bring over. |
|
@hjelmn what is the "one more feature" to bring over? |
|
@hppritcha It was discussed on the call last week. It is the support for directly using AMOs for MPI_Fetch_and_op and MPI_Compare_and_swap. I needed the mpool rewrite and this before I can do the cherry-pick to avoid dealing to merge conflicts. |
|
@hjelmn Still need a review. |
|
Doh! I'm assigned as the reviewer. I'll review... |
|
bot:lanl:retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed by testing.
|
@hppritcha Good to go. |
No description provided.