Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] Building Open MPI components outside of the source tree
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2011-01-19 15:43:06

Over the years, a few parties have wanted to be able to build Open MPI components outside of the official source tree (e.g., they are developing their own components outside of OMPI's SVN). We've typically said "use --with-devel-headers", but a) never really provided a full example of how to do this, and b) never acknowledged that using --with-devel-headers is somewhat of a pain.

That ends now. :-)

I am publishing a bitbucket repo of three example "tcp2" BTL components. They are almost exact copies of the real TCP BTL component, but have had their configury updated to enable them to be built outside of the Open MPI source tree:

 1. A component for the v1.4 Open MPI tree
 2. A component for the v1.5/v1.6 Open MPI tree
 3. A component for the trunk/v1.7 (as of r24265) Open MPI tree

Each of these example components support the --with-devel-headers method as well as a new method: --with-openmpi-source=DIR (i.e., where you specify the corresponding Open MPI source directory, and the component builds against that).

There are three different components because the configury between each of them are a bit different. Look at the in the version that you care about to see examples of how to get the relevant CPPFLAGS / CFLAGS that you need to build your component.

Here's the bitbucket repo:

There's a top-level README.txt file in the repo that explains a bit more.


Jeff Squyres
For corporate legal information go to: