Re: [OMPI devel] Use OMPI on another network interface

2016-02-04 Thread Jeff Squyres (jsquyres)
+1 on what Gilles said. A little more detail: 1. You can simply write your own "MPI_Bcast" and interpose your version before Open MPI's version. E.g.,: - $ cat your_program.c #include int MPI_Bcast(void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm) { /

Re: [OMPI devel] Use OMPI on another network interface

2016-02-04 Thread Gilles Gouaillardet
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-

[OMPI devel] Use OMPI on another network interface

2016-02-04 Thread asavarym
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