Re: [OMPI devel] fortran calling MPI_* instead of PMPI_*

2015-08-31 Thread Jeff Squyres (jsquyres)
Sweet. Let's followup on that PR. Thanks! > On Aug 31, 2015, at 3:10 AM, Gilles Gouaillardet wrote: > > Jeff, > > i filed PR #845 https://github.com/open-mpi/ompi/pull/845 > > could you please have a look ? > > Cheers, > > Gilles > > On 8/30/2015 9:20 PM, Gilles Gouaillardet wrote: >> ok,

Re: [OMPI devel] fortran calling MPI_* instead of PMPI_*

2015-08-31 Thread Gilles Gouaillardet
Jeff, i filed PR #845 https://github.com/open-mpi/ompi/pull/845 could you please have a look ? Cheers, Gilles On 8/30/2015 9:20 PM, Gilles Gouaillardet wrote: ok, will do basically, I simply have to #include "ompi/mpi/c/profile/defines.h" if configure set the WANT_MPI_PROFILING macro (since

Re: [OMPI devel] fortran calling MPI_* instead of PMPI_*

2015-08-30 Thread Gilles Gouaillardet
ok, will do basically, I simply have to #include "ompi/mpi/c/profile/defines.h" if configure set the WANT_MPI_PROFILING macro (since this is an AM_CONDITIONAL, I will have the Makefile.am sets the CPP flags for the compiler) makes sense ? /* the patch will be pretty large since all *_f files are

Re: [OMPI devel] fortran calling MPI_* instead of PMPI_*

2015-08-29 Thread Jeff Squyres (jsquyres)
On Aug 27, 2015, at 3:25 AM, Gilles Gouaillardet wrote: > > I am lost ... Fortran does that to ya. ;-) > from ompi/mpi/fortran/mpif-h/profile/palltoall_f.c > > void ompi_alltoall_f(char *sendbuf, MPI_Fint *sendcount, MPI_Fint *sendtype, >char *recvbuf, MPI_Fint *recvcount,

Re: [OMPI devel] fortran calling MPI_* instead of PMPI_*

2015-08-27 Thread Gilles Gouaillardet
I am lost ... from ompi/mpi/fortran/mpif-h/profile/palltoall_f.c void ompi_alltoall_f(char *sendbuf, MPI_Fint *sendcount, MPI_Fint *sendtype, char *recvbuf, MPI_Fint *recvcount, MPI_Fint *recvtype, MPI_Fint *comm, MPI_Fint *ierr) { [...] c_ierr = M

Re: [OMPI devel] fortran calling MPI_* instead of PMPI_*

2015-08-25 Thread Jeff Squyres (jsquyres)
On Aug 25, 2015, at 11:03 AM, George Bosilca wrote: > > This seems to be the case only with the TKR interface. All the others are > either calling the OMPI version directly (mpif-h), or are calling some other > internal (or weak symbol function). Yes, those might need to be updated. Not it!

Re: [OMPI devel] fortran calling MPI_* instead of PMPI_*

2015-08-25 Thread George Bosilca
This seems to be the case only with the TKR interface. All the others are either calling the OMPI version directly (mpif-h), or are calling some other internal (or weak symbol function). George. On Tue, Aug 25, 2015 at 9:04 AM, Bert Wesarg wrote: > On 08/25/2015 02:44 PM, Gilles Gouaillardet

Re: [OMPI devel] fortran calling MPI_* instead of PMPI_*

2015-08-25 Thread Bert Wesarg
On 08/25/2015 02:44 PM, Gilles Gouaillardet wrote: Folks, I ran some basic tests with IPM profiler-like https://github.com/nerscadmin/IPM and found that when fortran calls an mpi subroutine, this is accounted twice. IPM defines both MPI_* subroutines and their fortran mpi_*_ counterpart. since t

[OMPI devel] fortran calling MPI_* instead of PMPI_*

2015-08-25 Thread Gilles Gouaillardet
Folks, I ran some basic tests with IPM profiler-like https://github.com/nerscadmin/IPM and found that when fortran calls an mpi subroutine, this is accounted twice. IPM defines both MPI_* subroutines and their fortran mpi_*_ counterpart. since the ompi fortran calls the MPI_* symbol (and not the P