[Mpi-22] determine if running in a heterogenous environment
Dries Kimpe
Dries.Kimpe at [hidden]
Mon Mar 3 12:59:17 CST 2008
You have to draw the line somewhere ;-)
Especially since -- assuming the user uses MPI_BYTE to describe
everything -- the MPI implementation cannot know if any of those datatypes
needing adjustment are used. Of course, the application could know this if
detailed information about the
So, as soon as one of the predefined MPI datatypes is different I would
flag the peer (or communicator) as heterogen(e)ous.
For example, X86 vs X86_64 and gcc:
All C types, except for pointers and long integers are the same;
Still, I would say they are heterogen(e)ous without giving more details.
Dries
* Jeff Squyres <jsquyres_at_[hidden]> [2008-03-03 13:24:11]:
> My point is that some datatypes may require translation while others
> may not. It's not always just endian differences -- sometimes there's
> floating point representation differences, or size differences (e.g.,
> sizeof(int) != sizeof(int)).
*
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-part
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://lists.mpi-forum.org/pipermail/mpi-22/attachments/20080303/4739b2d8/attachment.pgp>
More information about the Mpi-22
mailing list