Did you copy the template from the master branch into the v1.10 branch ? if so, you need to replacing MCA_BUILD_opal_btl_lf_DSO with MCA_BUILD_ompi_btl_lf_DSO will likely solve your issue. you do need a configure.m4 (otherwise your btl will not be built) but you do not need AC_MSG_FAILURE
as far as i am concerned, i would develop in the master branch, and then back port it into the v1.10 branch when it is ready. fwiw, btl used to be in ompi/mca/btl (still the case in v1.10) and have been moved into opal/mca/btl since v2.x so it is quite common a bit of porting is required, most of the time, it consists in replacing OMPI like macros by OPAL like macros Cheers, Gilles On Thu, Feb 25, 2016 at 3:54 PM, dpchoudh . <dpcho...@gmail.com> wrote: > 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. > _______________________________________________ > users mailing list > us...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users > Link to this post: > http://www.open-mpi.org/community/lists/users/2016/02/28575.php