Michael,

if a solution with two packages is acceptable,
then an other and simpler option is to configure
openmpi for PSM with --without-psm2,
and openmpi for PSM2 with --without-psm
this is safe for --disable-dlopen or --enable-static, and you do not need
to tweak the conf files

Cheers,

Gilles

On Thursday, September 3, 2015, George Bosilca <bosi...@icl.utk.edu> wrote:

> Hi Michael,
>
> I might have missed some context when proposing this solution. As Gilles
> suggested if you build Open MPI without support for dlopen (configure
> option --disable-dlopen) this simple solution will not work because the
> symbol conflict issue is generated deep inside the constructors of the 2
> libraries.
>
> Yes, the "mtl = ^psm" (or ^psm2 depending on which one you want to
> disable) should go in the openmpi-mca-params.conf that gets installed in
> the $(sysconfigdir).
>
> Thanks,
> George.
>
>
> On Thu, Sep 3, 2015 at 5:14 AM, Michal Schmidt <mschm...@redhat.com
> <javascript:_e(%7B%7D,'cvml','mschm...@redhat.com');>> wrote:
>
>> [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
>> _______________________________________________
>> devel mailing list
>> de...@open-mpi.org <javascript:_e(%7B%7D,'cvml','de...@open-mpi.org');>
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
>> Link to this post:
>> http://www.open-mpi.org/community/lists/devel/2015/09/17927.php
>>
>
>

Reply via email to