Let's try to verify that the library is properly located on all the nodes you are running. We can do a simple test with mpiexec. Try running:
mpiexec -n 4 -machinefile /home/pi/mpi_testing/__machinefile -l ls /home/rpimpi/mpich3-install/lib/libmpi.so.12
Ken
On 09/08/2014 07:03 PM, Sophie Norman wrote:
Hi Ken,
Yes I used mpicc to build the binary
the oputput of mpicc -show is
gcc -I/home/rpimpi/mpich3-install/include
-L/home/rpimpi/mpich3-install/lib -Wl,-rpath
-Wl,/home/rpimpi/mpich3-install/lib -Wl,--enable-new-dtags -lmpi -lrt
-lpthread
Sophie
On 9 September 2014 00:48, Kenneth Raffenetti <raffenet@mcs.anl.gov
<mailto:raffenet@mcs.anl.gov>> wrote:
Did you use mpicc to build your binary? What is the output of 'mpicc
-show'. The compile wrappers should encode an RPATH tag in your
program so that setting an LD_LIBRARY_PATH to find libmpi.so is
unncessary.
Ken
On 09/08/2014 06:44 PM, Sophie Norman wrote:
Hi,
When running NAS parallel benchmarks using 4 Raspberry Pi nodes each
running MPICH-3.1.2 I get the following error when I try to run the
integer sort benchmark
~/NPB3.3/NPB3.3-MPI/bin $ mpiexec -n 4 -machinefile
/home/pi/mpi_testing/__machinefile ./is.S.4
NAS Parallel Benchmarks 3.3 -- IS Benchmark
Size: 65536 (class S)
Iterations: 10
Number of processes: 1
ERROR: compiled for 4 processes
Number of active processes: 1
Exiting program!
./is.S.4: error while loading shared libraries: libmpi.so.12: cannot
open shared object file: No such file or directory
./is.S.4: error while loading shared libraries: libmpi.so.12: cannot
open shared object file: No such file or directory
./is.S.4: error while loading shared libraries: libmpi.so.12: cannot
open shared object file: No such file or directory
I have tried
export
LD_LIBRARY_PATH=$LD_LIBRARY___PATH:/home/rpimpi/mpich3-__install/lib
on each of the nodes, and each node works individually when run with
the file ./is.S.1
$ldd ./is.S.4 give the following output for the master node
/usr/lib/arm-linux-gnueabihf/__libcofi_rpi.so (0xb6edf000)
libmpi.so.12 => /home/rpimpi/mpich3-install/__lib/libmpi.so.12
(0xb6ca3000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.__so.6 (0xb6b68000)
librt.so.1 => /lib/arm-linux-gnueabihf/__librt.so.1 (0xb6b59000)
libpthread.so.0 => /lib/arm-linux-gnueabihf/__libpthread.so.0
(0xb6b3a000)
libgfortran.so.3 => /usr/lib/arm-linux-gnueabihf/__libgfortran.so.3
(0xb6a93000)
libm.so.6 => /lib/arm-linux-gnueabihf/libm.__so.6 (0xb6a22000)
libgcc_s.so.1 => /lib/arm-linux-gnueabihf/__libgcc_s.so.1
(0xb69fa000)
/lib/ld-linux-armhf.so.3 (0xb6eed000)
please help
Thanks
Sophie
_________________________________________________
discuss mailing list discuss@mpich.org <mailto:discuss@mpich.org>
To manage subscription options or unsubscribe:
https://lists.mpich.org/__mailman/listinfo/discuss
<https://lists.mpich.org/mailman/listinfo/discuss>
_________________________________________________
discuss mailing list discuss@mpich.org <mailto:discuss@mpich.org>
To manage subscription options or unsubscribe:
https://lists.mpich.org/__mailman/listinfo/discuss
<https://lists.mpich.org/mailman/listinfo/discuss>
_______________________________________________
discuss mailing list discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss