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

pmi config #2557

Merged
merged 5 commits into from
Apr 11, 2017
Merged

pmi config #2557

merged 5 commits into from
Apr 11, 2017

Conversation

raffenet
Copy link
Contributor

No description provided.

@raffenet
Copy link
Contributor Author

test:jenkins/ch4/ofi
test:jenkins/ch4/ucx
test:jenkins/ch3/tcp

@raffenet raffenet force-pushed the pmi-config branch 5 times, most recently from c6553fd to 61b91bd Compare March 1, 2017 15:47
@zhenggb72
Copy link
Collaborator

The first few commits are fine with me. The last commit to use PMI2, I am not sure. Changing CH4 to use PMI2 is a larger effort I thought Intel MPI was doing. They may have a patch for it.

@raffenet
Copy link
Contributor Author

raffenet commented Mar 1, 2017

Okay. The reason I did that was because the PMI calls in shm init did not work when configuring with Cray PMI. If we go PMI2 across the board, everything just worked. Maybe @ddurnov can comment on any PMI2 patch for CH4 from Intel?

@raffenet
Copy link
Contributor Author

raffenet commented Mar 1, 2017

It also occurs to me that in CH4, the netmods are calling PMI_Finalize, but that should move to the CH4 level. That's where PMI_Init happens after all. I will add another patch for that.

@@ -755,7 +755,8 @@ static inline int MPIDI_NM_mpi_init_hook(int rank,
sprintf(keyS, "OFI-%d", i);
#ifdef USE_CRAYPMI_API
MPIDI_OFI_PMI_CALL_POP(PMI2_KVS_Get
(NULL, -1, keyS, valS, MPIDI_KVSAPPSTRLEN, &len), pmi);
Copy link
Collaborator

Choose a reason for hiding this comment

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

the int len couple lines above should also be removed?

@raffenet
Copy link
Contributor Author

test:jenkins/ch4/ofi
test:jenkins/ch4/ucx
test:jenkins/ch3/tcp

If we are building with an external pmi library, we should be using the
external version of the pmi.h/pmi2.h. Move the MPICH copies into subdirs
that will be conditionally added to CPPFLAGS based on configure options.

Signed-off-by: Gengbin Zheng <[email protected]>
Signed-off-by: Gengbin Zheng <[email protected]>
Fixes a compile error for undeclared variable.

Signed-off-by: Gengbin Zheng <[email protected]>
@raffenet raffenet merged commit e0bdea8 into pmodels:master Apr 11, 2017
@raffenet raffenet deleted the pmi-config branch April 11, 2017 21:12
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