LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2003-06-17 08:48:51


On Tue, 17 Jun 2003, Pierre Valiron wrote:

> Thanks to Francoise Roch <Francoise.Roch_at_[hidden]>, I present
> a solution for both problems.

Excellent -- thanks!

> 1) The native AIX xlC compiler is not smart enough to accomodate the
> configure requirements (fails on boolean stuff).
>
> A simple fix is to install gcc/g++ version 3.2.3 (binaries available
> from the IBM repository).

A good plan. We made the decision that the C++ compiler *must* support
bool for LAM/MPI; it dramatically simplifies the back-end code (rather
than try to do clever things with #define, etc.). Compilers that don't
support bool technically don't support the MPI C++ bindings, anyway
(because "bool" is in some of the official bindings). This is probably
arguable either way, but we've chosen to interpret the standard this way.
:-)

Regardless, the C++ bindings are a very thin (and usually inlined) layer
on top of the C bindings, so even if you use g++, your performance should
be fine.

> 2) Routines ssi_rpi_sysv.c and ssi_rpi_usysv.c fail to compile because
> several structures in netinet remain undefined under AIX 4.3.3.
>
> To fix the problem, add
>
> #include <netinet/in.h>
>
> in lam-7.0b13/share/ssi/rpi/sysv/src/ssi_rpi_sysv.c
> and lam-7.0b13/share/ssi/rpi/usysv/src/ssi_rpi_usysv.c

Excellent catch; we don't have access to AIX 4.3.3 anymore to test on.
I'll fix this so that 7.0final should compile fine on AIX.

FYI: 7.0 is currently being held up by some minor buglets in the Myrinet
code which we hope to have solved "real soon now".

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/