Re: [OMPI devel] Help regarding Openmpi source code

2019-03-12 Thread Jeff Squyres (jsquyres) via devel
Additionally, the code for implementing the PMPI interface is done through #define's. Depending on the platform, it happens either as Clement describes (with #defines for MPI_Foo --> PMPI_Foo) or if the platform doesn't support weak symbols (e.g., MacOS), the source code for the C API functions

Re: [OMPI devel] Help regarding Openmpi source code

2019-03-04 Thread Clement Foyer
Hi, The reason you cannot find it is because it actually is not define as such. The PMPI interface is defined as the profiling interface. The principle is you have the real symbol in your shared library that is PMPI_Send, with a weak alias being MPI_Send. So, if a third party want to intercept