I've configured two computers of Ubuntu12.04 with mpich2-1.4.1p1,and it all works well with the Helloworld program in one machine or two machines together.<br>But I got wrong info in running the cpi examples.Before,all two machines can ping and ssh from each other to the other with no password. and I also turned off the firewall.(I've checked the uwf-status.) However, when I running the cpi example, I got these below:<br>
<br><blockquote style="margin:0px 0px 0px 6.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">zhang@zhang-Lenovo-IdeaPad-Y470:~/test$ mpiexec -f hosts -np 2 ./cpi<br>Process 0 of 2 is on zhang-Lenovo-IdeaPad-Y470<br>
Process 1 of 2 is on lianjie2<br>Fatal error in PMPI_Reduce: Other MPI error, error stack:<br>PMPI_Reduce(1270)...............: MPI_Reduce(sbuf=0xbf8f9b18, rbuf=0xbf8f9b20, count=1, MPI_DOUBLE, MPI_SUM, root=0, MPI_COMM_WORLD) failed<br>
MPIR_Reduce_impl(1087)..........: <br>MPIR_Reduce_intra(895)..........: <br>MPIR_Reduce_binomial(144).......: <br>MPIDI_CH3U_Recvq_FDU_or_AEP(380): Communication error with rank 1<br><br>[mpiexec@zhang-Lenovo-IdeaPad-Y470] control_cb (./pm/pmiserv/pmiserv_cb.c:321): assert (!closed) failed<br>
[mpiexec@zhang-Lenovo-IdeaPad-Y470] HYDT_dmxu_poll_wait_for_event (./tools/demux/demux_poll.c:77): callback returned error status<br>[mpiexec@zhang-Lenovo-IdeaPad-Y470] HYD_pmci_wait_for_completion (./pm/pmiserv/pmiserv_pmci.c:181): error waiting for event<br>
[mpiexec@zhang-Lenovo-IdeaPad-Y470] main (./ui/mpich/mpiexec.c:405): process manager error waiting for completion<br></blockquote>And the two computers are on a private net 192.168.48.xxx. I would very strongly appreciate when somebody could give me hint how to cope with this problem.<br>
<br>Thanks very much in advance for any tip.<br>