Hi,

this is difficult to answer such a generic request.

MPI symbols (MPI_Bcast, ...) are defined as weak symbols, so the simplest
option is to redefine them an implement them the way you like. you are
always able to invoke PMPI_Bcast if you want to invoke the openmpi
implementation.

a more ompi-ish way is to create your own collective module.
for example, the default module is in ompi/mca/coll/tuned

Cheers,

Gilles

On Thursday, February 4, 2016, <asava...@univ-montp2.fr> wrote:

> Hello
>
> Using a new network interface and its ad-hoc routing algorithms I would
> like to try my own custom implementation of some collective communication
> patterns(MPI_Bcast,MPI_Alltoall,...) without expanding those collective
> communications as series of point-to-point ones based on a given predefined
> process topology.
>
> In addition my routing methods might require additional parameters, rather
> than the basic destination lists obtained from that topology and the kind
> of collective communication considered.
>
> How would I do that ?
>
> In which component should I modilfy something ?
>
>
> Regards
>
>
> _______________________________________________
> devel mailing list
> de...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
> Link to this post:
> http://www.open-mpi.org/community/lists/devel/2016/02/18546.php
>

Reply via email to