-
Notifications
You must be signed in to change notification settings - Fork 53
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
Comments
After manually search and replace |
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 there are some issues with SOS using the OpenMPI pmix checking macros. The main issue is that pmix is required in OpenMPI so you cannot give the parameter --without-pmix even though SOS supports many different process managers. This leads to a weird syntax of external vs internal pmix providers. For SOS it would always be external so only specifiying --with-pmix without external or directory can't work. The other issue is that the pmix checker is hardcoded to scan for libraries in the lib directory. In Fedora the libraries are located in lib64. Preferably this should be modernized to just use pkg-config if available. I propose that --with-pmix should behave in the following ways:
|
As a side note, I think the As a possibly simpler alternative to that problem... could we just add a switch in SOS to enable/disable PMIx, then still leverage the upstream PMIx support? Here's a sketch if that's more clear:
However, I think I see the separate @markbrown314 - are you saying you've tested it and Does @dalcinl still have eyes on this? Is it easy to verify on your end? I'm curious if supporting PMIx is a requirement at all (hard/soft/none?) for SOS... It must be soft is it's now marked low-priroity? |
@davidozog yes I tried this on a Fedora 41 OS machine and it fails as specified in this ticket. I tested it on the tip of the SOS tree so it includes your latest configury updates. The current Open MPI codebase has an opal_config_pmix.m4 that does use pkg-config which is quite different than the opal_config_pmi.m4 OPAL_CHECK_PMIX function. However, I think the Open MPI opal_config_pmix.m4 is overkill since it has that internal/external pmix logic and assumes pmix is a requirement. |
I'm trying to configure
--with-pmix
on Fedora 36 using the distropmix[-devel]
RPM packageHowever, it does not work:
Looking at the generated shell code in
configure
, looks likelibmpix.*
is searched on/usr/lib/
, but not in/usr/lib64/
, and then PMIx is not found.The text was updated successfully, but these errors were encountered: