Re: [OMPI users] more migrating to MPI_F08

2017-03-23 Thread Jeff Squyres (jsquyres)
On Mar 23, 2017, at 3:20 PM, Tom Rosmond wrote: > > I had stared at those lines many times and it didn't register that (count) > was explicitly specifying only 1-D is allowed. Pretty cryptic. I wonder how > many other fortran programmers will be bit by this? My understanding is that that is s

Re: [OMPI users] more migrating to MPI_F08

2017-03-23 Thread Tom Rosmond
Thanks, Jeff, I had stared at those lines many times and it didn't register that (count) was explicitly specifying only 1-D is allowed. Pretty cryptic. I wonder how many other fortran programmers will be bit by this? T. Rosmond On 03/23/2017 10:50 AM, Jeff Squyres (jsquyres) wrote: Actua

Re: [OMPI users] more migrating to MPI_F08

2017-03-23 Thread Jeff Squyres (jsquyres)
Actually, MPI-3.1 p90:37-45 explicitly says that the array_of_blocklengths and array_of_displacements arrays must be both 1D and of length count. If my Fortran memory serves me correctly, I think you can pass in an array subsection if your blocklengths/displacements are part of a larger array (t