Re: [OMPI devel] 1.10.0 issue

2015-09-03 Thread Michal Schmidt
[I apologize for not threading the email properly. I was not subscribed
before and found the conversation in the web archive.]

Hello,

I am the one who discovered the PSM vs. PSM2 library conflict and
proposed the temporary workaround of having two builds of the openmpi
package.

George Bosilca wrote:
> 3. Except if the distro builds OMPI statically, I see no reason to
> have 2 build of OMPI due to conflicting symbols between two shared
> libraries that OMPI MCA load willingly. Why a simple "mtl = ^psm" in
> the OMPI system wide configuration file is not enough to solve the
> issue?

Thank you for this suggestion. It would go into openmpi-mca-params.conf,
right? I will try it.

Regards,
Michal


Re: [OMPI devel] 1.10.0 issue

2015-09-04 Thread Michal Schmidt
On 09/03/2015 03:47 PM, Ralph Castain wrote:
> I guess I didn’t make it clear in my prior comment, so let me try
> again. I understand about dlopen and the fix that George proposed -
> we had internally discussed this as well. However, the questions that
> raises are:
> 
> 1. how does the distro (Michal) decide which PSM module to disable by
> default in their package?

In the RHEL package I have disabled PSM2 by default in
openmpi-mca-params.conf:

# Disable the psm2 MTL by default.
# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1259835
# This avoids a conflict between libpsm2.so.2 and libpsm_infinipath.so.1.
mtl = ^psm2
# If psm2 is needed, comment out the above line and uncomment
# the following two lines. This will disable MCAs that are known to
# depend on libpsm_infinipath.so.1:
#   mtl = ^psm,ofi
#   btl = ^usnic

> 2. how does the user “discover” that their fabric has automatically
> been disabled, especially since this has never been the case before?

There will be a release note.
OmniPath was not previously supported in RHEL at all, so it's not like
I'm disabling something that used to work.

Regards,
Michal


Re: [OMPI devel] 1.10.0 issue

2015-09-04 Thread Michal Schmidt
On 09/04/2015 03:29 PM, Ralph Castain wrote:
> Umm…why would USNIC depend on libpsm_infinipath?? Jeff or Dave - is that true?

Indirectly, via libfabric.

Michal