Le mercredi 9 août 2006 12:14, Tim Prince a écrit :
> Eric Thibodeau wrote:
> > Hello everyone,
> >
> > I am currently trying to get my MPI app to run off a somewhat
> > heterogenous environement. Here is how I compile my apps:
> >
> > 1- Run the following command on all arches (head node and slave node)
> >
> > mpicc -lm -lX11 -o mandelbrot-mpi.$(laminfo -arch | cut -d' ' -f10)
> > mandelbrot-mpi.c
> >
> > This generates the following binaries:
> >
> > mandelbrot-mpi.i686-pc-linux-gnu
> >
> > mandelbrot-mpi.x86_64-pc-linux-gnu
> >
> What's the value in mixing the 2 architectures, when the 32-bit mpi
> should run under both the 64-bit and 32-bit systems? In any case, you
> will likely have to go to each node and check that ldd gives the
> expected results with your run-time environment settings.
The alledged value is that the head node is supposed to be more powerful than the slave nodes for xyz reason. As for the ldd info, here it is (and it seems right):
eric_at_thinkbig1 ~/1_Files/1_ETS/1_Maitrise/MGL810/Devoir2 $ ldd mandelbrot-mpi.i686-pc-linux-gnu
linux-gate.so.1 => (0xffffe000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7f55000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7e68000)
liblamf77mpi.so.0 => /usr/lib/liblamf77mpi.so.0 (0xb7e57000)
libmpi.so.0 => /usr/lib/libmpi.so.0 (0xb7dbf000)
liblam.so.0 => /usr/lib/liblam.so.0 (0xb7d6e000)
libutil.so.1 => /lib/libutil.so.1 (0xb7d6a000)
libdl.so.2 => /lib/libdl.so.2 (0xb7d66000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7d53000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7c3c000)
/lib/ld-linux.so.2 (0xb7f7c000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7c39000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7c34000)
eric_at_headless ~/1_Files/1_ETS/1_Maitrise/MGL810/Devoir2 $ ldd mandelbrot-mpi.x86_64-pc-linux-gnu
libm.so.6 => /lib/tls/libm.so.6 (0x00002b11667c5000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00002b1166919000)
liblamf77mpi.so.0 => /usr/lib64/liblamf77mpi.so.0 (0x00002b1166b27000)
libmpi.so.0 => /usr/lib64/libmpi.so.0 (0x00002b1166c3a000)
liblam.so.0 => /usr/lib64/liblam.so.0 (0x00002b1166de5000)
libutil.so.1 => /lib/libutil.so.1 (0x00002b1166f4b000)
libdl.so.2 => /lib/libdl.so.2 (0x00002b116704e000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00002b1167151000)
libc.so.6 => /lib/tls/libc.so.6 (0x00002b1167267000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00002b116748f000)
libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00002b1167592000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00002b1167698000)
/lib64/ld-linux-x86-64.so.2 (0x00002b11666ad000)
I am even more confused as to why the nodes don't seem to find liblamf77mpi.so...
Eric Thibodeau
|