Created attachment 9312 [details] patch file to fix generation of configure Trying to ./configure --with-pmix without providing a path fails due to a bug in configure - the _x_ac_pmix_dirs is set to yes, overriding the default /usr search path. Attached a simple patch to fix the m4 file used to create configure. Basically the patch will result in configure having line 21112 withval=$with_pmix; if test "x$with_pmix" != xno && "x$with_pmix" != xyes; then :
Created attachment 9313 [details] Patch the configure file directly
This issue affects creating RPMs - rpmbuild --with pmix fails due to the yes issue overriding the default dirs, and rpmbuild --with pmix=/path/ or --with pmix /path/ fails due to specfile not accepting arguments for '--with pmix' invocation. The patch only addresses the 1st issue (i.e. no path argument given on command line). I think this issue also affects --with hdf5 and other path parameters.
I can see where you're heading, but I think a bit more work is going to be needed on this macro. If --with-pmix=yes is explicitly set, or a set of directories is given, then configure should fail if it can't find a usable PMIx installation. Are you interested in tackling that as part of a more extensive patch here? - Tim (Thanks for splitting the configure change itself, but I don't need those, and they'll get generated before we check anything in.)
I'll try to tackle this as well, but as stated - this affects all '--with-* path' arguments, not just pmix.
ran into this too: most other places (eg freeipmi) just keep the default directories to look into, so the search path with --with-mpix becomes the dirs "yes", "/usr", ... see eg https://github.com/itkovian/slurm/pull/2/commits/b3100796004677d16d8a365afe7dce5a4092c11a
Hi, This issue has been fixed in our internal bug 10291. Thanks for your interest and report. *** This ticket has been marked as a duplicate of ticket 10291 ***