LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Brian W. Barrett (brbarret_at_[hidden])
Date: 2002-09-05 12:45:40


On Thu, 5 Sep 2002, vidya kotamraju wrote:

> 1. I have 4 homogeneous linux sysytems and i hv
> actually installed 6.5.6 in a user's home
> directory.but my sytem is not taking the latest
> LAM.Its taking verion 6.5.4 of LAM which comes by
> default with Redhat 7.2 Linux.
> How do i override it. i made a few changes in the
> .bashrc but still it does not take the latest version.

It sounds like you still have /usr/bin show up in your path before the
installation of LAM/MPI 6.5.6. You might want to look at the LAM/MPI FAQ
at http://www.lam-mpi.org/faq/, in particular the section on booting LAM.

> 2. Another query is that while installing LAM 6.5.6 i
> got an error with make examples.

> mpiCC -I../../share/include -O -o ring ring.o
> ring.o: In function `main':
> ring.o(.text+0x1c): undefined reference to
> `MPI::ERRORS_THROW_EXCEPTIONS'
> ring.o(.text+0x21): undefined reference to

<SNIP>

It looks like your installation is getting very confused along the way.
Did you compile LAM/MPI with C++ bindings support? It almost looks like
mpiCC is finding the C++ bindings header file (so the preprocessor
succeeds), but then can't find the library. You might want to check
that the liblammpi++.a library is in $prefix/lib/, as would be expected.

Brian

-- 
  Brian Barrett
  LAM/MPI developer and all around nice guy
  Have a LAM/MPI day: http://www.lam-mpi.org/
_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/