Hello all

I am not sure if this question belongs in the user list or the
developer list, but because it is a simpler question I am trying the
user list first.

I am trying to add a new BTL for a proprietary transport.

As step #0, I copied the BTL template, renamed the 'template' to
something else, and ran autogen.sh at the top level directory (of
openMPI 1.10.2). The Makefile.am is identical to what is provided in
the template except that all the 'template' has been substituted with
'lf', the name of the fabric.

With that, I get the following error:

<snip>

autoreconf: running: /usr/bin/autoconf --include=config --force
--warnings=all,no-obsolete,no-override
autoreconf: running: /usr/bin/autoheader --include=config --force
--warnings=all,no-obsolete,no-override
autoreconf: running: automake --add-missing --copy --force-missing
--warnings=all,no-obsolete,no-override
configure.ac:320: installing 'config/compile'
configure.ac:73: installing 'config/config.guess'
configure.ac:73: installing 'config/config.sub'
configure.ac:93: installing 'config/install-sh'
configure.ac:93: installing 'config/missing'
ompi/Makefile.am: installing 'config/depcomp'
ompi/mca/btl/lf/Makefile.am:33: error: MCA_BUILD_opal_btl_lf_DSO does
not appear in AM_CONDITIONAL


I tried adding a configure.m4 file to the btl directory with the
following content:

# MCA_btl_lf_CONFIG([action-if-can-compile],
#                   [action-if-cant-compile])
# ------------------------------------------------
AC_DEFUN([MCA_ompi_btl_lf_CONFIG],[
    AC_CONFIG_FILES([ompi/mca/btl/lf/Makefile])
    AC_MSG_FAILURE
])dnl


but the error remains.

I am sure I am missing at least one step, but am lost in the huge
codebase. Please help.

Thank you
Durga

Life is complex. It has real and imaginary parts.

Reply via email to