LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Tim Prince (tprince_at_[hidden])
Date: 2004-11-05 21:56:51


At 11:29 AM 11/5/2004, Paulo Nuin wrote:

>Hello everyone
>
>I am trying to compile a phyloegentic program (MrBayes) to use with
>Lam-Mpi. We have a cluster of 12 nodes, but only 3 have Lam-Mpi
>installed and the head node have MPICH installed. I am compiling fine on
>the nodes with MPICH but I got the following errors when compiling on a
>node with Lam-Mpi
>
>mpicc -O4 -DMPI_ENABLED bayes.o command.o complex.o gamma.o linalg.o
>mcmc.o model.o plot.o sump.o sumt.o -lm -o mb
>/usr/bin/ld: skipping incompatible /usr/lib/lam/lib/liblammpio.a when
>searching
>for -llammpio
>/usr/bin/ld: cannot find -llammpio
>collect2: ld returned 1 exit status
>mpicc: No such file or directory
>make: *** [mb] Error 1

Didn't you post the same before? Maybe someone is waiting for you to fill
in some useful information.
If you don't know what OS and what compiler you used for the various stages
of your link, who are we to guess at it? "skipping incompatible.." is a
typical message from ld on x86-64 when ld is looking for 64-bit stuff, but
the library is 32-bit. But mpicc -O4 doesn't make sense for any commonly
used compiler. If your stuff about having mpich on some nodes and lam on
others is relevant, in what way is that? If you are mixing up the mpicc
versions intentionally, you can't expect any suggestions.

Tim Prince