Skip to content
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

Silence a few warnings and add multi-get example #294

Merged
merged 1 commit into from
Jan 8, 2020

Conversation

rhc54
Copy link
Contributor

@rhc54 rhc54 commented Jan 8, 2020

Quite a couple of warnings for use of unitialized variables.

Add a "double-get" test to exercise direct modex operations

Signed-off-by: Ralph Castain rhc@pmix.org

Quite a couple of warnings for use of unitialized variables.

Add a "double-get" test to exercise direct modex operations

Signed-off-by: Ralph Castain <rhc@pmix.org>
PMIX_VALUE_RELEASE(pvalue);

/* the below two lines break the subsequent PMIx_Get query on a key set later */
pmi_set_string("test-key-1", data, 256);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rhc54 If you add pmix_exchange(true); in line 131, then the pmi_get_string in line 138 fails with error -46

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.

2 participants