If this is a new cluster, is there a reason you're not using Open MPI?
(admittedly, cross-compiling with Open MPI is a little wonky, but it
is possible)
On Jan 27, 2009, at 3:12 PM, Spenser Gilliland wrote:
> We are currently setting up a lam-mpi cluster with powerpc 405
> processor nodes and an x86 headnode. We want to be able to use the
> x86 node to build the mpi programs for the nodes. Here's the output
> from mpicc as we attempt to build a simple hello world program.
> BTW: The x86 node will not be used to execute lam-mpi code. It will
> only be used to start lam and the program.
>
> sysadmin_at_recomp:~$ LAMMPICC=powerpc-405-linux-gnu-gcc mpicc hello.c
> /opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc-405-linux-gnu/lib/gcc/
> powerpc-405-linux-gnu/4.1.0/../../../../powerpc-405-linux-gnu/bin/
> ld: skipping incompatible /usr/lib/lam/lib/liblammpio.so when
> searching for -llammpio
> /opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc-405-linux-gnu/lib/gcc/
> powerpc-405-linux-gnu/4.1.0/../../../../powerpc-405-linux-gnu/bin/
> ld: skipping incompatible /usr/lib/lam/lib/liblammpio.a when
> searching for -llammpio
> /opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc-405-linux-gnu/lib/gcc/
> powerpc-405-linux-gnu/4.1.0/../../../../powerpc-405-linux-gnu/bin/
> ld: cannot find -llammpio
> collect2: ld returned 1 exit status
> mpicc: No such file or directory
>
> This is the same compiler that we used to build the kernels for the
> powerpc boards. It appears that the library liblammpio.so is not
> able to be used for powerpc.
>
> Thank you,
>
> Spenser
> Baylor University
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
--
Jeff Squyres
Cisco Systems
|