Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] Impossible to find static-compoents.h
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2012-01-04 08:06:26


If you care, this mechanism is an artifact of Open MPI's build system: we made the choice to allow our plugins to be built and loaded dynamically (i.e., each plugin as its own dynamic shared object) or built statically (i.e., each plugin is physically part of, for example, libmpi.so or libmpi.a).

OMPI's configure script makes the choice of static vs. dynamic on a plugin-by-plugin basis. It records these results in various static-component.h files throughout the tree. This allows OMPI to know, at run-time, which plugins are already included in the library (and therefore do not need to be dynamically opened).

On Dec 28, 2011, at 10:33 AM, Josh Hursey wrote:

> That file is auto-generated during configuration time. So after you
> run configure it should appear in the designated directory.
>
> -- Josh
>
> On Sun, Dec 25, 2011 at 6:57 PM, Louis Valmeras <valmlouis_at_[hidden]> wrote:
>> I downloaded openmpi 1.4.4 to include the source files in a windows
>> application I am developing. The c file pml_base_open.c includes
>> ompi/mca/pml/base/static-components.h. But I cannot find this header file in
>> the source files I downloaded. Where can I downloaded this file?
>>
>>
>>
>>
>> _______________________________________________
>> devel mailing list
>> devel_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>
>
>
> --
> Joshua Hursey
> Postdoctoral Research Associate
> Oak Ridge National Laboratory
> http://users.nccs.gov/~jjhursey
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/