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

Cannot build --with-pmix on Fedora 36 with distro pmix package #1071

Open
dalcinl opened this issue Nov 8, 2022 · 2 comments
Open

Cannot build --with-pmix on Fedora 36 with distro pmix package #1071

dalcinl opened this issue Nov 8, 2022 · 2 comments
Milestone

Comments

@dalcinl
Copy link
Collaborator

dalcinl commented Nov 8, 2022

I'm trying to configure --with-pmix on Fedora 36 using the distro pmix[-devel] RPM package

$ rpm -ql pmix-devel
/usr/include/pmix.h
/usr/include/pmix_common.h
/usr/include/pmix_deprecated.h
/usr/include/pmix_extend.h
/usr/include/pmix_server.h
/usr/include/pmix_tool.h
/usr/include/pmix_version.h
/usr/lib64/libpmix.so
/usr/lib64/pkgconfig/pmix.pc
/usr/share/pmix/pmix-valgrind.supp

However, it does not work:

./configure --with-pmix ...
...
configure: error: No PMI client interface was configured, consider --enable-pmi-simple or --with-pmi

Looking at the generated shell code in configure, looks like libmpix.* is searched on /usr/lib/, but not in /usr/lib64/, and then PMIx is not found.

@dalcinl
Copy link
Collaborator Author

dalcinl commented Nov 8, 2022

After manually search and replace $pmix_ext_install_dir/lib->lib64 in configure, I had it working, but only if I explicitly pass --with-pmi=external. A bare --with-pmix did not make it.

@davidozog
Copy link
Member

Thanks for the report. The SOS m4 that picks up pmix comes from upstream (OpenMPI), and it looks like there are relatively recent changes to those files. We can try incorporating these changes to see if this problem has been fixed. If not, we'll create an issue upstream.

@davidozog davidozog added this to the 1.5.2 milestone Nov 9, 2022
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

No branches or pull requests

2 participants