<div dir="ltr"><div>Hi Ken,<br></div><div>Yes I used mpicc to build the binary</div><div><br></div><div>the oputput of mpicc -show is</div><div><br></div><div><div>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</div></div><div><br></div><div><br></div><div>Sophie</div><div class="gmail_extra"><br><div class="gmail_quote">On 9 September 2014 00:48, Kenneth Raffenetti <span dir="ltr"><<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">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.<br>
<br>
Ken<div><div class="h5"><br>
<br>
On 09/08/2014 06:44 PM, Sophie Norman wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
Hi,<br>
<br>
When running NAS parallel benchmarks using 4 Raspberry Pi nodes each<br>
running MPICH-3.1.2 I get the following error when I try to run the<br>
integer sort benchmark<br>
<br>
~/NPB3.3/NPB3.3-MPI/bin $ mpiexec -n 4 -machinefile<br>
/home/pi/mpi_testing/<u></u>machinefile ./is.S.4<br>
<br>
<br>
  NAS Parallel Benchmarks 3.3 -- IS Benchmark<br>
<br>
  Size:  65536  (class S)<br>
  Iterations:   10<br>
  Number of processes:     1<br>
<br>
  ERROR: compiled for 4 processes<br>
  Number of active processes: 1<br>
  Exiting program!<br>
<br>
./is.S.4: error while loading shared libraries: libmpi.so.12: cannot<br>
open shared object file: No such file or directory<br>
./is.S.4: error while loading shared libraries: libmpi.so.12: cannot<br>
open shared object file: No such file or directory<br>
./is.S.4: error while loading shared libraries: libmpi.so.12: cannot<br>
open shared object file: No such file or directory<br>
<br>
<br>
<br>
I have tried<br>
export LD_LIBRARY_PATH=$LD_LIBRARY_<u></u>PATH:/home/rpimpi/mpich3-<u></u>install/lib<br>
on each of the nodes, and each node works individually when run with<br>
  the file ./is.S.1<br>
<br>
$ldd ./is.S.4 give the following output for the master node<br>
<br>
/usr/lib/arm-linux-gnueabihf/<u></u>libcofi_rpi.so (0xb6edf000)<br>
libmpi.so.12 => /home/rpimpi/mpich3-install/<u></u>lib/libmpi.so.12 (0xb6ca3000)<br>
libc.so.6 => /lib/arm-linux-gnueabihf/libc.<u></u>so.6 (0xb6b68000)<br>
librt.so.1 => /lib/arm-linux-gnueabihf/<u></u>librt.so.1 (0xb6b59000)<br>
libpthread.so.0 => /lib/arm-linux-gnueabihf/<u></u>libpthread.so.0 (0xb6b3a000)<br>
libgfortran.so.3 => /usr/lib/arm-linux-gnueabihf/<u></u>libgfortran.so.3<br>
(0xb6a93000)<br>
libm.so.6 => /lib/arm-linux-gnueabihf/libm.<u></u>so.6 (0xb6a22000)<br>
libgcc_s.so.1 => /lib/arm-linux-gnueabihf/<u></u>libgcc_s.so.1 (0xb69fa000)<br>
/lib/ld-linux-armhf.so.3 (0xb6eed000)<br>
<br>
<br>
please help<br>
<br>
Thanks<br>
<br>
Sophie<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a><br>
<br>
</blockquote>
______________________________<u></u>_________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a><br>
</blockquote></div><br></div></div>