[Mpi-forum] MPI Count proposal from today's meeting

Supalov, Alexander alexander.supalov at intel.com
Thu Jun 17 12:33:15 CDT 2010


Thanks. Why signed?

-----Original Message-----
From: mpi-forum-bounces at lists.mpi-forum.org [mailto:mpi-forum-bounces at lists.mpi-forum.org] On Behalf Of N.M. Maclaren
Sent: Thursday, June 17, 2010 7:31 PM
To: Main MPI Forum mailing list
Subject: Re: [Mpi-forum] MPI Count proposal from today's meeting

On Jun 17 2010, Jeff Squyres (jsquyres) wrote:
>
> So there might be some confusion; I can't tell from your text. The intent 
> is that the mpi spec will only say that sizeof(mpi_count) is >= 
> sizeof(int). An implementation can choose what the real size is. Some may 
> choose to ship 2 libs: one with int and one with a 64 bit integer.

I am happy with that! Just keep ANY reference to "64-bit" from out of the 
specification, because it will cause nothing but trouble. That's from 
bitter experience, incidentally. Suitable wording would be something like:

    MPI_Count is a typedef name for a signed integer type suitable for
    holding vector lengths and offsets.  It shall be at least as large as
    the int type.

Regards,
Nick Maclaren.

_______________________________________________
mpi-forum mailing list
mpi-forum at lists.mpi-forum.org
http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum
---------------------------------------------------------------------
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen Germany
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
Registergericht: Muenchen HRB 47456 Ust.-IdNr.
VAT Registration No.: DE129385895
Citibank Frankfurt (BLZ 502 109 00) 600119052

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.





More information about the mpi-forum mailing list