create soft link for libpmi.so -> libpmix.so
@@ -55,6 +55,11 @@ CFLAGS="%{optflags}" ./configure --prefix=%{install_path}
%install
%{__make} install DESTDIR=${RPM_BUILD_ROOT}
+# PMIx provides PMI1 and PMI2 interfaces in libmpix, but many packages check
+# linkage against libpmi.so directly - create soft link to libpmix.so
+
+%{__ln_s} ${RPM_BUILD_ROOT}/%{install_path}/lib/libpmix.so ${RPM_BUILD_ROOT}/%{install_path}/lib/libpmi.so
+
%{__mkdir_p} ${RPM_BUILD_ROOT}%{OHPC_MODULES}/%{pname}
cat <<EOF > ${RPM_BUILD_ROOT}%{OHPC_MODULES}/%{pname}/%{version}
#%Module1.0#####################################################################
