[MPIWG Fortran] Question about an argument of MPI_Testall
Jeff Squyres (jsquyres)
jsquyres at cisco.com
Tue Mar 11 11:21:52 CDT 2014
The WG chose not to do this, because Rolf and others indicated that it is not uncommon to have a large status of arrays -- i.e., something >=count statuses. If you use array_of_statuses(count), then you can only pass in an array of *exactly* size "count" -- and that doesn't fit what users tend to do for convenience.
On Mar 11, 2014, at 12:03 PM, Junchao Zhang <jczhang at mcs.anl.gov> wrote:
> Hello,
>
> P60 of MPI3 reads:
>
> MPI_Testall(count, array_of_requests, flag, array_of_statuses, ierror)
> INTEGER, INTENT(IN) :: count
>
> TYPE(MPI_Request), INTENT(INOUT) :: array_of_requests(count)
>
> LOGICAL, INTENT(OUT) :: flag
>
> TYPE(MPI_Status) :: array_of_statuses(*)
>
> INTEGER, OPTIONAL, INTENT(OUT) :: ierror
>
> Should array_of_statuses be declared as TYPE(MPI_Status) :: array_of_statuses(count)?
>
> Thanks
>
> --Junchao Zhang
> _______________________________________________
> mpiwg-fortran mailing list
> mpiwg-fortran at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-fortran
--
Jeff Squyres
jsquyres at cisco.com
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
More information about the mpiwg-fortran
mailing list