LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Pierre Valiron (valiron_at_[hidden])
Date: 2003-06-17 07:56:12


LAM/MPI 7.0b13 fails to configure and build on RS6000 AIX 4.3.3.

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

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).

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

Then (assuming ksh syntax) a typical LAM configuration in 32-bit
addressing mode is:

export OBJECT_MODE=32
export CC=xlc_r
export FC=xlf_r
./configure --without-romio --prefix=/xxxxx/lam-7.0b13-32

The corresponding configuration in 64-bit adressing mode is:

export OBJECT_MODE=64
export CC=xlc_r
export FC=xlf_r
export CXXFLAGS='-maix64' # g++ is not aware of OBJECT_MODE setting
./configure --without-romio --prefix=/xxxxx/lam-7.0b13-64

The resulting 64-bit lam-7.0b13 libraries runs nicely on my application
and are also fully interoperable with 32-bit lam-7.0b13 tasks running
under Linux.

Enjoy.
Pierre Valiron and Francoise Roch.

-- 
       _/_/_/_/    _/       _/       Dr. Pierre VALIRON
      _/     _/   _/      _/   Laboratoire d'Astrophysique (UMR 5571 CNRS)
     _/     _/   _/     _/    Observatoire de Grenoble / U. Joseph Fourier
    _/_/_/_/    _/    _/         BP 53  F-38041 Grenoble Cedex 9 (France)
   _/          _/   _/                                   
  _/          _/  _/        http://www-laog.obs.ujf-grenoble.fr
 _/          _/ _/       mailto:Pierre.Valiron_at_[hidden]
_/          _/_/      Phone / Fax: +33 (0)4 76.51.47.87 / (0)4 76.44.88.21