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-07-17 17:48:32


On Thu, 17 Jul 2003 Etienne.Gondet_at_[hidden] wrote:

> with LAM7.0 :
> ==============
>
> we change a bit the process :
> export CFLAGS="-q64 -qmaxmem"
> export OBJECT_MODE=64
> ./configure --prefix=/home/ms/spfrpalm/lmz/local/lam7.0 --without-romio
> --with-rsh=RSH --with-rpi=usysv -with-fc

You shouldn't need the --with-rpi=usysv switch unless you want to make
usysv the default. Note that all the RPI's will be available at runtime;
using --with-rpi will just make usysv the default.

Also, --with-rsh=RSH will probably not work -- the intent of the
instructions is to change "RSH" to be whatever the name of your local
rsh/ssh program is (if LAM is not able to find it by itself).

Also, --with-fc is the default -- you shouldn't need to specify it.

>From your config.log, I can't tell if you overrode the CC, CXX, and FC
environment variables -- I don't think that you did. It looks like
configure found "cc" for the C compiler and "xlC_r" for the C++ compiler.
I don't know if this is the specific problem, but it seems like you have a
mismatch:

- cc does not build thread-safe executables
- xlC_r builds thread-safe executables

Additionally, I think that "cc" on AIX forces the use of older C compiler
behavior -- __STDC__ is not set, for example. I think you want to use
both xlc, xlC and xlf, or xlc_r, xlC_r, and xlf_r (depending on whether
you want thread safety or not). If you don't use the _r versions, you
should configure LAM with the --without-threads option.

I do notice that there may be issues with the "xlC_r" compiler on your
system; a lot of the tests complain with the following error:

-----
"/usr/vacpp/include/stdlib.h", line 123.13: 1540-0040 (S) The text "llabs"
is unexpected. "undef" may be undeclared or ambiguous.
-----

That does not seem right...? Do you know if xlC_r works properly on your
system? Can you compile and run a simple C++ "hello world" kind of
executable with xlC or xlC_r?

It seems that you have Version 5 of the AIX compilers; I only have access
to AIX 5.1 machines with Version 6 installed, so I can't exactly reproduce
your conditions. :-(

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