LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: vidya kotamraju (vidya_kotamraju_at_[hidden])
Date: 2002-09-05 02:13:17


hi davide,
hey thanx.it was a variable error...and sorry abt
mpicc too.(it was a typo error in the mail)am actually
using mpif77 for compiling.
but i still had a few queries.
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.

2. Another query is that while installing LAM 6.5.6 i
got an error with make examples.
the error was as follows:
 make examples
make[1]: Entering directory
`/home/vidyakr/dwnload/examples'
Making all in alltoall
make[2]: Entering directory
`/home/vidyakr/dwnload/examples/alltoall'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/vidyakr/dwnload/examples/alltoall'
Making all in fault
make[2]: Entering directory
`/home/vidyakr/dwnload/examples/fault'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/vidyakr/dwnload/examples/fault'
Making all in mandelbrot
make[2]: Entering directory
`/home/vidyakr/dwnload/examples/mandelbrot'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/vidyakr/dwnload/examples/mandelbrot'
Making all in mpi2c++
make[2]: Leaving directory
`/home/vidyakr/dwnload/examples/mandelbrot'
Making all in mpi2c++
make[2]: Entering directory
`/home/vidyakr/dwnload/examples/mpi2c++'
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
`throw_excptn_fctn'
ring.o(.text+0x3a): undefined reference to
`MPI::COMM_WORLD'
ring.o(.text+0x52): undefined reference to
`MPI::COMM_WORLD'
ring.o(.text+0x115): undefined reference to
`MPI::COMM_WORLD'
ring.o(.text+0x11e): undefined reference to `MPI::INT'
ring.o(.text+0x147): undefined reference to
`MPI::COMM_WORLD'
ring.o(.text+0x14d): undefined reference to
`MPI::ANY_TAG'
ring.o(.text+0x156): undefined reference to `MPI::INT'
ring.o(.text+0x1b0): undefined reference to
`MPI::COMM_WORLD'
ring.o(.text+0x1b9): undefined reference to `MPI::INT'
ring.o(.text+0x1e2): undefined reference to
`MPI::COMM_WORLD'
ring.o(.text+0x1e8): undefined reference to
`MPI::ANY_TAG'
ring.o(.text+0x1f1): undefined reference to `MPI::INT'
ring.o(.text+0x265): undefined reference to
`MPI::ERRORS_THROW_EXCEPTIONS'
collect2: ld returned 1 exit status
hcc: No such file or directory
make[2]: *** [ring] Error 1
make[2]: Leaving directory
`/home/vidyakr/dwnload/examples/mpi2c++'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/vidyakr/dwnload/examples'
make: *** [lam-examples] Error 2
------------------------------------------

how do i make exampls ????

Cheers,
Vidya Kotamraju,
Physical Oceanography Department,
National Institute Of Oceanograpphy,
Goa,India
mail: vidyakr_at_[hidden]

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/