LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: jeremy archuleta (archie0012_at_[hidden])
Date: 2003-06-25 17:24:49


To install A++P++:

./configure --enable-PXX [other options]
make (this will fail but will compile A++)

modify P++/PARTI/port.h line 40 ("#include <mpi.h>) to
  extern "C++" {
  #include <mpi.h>
  }

make (this will pass and compile P++)

make check

modify P++/TESTS/Makefile line 790: change mpich_LIBS
to lam_LIBS

make install

The problem is that way up the include tree there is
an "extern "C" { #include bsparti.h }" which
eventually trickles down to #include <mpi.h>. But
since lam-mpi is in C++ not C, the header files fail.

(I have submitted this problem to LLNL so that they
might fix the problem in later releases)

Hope this helps.
-jer

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com