As Tim mentioned, we would need a bit more information to be able to
diagnose the problem properly. It does look like liblammpio.a is being
skipped by the linker due to an unknown reason -- it's "incompatible"
(perhaps due to 32/64 bit differences). Did you compile/install LAM
for a different size than what you are compiling your application?
Also, to emphasize another of Tim's points: do *not* mix LAM and MPICH.
They are totally different MPI implementations and are not compatible.
You can certainly have multiple MPI implementations installed on a
single node, but be sure to keep them separate, and have your PATH set
to the one that you are currently using, etc.
On Nov 5, 2004, at 2:29 PM, 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
>
> Thanks in advance for any help.
>
> Cheers
>
> Paulo
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|