<div dir="ltr"><div class="gmail-gE gmail-iv gmail-gt" style="padding:20px 0px 0px;font-size:0.875rem;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif;font-size:small">Hello,</span></div><div class="gmail-gE gmail-iv gmail-gt" style="padding:20px 0px 0px;font-size:0.875rem;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif;font-size:small">I installed mpich-3.0.4 on a x86_64 BSD machine. I need to run MPI on this single machine, which has 8 cores. When I run the cpi example, I get:</span><br></div><div class="gmail-" style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div id="gmail-:1jd" class="gmail-ii gmail-gt" style="font-size:0.875rem;direction:ltr;margin:8px 0px 0px;padding:0px"><div id="gmail-:1jc" class="gmail-a3s gmail-aXjCH" style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif"><div dir="ltr"><div><br><div>marto@% mpiexec -n 3 mpich-3.0.4/examples/cpi<br>ssh: Could not resolve hostname : hostname nor servname provided, or not known<br></div></div><div><br></div><div>If I make a hosts file with a single line content like this:</div><div><br></div><div>marto@% cat hosts<br>localhost:3<br></div><div><br></div><div>and again try the cpi example, I get:</div><div><br></div><div>marto@% mpiexec -f hosts -n 3 mpich-3.0.4/examples/cpi<br>[mpiexec@] HYD_pmcd_pmiserv_proxy_init_cb (./pm/pmiserv/pmiserv_cb.c:517): assert (!closed) failed<br>[mpiexec@] HYDT_dmxu_poll_wait_for_event (./tools/demux/demux_poll.c:77): callback returned error status<br>[mpiexec@] HYD_pmci_wait_for_completion (./pm/pmiserv/pmiserv_pmci.c:197): error waiting for event<br>[mpiexec@] main (./ui/mpich/mpiexec.c:331): process manager error waiting for completion<br></div><div><br></div><div>Any suggestions will be appreciated.</div><div><br></div><div>Best regards,</div><div>Martin</div></div></div></div></div></div>