[Boost-bugs] [Boost C++ Libraries] #9208: MPI failure on big endian machines

Subject: [Boost-bugs] [Boost C++ Libraries] #9208: MPI failure on big endian machines
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-07 21:46:15


#9208: MPI failure on big endian machines
------------------------------------+-------------------------
 Reporter: Steve Nolen <drnuke@…> | Owner: troyer
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: mpi
  Version: Boost 1.54.0 | Severity: Showstopper
 Keywords: mpi, endian |
------------------------------------+-------------------------
 On big endian machines (i.e. LLNL's Sequoia) the boost MPI implementation
 is broken. When a class's version is written to a packed_oarchive, the
 value (an unsigned int, uint32) is written as a 1-byte integer. The
 process sort of works on little endian machines where the least
 significant byte is being copied. On a big endian machine, this 1st byte
 is always going to be zero. I have put together a patch that explicitly
 converts the uint32 to a uint8 to avoid this issue. Feedback is
 appreciated.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9208>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC