<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>Did you install MPICH-3.1.2 to /home/rpimpi/mpich3-install/? If so and you did not specify --bindir, /usr/bin/mpiexec might be installed by a different MPI implementation. Can you try these?</div>
<div><br>
</div>
<div>/usr/bin/mpiexec --version</div>
<div>/home/rpimpi/mpich3-install/bin/mpiexec --version</div>
<div><br>
</div>
<div>If they are different, can you also try to use /home/rpimpi/mpich3-install/bin/mpiexec to execute your application?</div>
<div><br>
</div>
<div>— Sangmin</div>
<br>
<div>
<div>On Sep 9, 2014, at 8:44 AM, Sophie Norman <<a href="mailto:sophie.norman@gmail.com">sophie.norman@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">Sure Sangmin, here you go
<div><br>
</div>
<div>
<div>$ mpiexec -n 4 -machinefile /home/pi/mpi_testing/machinefile which mpiexec</div>
<div>/usr/bin/mpiexec</div>
<div>/usr/bin/mpiexec</div>
<div>/usr/bin/mpiexec</div>
<div>/usr/bin/mpiexec</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Sophie</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 9 September 2014 13:27, Seo, Sangmin <span dir="ltr">
<<a href="mailto:sseo@anl.gov" target="_blank">sseo@anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
<div>To verify the path to mpiexec on nodes, can you try the following?</div>
<div><br>
</div>
<div>mpiexec -n 4 -machinefile /home/pi/mpi_testing/__machinefile which mpiexec</div>
<span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div><br>
</div>
<div>— Sangmin</div>
</font></span>
<div>
<div class="h5">
<div><br>
</div>
<br>
<div>
<div>On Sep 9, 2014, at 6:37 AM, Sophie Norman <<a href="mailto:sophie.norman@gmail.com" target="_blank">sophie.norman@gmail.com</a>> wrote:</div>
<br>
<blockquote type="cite">
<div dir="ltr">I've looked and there's definitely no OpenMPI installation, there is however a Python-mpi4py installation, could that be causing the problem?</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 9 September 2014 12:08, 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">
That looks like an error message from OpenMPI's mpiexec. That is surely part of the problem here. Do you have an OpenMPI installation somewhere that may be conflicting with your MPICH? One solution would be to make sure that the path to MPICH's mpiexec is first
 in your environment.<br>
<br>
Ken<span><br>
<br>
On 09/09/2014 05:31 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>Hi Ken<br>
<br>
When I run that code I get the following error<br>
<br>
------------------------------<u></u>------------------------------<u></u>--------------<br>
mpiexec was unable to launch the specified application as it could not<br>
find an executable:<br>
<br>
Executable: -l<br>
Node: raspberrypi<br>
<br>
while attempting to start process rank 0.<br>
------------------------------<u></u>------------------------------<u></u>--------------<br>
<br>
Sophie<br>
<br>
On 9 September 2014 02:07, Kenneth Raffenetti <<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a><br>
</span><span><mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>>> wrote:<br>
<br>
    Let's try to verify that the library is properly located on all the<br>
    nodes you are running. We can do a simple test with mpiexec. Try<br>
    running:<br>
<br>
</span>       mpiexec -n 4 -machinefile /home/pi/mpi_testing/____<u></u>machinefile -l<br>
    ls /home/rpimpi/mpich3-install/__<u></u>lib/libmpi.so.12<span><br>
<br>
    Ken<br>
<br>
    On 09/08/2014 07:03 PM, Sophie Norman wrote:<br>
<br>
        Hi Ken,<br>
        Yes I used mpicc to build the binary<br>
<br>
        the oputput of mpicc -show is<br>
<br>
</span>        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<span><br>
        -lmpi -lrt<br>
        -lpthread<br>
<br>
<br>
        Sophie<br>
<br>
        On 9 September 2014 00:48, Kenneth Raffenetti<br>
        <<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a> <mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>><br>
</span><span>        <mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a> <mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>>><u></u>> wrote:<br>
<br>
             Did you use mpicc to build your binary? What is the output<br>
        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<br>
        Pi nodes each<br>
                 running MPICH-3.1.2 I get the following error when I<br>
        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><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:<br>
        libmpi.so.12: cannot<br>
                 open shared object file: No such file or directory<br>
                 ./is.S.4: error while loading shared libraries:<br>
        libmpi.so.12: cannot<br>
                 open shared object file: No such file or directory<br>
                 ./is.S.4: error while loading shared libraries:<br>
        libmpi.so.12: cannot<br>
                 open shared object file: No such file or directory<br>
<br>
<br>
<br>
                 I have tried<br>
                 export<br>
<br>
</span>        LD_LIBRARY_PATH=$LD_LIBRARY___<u></u>__PATH:/home/rpimpi/mpich3-___<u></u>_install/lib<span><br>
                 on each of the nodes, and each node works individually<br>
        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<br>
        (0xb6edf000)<br>
                 libmpi.so.12 =><br>
        /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<br>
        (0xb6b68000)<br>
                 librt.so.1 => /lib/arm-linux-gnueabihf/____<u></u>librt.so.1<br>
        (0xb6b59000)<br>
                 libpthread.so.0 =><br>
        /lib/arm-linux-gnueabihf/____<u></u>libpthread.so.0<br>
                 (0xb6b3a000)<br>
                 libgfortran.so.3 =><br>
        /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<br>
        (0xb6a22000)<br>
                 libgcc_s.so.1 => /lib/arm-linux-gnueabihf/____<u></u>libgcc_s.so.1<span><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><br>
        <mailto:<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><br>
        <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>>><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>
                 <<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><br>
        <mailto:<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><br>
        <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>>><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>><span><br>
             <<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>
<br>
<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>><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>
        <<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>><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>
    <<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>
<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>
</div>
</div>
</blockquote>
</div>
<br>
</div>
_______________________________________________<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/mailman/listinfo/discuss</a></blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org">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/mailman/listinfo/discuss</a><br>
</blockquote>
</div>
<br>
</div>
_______________________________________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a></blockquote>
</div>
<br>
</body>
</html>