Open MPI logo

Open MPI Development 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: [OMPI devel] Adding (3rd party?) MCA modules to the build system
From: Christian Bendele (Christian.Bendele_at_[hidden])
Date: 2009-11-03 04:14:16

Good Morning,

i am trying to compile some kind of 3rd party btl module into my
openmpi. I got the 1.3.3 release tarball, and i can now successfully
call, configure and build after downgrading autoconf and
friends to the exact versions suggested on the hacking site (i had the
most recent versions installed before, which would cause make to fail
when was called before).

The btl module directory I have here contains and whose contents look very similar to those in the mca/btl/tcp
directory for example. Among other things the contains a
automake "if OMPI_BUILD_mybtlmodule_DSO" (looks exactly the same in the
tcp module directory).

Copying my module directory into ompi/mca/btl and running
would just ignore it. I am absolutely lost in all this autoconf and
automake build chaos (as it seems to me), but trying to analyse i figured (from the process_framework() function) that a mca
subdir has to contain one of, configure.params and to be recognized. I copied configure.params as it is from
the tcp directory, as it seems fitting (containing just one single line:

Now running does indeed recognize the directory containing my
btl module. It fails, however, with the line
"ompi/mca/btl/mybtlmodule/ OMPI_BUILD_btl_mymodule_DSO
does not appear in AM_CONDITIONAL".

I vaguely know what that means, and i was half expecting something like
this, but I can not find where those AM_CONDITIONALs are defined. Since
the in the tcp subdir does contain a line practically
identical to the one failing above, I tried a recursive grep for
"OMPI_BUILD_btl_tcp_DSO" from the root build directory. This didn't
really turn up anything useful though (mainly lots of occurenced in
.cache files which i think i can ignore, and the one in

Since i feel pretty stuck here after several hours of trying to grok
what's going on in this huge build system, i would very much appreciate
some hints :).

Thanks for your patience and your help,