<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><br>
      Hi Ken,<br>
      <br>
      Please check that you have password-less ssh connectivity between
      the nodes.<br>
      <br>
      Best,<br>
        Antonio<br>
      <br>
      <br>
      On 04/02/2015 07:33 PM, Ken Miller wrote:<br>
    </div>
    <blockquote cite="mid:B9583627-EF54-49E4-AEA4-FD4F3FC874E5@gmail.com" type="cite">
      
      Hello,
      <div><br>
      </div>
      <div>I am hoping someone might be able to point out what I am
        doing wrong. I have setup a Raspberry Pi cluster by going
        through a couple tutorials. The last step is to use MPI to test
        the cluster. Everything was going great until I ran the
        following command:</div>
      <div><br>
      </div>
      <div>
        <div style="margin: 0px; font-size: 11px; font-family: Menlo;">mpiexec
          -f machinefile -n 4 hostname</div>
      </div>
      <div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br>
      </div>
      <div style="margin: 0px; font-size: 11px; font-family: Menlo;">My
        machinefile contains the following:</div>
      <div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br>
      </div>
      <div style="margin: 0px;">
        <div style="font-family: Menlo; font-size: 11px; margin: 0px;"><span style="color: #34bd26"><b>pi@Pi01</b></span> <span style="color: #5330e1"><b>~/mpi_test $</b></span> cat
          machinefile</div>
        <div style="font-family: Menlo; font-size: 11px; margin: 0px;">192.168.2.121</div>
        <div style="font-family: Menlo; font-size: 11px; margin: 0px;">192.168.2.122</div>
        <div style="font-family: Menlo; font-size: 11px; margin: 0px;">192.168.2.123</div>
        <div style="font-family: Menlo; font-size: 11px; margin: 0px;">192.168.2.124</div>
        <div style="font-family: Menlo; font-size: 11px; margin: 0px;"><br>
        </div>
        <div style="font-family: Menlo; font-size: 11px; margin: 0px;">But,
          when I run the mpiexec command, I get the following error:</div>
        <div style="font-family: Menlo; font-size: 11px; margin: 0px;"><br>
        </div>
        <div style="margin: 0px;">
          <div style="font-family: Menlo; font-size: 11px; margin: 0px;"><span style="color: #34bd26"><b>pi@Pi01</b></span> <span style="color: #5330e1"><b>~/mpi_test $</b></span> mpiexec
            -f machinefile -n 4 hostname</div>
          <div style="font-family: Menlo; font-size: 11px; margin: 0px;">Pi01</div>
          <div style="font-family: Menlo; font-size: 11px; margin: 0px;">[mpiexec@Pi01]
            control_cb
            (/home/pi/mpich2/mpich-3.1/src/pm/hydra/pm/pmiserv/pmiserv_cb.c:200):
            assert (!closed) failed</div>
          <div style="font-family: Menlo; font-size: 11px; margin: 0px;">[mpiexec@Pi01]
            HYDT_dmxu_poll_wait_for_event
            (/home/pi/mpich2/mpich-3.1/src/pm/hydra/tools/demux/demux_poll.c:76):
            callback returned error status</div>
          <div style="font-family: Menlo; font-size: 11px; margin: 0px;">[mpiexec@Pi01]
            HYD_pmci_wait_for_completion
            (/home/pi/mpich2/mpich-3.1/src/pm/hydra/pm/pmiserv/pmiserv_pmci.c:198):
            error waiting for event</div>
          <div style="font-family: Menlo; font-size: 11px; margin: 0px;">[mpiexec@Pi01]
            main
            (/home/pi/mpich2/mpich-3.1/src/pm/hydra/ui/mpich/mpiexec.c:336):
            process manager error waiting for completion</div>
          <div style="font-family: Menlo; font-size: 11px; margin: 0px;
            color: rgb(83, 48, 225);"><span style="color: #34bd26"><b>pi@Pi01</b></span><span style="color: #000000"> </span><b>~/mpi_test $</b><span style="color: #000000"> </span></div>
          <div style="font-family: Menlo; font-size: 11px; margin: 0px;
            color: rgb(83, 48, 225);"><span style="color: #000000"><br>
            </span></div>
          <div style="font-family: Menlo; font-size: 11px; margin: 0px;
            color: rgb(83, 48, 225);"><span style="color: #000000">Clearly,
              I am missing something. Would appreciate any help in
              advance.</span></div>
          <div style="font-family: Menlo; font-size: 11px; margin: 0px;
            color: rgb(83, 48, 225);"><span style="color: #000000"><br>
            </span></div>
          <div style="font-family: Menlo; font-size: 11px; margin: 0px;
            color: rgb(83, 48, 225);"><span style="color: #000000">Thanks.</span></div>
          <div style="font-family: Menlo; font-size: 11px; margin: 0px;
            color: rgb(83, 48, 225);"><span style="color: #000000"><br>
            </span></div>
          <div style="font-family: Menlo; font-size: 11px; margin: 0px;
            color: rgb(83, 48, 225);"><span style="color: #000000">Ken</span></div>
          <div style="font-family: Menlo; font-size: 11px; margin: 0px;
            color: rgb(83, 48, 225);"><span style="color: #000000"><br>
            </span></div>
          <div style="margin: 0px;"><font face="Menlo"><span style="font-size: 11px;">ps. I am connected to the other
                Pis evident by the following ping results. I can also
                log into each of the other 3 Pis.</span></font></div>
          <div style="margin: 0px;"><font face="Menlo"><span style="font-size: 11px;"><br>
              </span></font></div>
          <div style="margin: 0px;">
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">ping 192.168.2.122</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">PING 192.168.2.122 (192.168.2.122) 56(84) bytes of
              data.</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">64 bytes from 192.168.2.122: icmp_req=1 ttl=64
              time=0.807 ms</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">64 bytes from 192.168.2.122: icmp_req=2 ttl=64
              time=0.626 ms</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">64 bytes from 192.168.2.122: icmp_req=3 ttl=64
              time=0.614 ms</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">64 bytes from 192.168.2.122: icmp_req=4 ttl=64
              time=0.605 ms</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">64 bytes from 192.168.2.122: icmp_req=5 ttl=64
              time=0.603 ms</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">^C</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">--- 192.168.2.122 ping statistics ---</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">5 packets transmitted, 5 received, 0% packet loss,
              time 4002ms</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">rtt min/avg/max/mdev = 0.603/0.651/0.807/0.078 ms</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;"><span style="color: #34bd26"><b>pi@Pi01</b></span>
              <span style="color: #5330e1"><b>~/mpi_test $</b></span>
              ping 192.168.2.123</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">PING 192.168.2.123 (192.168.2.123) 56(84) bytes of
              data.</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">64 bytes from 192.168.2.123: icmp_req=1 ttl=64
              time=0.794 ms</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">64 bytes from 192.168.2.123: icmp_req=2 ttl=64
              time=0.634 ms</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">64 bytes from 192.168.2.123: icmp_req=3 ttl=64
              time=0.628 ms</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">64 bytes from 192.168.2.123: icmp_req=4 ttl=64
              time=0.607 ms</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">^C</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">--- 192.168.2.123 ping statistics ---</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">4 packets transmitted, 4 received, 0% packet loss,
              time 3003ms</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">rtt min/avg/max/mdev = 0.607/0.665/0.794/0.081 ms</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;"><span style="color: #34bd26"><b>pi@Pi01</b></span>
              <span style="color: #5330e1"><b>~/mpi_test $</b></span>
              ping 192.168.2.124</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">PING 192.168.2.124 (192.168.2.124) 56(84) bytes of
              data.</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">64 bytes from 192.168.2.124: icmp_req=1 ttl=64
              time=0.787 ms</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">64 bytes from 192.168.2.124: icmp_req=2 ttl=64
              time=0.632 ms</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">64 bytes from 192.168.2.124: icmp_req=3 ttl=64
              time=0.612 ms</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">^C</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">--- 192.168.2.124 ping statistics ---</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">3 packets transmitted, 3 received, 0% packet loss,
              time 2002ms</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo;">rtt min/avg/max/mdev = 0.612/0.677/0.787/0.078 ms</div>
            <div style="margin: 0px; font-size: 11px; font-family:
              Menlo; color: rgb(83, 48, 225);"><span style="color:
                #34bd26"><b>pi@Pi01</b></span><span style="color:
                #000000"> </span><b>~/mpi_test $</b><span style="color:
                #000000"> </span></div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
discuss mailing list     <a class="moz-txt-link-abbreviated" href="mailto:discuss@mpich.org">discuss@mpich.org</a>
To manage subscription options or unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a></pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Antonio J. Peña
Postdoctoral Appointee
Mathematics and Computer Science Division
Argonne National Laboratory
9700 South Cass Avenue, Bldg. 240, Of. 3148
Argonne, IL 60439-4847
<a class="moz-txt-link-abbreviated" href="mailto:apenya@mcs.anl.gov">apenya@mcs.anl.gov</a>
<a class="moz-txt-link-abbreviated" href="http://www.mcs.anl.gov/~apenya">www.mcs.anl.gov/~apenya</a></pre>
  </body>
</html>