RE: amber-developers: MPI_IN_PLACE defined in lam?

From: Ross Walker <ross.rosswalker.co.uk>
Date: Thu, 26 Oct 2006 08:11:44 -0700

> > (2) Would someone please check the ./configure -lam
> ifort_ia32. I had
> > to remove the -DUSE_MPI_IN_PLACE because ifort was complaining that
> > MPI_IN_PLACE was an undefined type ... is it a general
> issue with LAM or
> > is the way I have set up LAM?
>
> I have to admit that I can't see where MPI_IN_PLACE is
> declared in lam-7.1.2.
> I does seem to be there in mpich2-1.0.4. The comments in
> "configure" say
> that USE_MPI_IN_PLACE is supposed to work for lam-7.1.1, but
> I wonder if this
> is really correct(?) [I haven't downloaded 7.1.1 to check,
> and maybe I am
> even missing something in 7.1.2].

HHHHmmm, it seems that all lam's were not created equal. I used the lam that
ships as part of RedHat Advanced Server 4 (with g95) and this seems to be a
non-standard 'tweaked' version of lam.

[07:27][caffeine:0.16][rcw:lib64]$ nm /usr/lib64/libmpi.a | grep
MPI_IN_PLACE
                 U MPIR_F_MPI_IN_PLACE
                 U MPIR_F_MPI_IN_PLACE
                 U MPIR_F_MPI_IN_PLACE
                 U MPIR_F_MPI_IN_PLACE
                 U MPIR_F_MPI_IN_PLACE
                 U MPIR_F_MPI_IN_PLACE
                 U MPIR_F_MPI_IN_PLACE
                 U MPIR_F_MPI_IN_PLACE
                 U MPIR_F_MPI_IN_PLACE
                 U MPIR_F_MPI_IN_PLACE
0000000000000008 B MPIR_F_MPI_IN_PLACE

[07:27][caffeine:0.08][rcw:src]$ which lamboot
/usr/bin/lamboot

[07:28][caffeine:0.12][rcw:lib64]$ lamboot -v

LAM 7.1.1/MPI 2 C++/ROMIO - Indiana University

n-1<16704> ssi:boot:base:linear: booting n0 (localhost)
n-1<16704> ssi:boot:base:linear: finished

But if I get the source code for lam 7.1.1 and compile it myself there is no
MPI_IN_PLACE. Weird.

Anyway, I have removed USE_MPI_IN_PLACE from the lam option in the configure
script since it doesn't seem to be ubiquitous. For mpich2 it should work
with all versions since it is part of the MPI2 standard and mpich2 claims to
support the MPI2 standard.

>From http://www-unix.mcs.anl.gov/mpi/mpich2/downloads/mpich2-doc-README.txt

" MPICH2 Release 1.0.4p1

MPICH2 is an all-new implementation of MPI from the group at Argonne
National Laboratory. It shares many goals with the original MPICH but
no actual code. It is a portable, high-performance implementation of
the entire MPI-2 standard. This release has all MPI-2 functions and
features required by the standard with the exception of support for the
"external32" portable I/O format. "

All the best
Ross

/\
\/
|\oss Walker

| HPC Consultant and Staff Scientist |
| San Diego Supercomputer Center |
| Tel: +1 858 822 0854 | EMail:- ross.rosswalker.co.uk |
| http://www.rosswalker.co.uk | PGP Key available on request |

Note: Electronic Mail is not secure, has no guarantee of delivery, may not
be read every day, and should not be used for urgent or sensitive issues.
Received on Sun Oct 29 2006 - 06:07:19 PST
Custom Search