[MPI3 Fortran] Straw vote on integers kinds

Jeff Squyres jsquyres at cisco.com
Tue Sep 15 09:50:31 CDT 2009


On Sep 14, 2009, at 4:01 PM, Bill Long wrote:

> Note that the wiki page includes a proposed MPI_COUNT_KIND, which I
> think is the integer kind that scales with memory size.  I assumed  
> this
> discussion was for integer arguments other than the ones for which
> kind=MPI_COUNT_KIND is specified.  It would help if that were  
> clarified,
> especially if my assumption is wrong.  I agree with Nick that an
> independent kind constant is needed for the size cases.
>


MPI_COUNT_KIND is likely to come into existence during MPI-3 because  
the corresponding MPI_Count C type will come into existence.  It is  
intended to replace default C int's for "count" arguments -- e.g.,  
allow the sending of more than 2B items in an MPI_Send:

int MPI_Send(void *buf, int count, MPI_Datatype type, int dest,
              int tag, MPI_Comm comm)

becomes

int MPI_Send(void *buf, MPI_Count count, MPI_Datatype type, int dest,
              int tag, MPI_Comm comm)

-- 
Jeff Squyres
jsquyres at cisco.com




More information about the mpiwg-fortran mailing list