Once you add a directory under ompi/mca/btl/ and add the relevant files, then the next time you run "autogen.sh", it should just "find" the component and add it to the configure and build process. You should not need to edit ompi/mca/btl/Makefile.am yourself.
Have a look at these wiki pages; they explain point-by-point how to add a component into OMPI's source tree:
On Mar 10, 2010, at 8:53 AM, hu yaohui wrote:
> Hi Jeff & All
> i want to add a new component in the ompi,
> 1: i make a dir ~/mca/btl/ht
> 2:Then,i have made sure some basic functions i need to implement.
> such as:
> 3:after these functions,i must compile these funcitons,i copied the makefire under ~/mca/btl/tcp/,
> i have seen these:
> MCA_btl_ALL_COMPONENTS = self sm elan gm mx ofud openib portals tcp udapl
> MCA_btl_ALL_SUBDIRS = mca/btl/self mca/btl/sm mca/btl/elan mca/btl/gm mca/btl/mx mca/btl/o
> fud mca/btl/openib mca/btl/portals mca/btl/tcp mca/btl/udapl
> add my component into these two lines is just not enough.
> Can you help me out on making a right Makefile for my component under folder ~/mca/blt/ht?
> Thanks & Regards,
> Yaohui Hu
> devel mailing list
For corporate legal information go to:
devel mailing list