You can find the template for a BTL in ompi/mca/btl/template (You will find this on the subversion trunk). Copy and rename the folder/files. Use this as a starting point.
For details on creating a new component (such as a new BTL) look here - https://svn.open-mpi.org/trac/ompi/wiki/devel/CreateComponent
The following document might also be useful - http://www.open-mpi.org/papers/trinity-btl-2009/xenmpi_report.pdf

Regards
--Nysal


On Tue, Aug 3, 2010 at 5:45 PM, Simone Pellegrini <spellegrini@dps.uibk.ac.at> wrote:
Deal all,
I need to implement an MPI layer on top of a message passing library which is currently used in a particular device where I have to run MPI programs ( very vague, I know :) ).

Instead of reinventing the wheel, my idea was to reuse most of the Open MPI implementation and just add a new layer to support my custom device. I guess that extending the Byte Transfer Layer of the Modular Component Architecture should make the job. Right?

Anyway, before starting wasting my time looking for documentation I wanted to have some pointers to documentation regarding extension of Open MPI. Which are the interfaces I have to extend? Is there any "hello world" example on how to do it?

many thanks, Simone
_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users