Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2006-09-01 07:45:25


On 8/30/06 7:03 PM, "Eng. A.A. Isola" <alfonso.isola_at_[hidden]> wrote:

> "As of Open MPI 1.1, we do support endian conversion between peers. It
> has not been as well tested as the rest of the code base, but it
> should work."
>
> Then if I send for example a MPI_CHAR between a solaris SPARC
> and a LINUX pc both with a 32bit architecture, the communication
> will be correctly?

Note that a CHAR is typically 1 byte and therefore not subject to endian
conversion. Therefore, yes, it should work.

> I want know only if the Open MPI v.1.1 support the
> endian conversion.

As Brian stated, starting with v1.1, Open MPI is able to do endian
conversion between processes on nodes with opposite endian (it happens
automatically). Open MPI does not yet handle types with different sizes,
however (e.g., if sizeof(long)==4 on one node and sizeof(long)==8 on
another).

-- 
Jeff Squyres
Server Virtualization Business Unit
Cisco Systems