[mpich-discuss] Do I need to run "mpd" every time before I execute "mpiexec"?

Seungbum Koo doougsini at gmail.com
Wed Sep 4 22:48:21 CDT 2013


Hello all.

I installed MPICH-3.0.4 today and I think I went through without any
bugging issues. (Last time it was horrible...)

Problem is that when I run "cpi" to check if mpiexec is running correctly,
the following message appears on the screen.

===================================================================
simba at asterix:/opt/mpich/mpich-3.0.4-build/examples$ mpiexec -np 4 ./cpi
mpiexec_asterix: cannot connect to local mpd (/tmp/mpd2.console_simba);
possible causes:
  1. no mpd is running on this host
  2. an mpd is running but was started without a "console" (-n option)
simba at asterix:/opt/mpich/mpich-3.0.4-build/examples$
===================================================================

So I did what the error message said and it looks like working fine.

===================================================================
simba at asterix:/opt/mpich/mpich-3.0.4-build/examples$ mpd &
[1] 7749
simba at asterix:/opt/mpich/mpich-3.0.4-build/examples$ mpiexec -np 4 ./cpi
Process 1 of 4 is on asterix
Process 2 of 4 is on asterix
Process 0 of 4 is on asterix
pi is approximately 3.1415926544231279, Error is 0.0000000008333347
wall clock time = 0.000070
Process 3 of 4 is on asterix
simba at asterix:/opt/mpich/mpich-3.0.4-build/examples$
===================================================================

My question is, do I need to run "mpd" every time before I run "mpiexec"?
Is there any wise way of going around?

Seungbum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20130904/fd123900/attachment.html>


More information about the discuss mailing list