On Tue, Jul 16, 2013 at 09:03:22PM +0000, Jeff Squyres (jsquyres) wrote:
> On Jul 16, 2013, at 4:54 PM, Nathan Hjelm <hjelmn_at_[hidden]> wrote:
> >> 3. We had a policy that we only export one single MPI level function per file in the mpi directory. You changed this as some of the files exports now two function (the original function together with the _x version).
> > I was trying to avoid having too much duplicate code. If including both functions in the same file is not ok I will move the _x functions to their own .c files.
> This is an unfortunate side-effect of the PMPI mandate (be able to override any individual MPI symbol). Because of the way linkers work, you can only put 1 MPI symbol in any given .o file. :-(
I must be missing something here. type_size.c contains MPI_Type_size and MPI_Type_size_x and I see all the MPI and PMPI variants in the resulting .so, .dylib, and .a.