Re: [OMPI devel] [EXTERNAL] Re: MPI_Mprobe

2012-08-14 Thread Jeff Squyres
Noted in https://svn.open-mpi.org/trac/ompi/ticket/3218#comment:4. On Aug 14, 2012, at 11:10 AM, Barrett, Brian W wrote: > On 8/14/12 8:30 AM, "Jeff Squyres" wrote: > >> On Aug 14, 2012, at 10:04 AM, Barrett, Brian W wrote: >> >>> That's incorrect. Fortran statuses should never be passed to C

Re: [OMPI devel] [EXTERNAL] Re: MPI_Mprobe

2012-08-14 Thread Barrett, Brian W
On 8/14/12 8:30 AM, "Jeff Squyres" wrote: >On Aug 14, 2012, at 10:04 AM, Barrett, Brian W wrote: > >> That's incorrect. Fortran statuses should never be passed to C >> interfaces. If you look at testany_f.c, for example, a temporary status >> is created and then passed to the C binding > >I thi

Re: [OMPI devel] [EXTERNAL] Re: MPI_Mprobe

2012-08-14 Thread Jeff Squyres
On Aug 14, 2012, at 10:04 AM, Barrett, Brian W wrote: > That's incorrect. Fortran statuses should never be passed to C > interfaces. If you look at testany_f.c, for example, a temporary status > is created and then passed to the C binding I think the issue is that there is a mix of both styles.

Re: [OMPI devel] [EXTERNAL] Re: MPI_Mprobe

2012-08-14 Thread Barrett, Brian W
On 8/8/12 11:28 PM, "Eugene Loh" wrote: >On 8/7/2012 5:45 AM, Jeff Squyres wrote: >> So the issue is when (for example) Fortran MPI_Recv says "hey, C ints >>are the same as Fortran INEGERs, so I don't need a temporary MPI_Status >>buffer; I'll just use the INTEGER array that I was given, and pass