[MPIWG Fortran] Question about an argument of MPI_Testall

N.M. Maclaren nmm1 at cam.ac.uk
Wed Mar 12 04:25:10 CDT 2014

On Mar 12 2014, Malcolm Cohen wrote:
> That reason is bogus, if the dummy argument is declared to have "count" 
> elements the actual argument is required to have at least "count" 
> elements, but this need not be exact. The Fortran standard states
>  "The rank and shape of the actual argument need not agree with the rank 
> and shape of the dummy argument, but the number of elements in the dummy 
> argument shall not exceed the number of elements in the element sequence 
> of the actual argument."

And that has been true since Fortran II - I have just checked that it
was explicitly stated there, too.

Nick Maclaren.

More information about the mpiwg-fortran mailing list