Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] location of ompi libraries
From: David Turner (dpturner_at_[hidden])
Date: 2010-10-05 17:29:56


Hi Jeff,

Thanks for the response. Reviewing my builds, I realized that for
1.4.2, I had configured using

contrib/platform/lanl/tlcc/optimized-nopanasas

per Ralph Castain's suggestion. That file includes both:

enable_dlopen=no
enable_shared=yes
enable_static=yes

Here is my *real* issue. I am trying to test Voltaire's Fabric
Collective Accelerator, which extends mca_component_path, and
adds a few additional .so files. It appears I must have
enable_dlopen=yes for this to work, which makes sense.

I assume that the shared/static settings above result in
*both* .a and .so versions of the ompi libraries getting
built. I'm not sure if this will affect my ability to
use Voltaire's mca plugins, but I have determined that
simply removing the enable_dlopen=no is not sufficient
to restore all the ompi .so files. I assume (haven't
tried it yet) that removing the enable_static=yes will
result in the ompi .so files getting created.

I guess I'm just looking for some guidance in the use
of the above options. I have read many warnings on
the ompi website about trying to link statically.

Thanks!

On 10/5/10 7:17 AM, Jeff Squyres wrote:
> It is more than likely that you compiled Open MPI with --enable-static and/or --disable-dlopen. In this case, all of Open MPI's plugins are slurped up into the libraries themselves (e.g., libmpi.so or libmpi.a). That's why everything continues to work properly.
>
>
> On Oct 4, 2010, at 6:58 PM, David Turner wrote:
>
>> Hi,
>>
>> In Open MPI 1.4.1, the directory lib/openmpi contains about 130
>> entries, including such things as mca_btl_openib.so. In my
>> build of Open MPI 1.4.2, lib/openmpi contains exactly three
>> items:
>> libompi_dbg_msgq.a libompi_dbg_msgq.la libompi_dbg_msgq.so
>>
>> I have searched my 1.4.2 installation for mca_btl_openib.so,
>> to no avail. And yet, 1.4.2 seems to work "fine". Is my
>> installation broken, or is the organization significantly
>> different between the two versions? A quick scan of the
>> release notes didn't help.
>>
>> Thanks!
>>
>> --
>> Best regards,
>>
>> David Turner
>> User Services Group email: dpturner_at_[hidden]
>> NERSC Division phone: (510) 486-4027
>> Lawrence Berkeley Lab fax: (510) 486-4316
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>

-- 
Best regards,
David Turner
User Services Group        email: dpturner_at_[hidden]
NERSC Division             phone: (510) 486-4027
Lawrence Berkeley Lab        fax: (510) 486-4316