<div dir="ltr">Hi Ken<div><br></div><div>When I run that code I get the following error</div><div><br></div><div><div>--------------------------------------------------------------------------</div><div>mpiexec was unable to launch the specified application as it could not find an executable:</div><div><br></div><div>Executable: -l</div><div>Node: raspberrypi</div><div><br></div><div>while attempting to start process rank 0.</div><div>--------------------------------------------------------------------------</div></div><div><br></div><div>Sophie</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 9 September 2014 02:07, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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:<br>
<br>
mpiexec -n 4 -machinefile /home/pi/mpi_testing/__<u></u>machinefile -l ls /home/rpimpi/mpich3-install/<u></u>lib/libmpi.so.12<br>
<br>
Ken<span class=""><br>
<br>
On 09/08/2014 07:03 PM, Sophie Norman wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Hi Ken,<br>
Yes I used mpicc to build the binary<br>
<br>
the oputput of mpicc -show is<br>
<br>
gcc -I/home/rpimpi/mpich3-install/<u></u>include<br>
-L/home/rpimpi/mpich3-install/<u></u>lib -Wl,-rpath<br>
-Wl,/home/rpimpi/mpich3-<u></u>install/lib -Wl,--enable-new-dtags -lmpi -lrt<br>
-lpthread<br>
<br>
<br>
Sophie<br>
<br>
On 9 September 2014 00:48, Kenneth Raffenetti <<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a><br></span><span class="">
<mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>>> wrote:<br>
<br>
Did you use mpicc to build your binary? What is the output of 'mpicc<br>
-show'. The compile wrappers should encode an RPATH tag in your<br>
program so that setting an LD_LIBRARY_PATH to find libmpi.so is<br>
unncessary.<br>
<br>
Ken<br>
<br>
<br>
On 09/08/2014 06:44 PM, Sophie Norman wrote:<br>
<br>
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></span>
/home/pi/mpi_testing/__<u></u>machinefile ./is.S.4<span class=""><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<br></span>
LD_LIBRARY_PATH=$LD_LIBRARY___<u></u>PATH:/home/rpimpi/mpich3-__<u></u>install/lib<span class=""><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></span>
/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<br>
(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<br>
(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<span class=""><br>
(0xb69fa000)<br>
/lib/ld-linux-armhf.so.3 (0xb6eed000)<br>
<br>
<br>
please help<br>
<br>
Thanks<br>
<br>
Sophie<br>
<br>
<br></span>
______________________________<u></u>___________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><span class=""><br>
To manage subscription options or unsubscribe:<br></span>
<a href="https://lists.mpich.org/__mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/__<u></u>mailman/listinfo/discuss</a><br>
<<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a>><br>
<br>
______________________________<u></u>___________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><span class=""><br>
To manage subscription options or unsubscribe:<br></span>
<a href="https://lists.mpich.org/__mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/__<u></u>mailman/listinfo/discuss</a><span class=""><br>
<<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a>><br>
<br>
<br>
<br>
<br>
______________________________<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>
</span></blockquote><div class="HOEnZb"><div class="h5">
______________________________<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>
</div></div></blockquote></div><br></div>