LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Mark Hartner (hartner_at_[hidden])
Date: 2002-09-10 13:12:45


MPICH 1.2.4 and LAM 6.5.6 both use WORDS_BIGENDIAN

lam_config.h does:

#ifndef WORDS_BIGENDIAN
#define WORDS_BIGENDIAN 0
#endif

and the MPE source does:

#ifndef WORDS_BIGENDIAN

See the problem here? For a little endian machine the LAM source #def's
WORDS_BIGENDIAN, and then MPICH sees that it is defined and compiles for a
big endian machine.

We are using a "little endian" intel box and noticed that the MPE traces
were complete garbage. Replacing WORDS_BIGENDIAN with MPE_WORDS_BIGENDIAN
in the MPICH source fixed the problem and now LAM/MPE are working fine.

Mark

_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/