[mpich-discuss] Run mpich on localhost

Martin Ivanov marto1980 at gmail.com
Thu May 7 11:33:55 CDT 2020


Hello,
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:

marto@% mpiexec -n 3 mpich-3.0.4/examples/cpi
ssh: Could not resolve hostname : hostname nor servname provided, or not
known

If I make a hosts file with a single line content like this:

marto@% cat hosts
localhost:3

and again try the cpi example, I get:

marto@% mpiexec -f hosts -n 3 mpich-3.0.4/examples/cpi
[mpiexec@] HYD_pmcd_pmiserv_proxy_init_cb (./pm/pmiserv/pmiserv_cb.c:517):
assert (!closed) failed
[mpiexec@] HYDT_dmxu_poll_wait_for_event (./tools/demux/demux_poll.c:77):
callback returned error status
[mpiexec@] HYD_pmci_wait_for_completion (./pm/pmiserv/pmiserv_pmci.c:197):
error waiting for event
[mpiexec@] main (./ui/mpich/mpiexec.c:331): process manager error waiting
for completion

Any suggestions will be appreciated.

Best regards,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20200507/bb87bf3e/attachment-0001.html>


More information about the discuss mailing list