Do I need to run "mpd" every time before I execute "mpiexec"?
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@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@asterix:/opt/mpich/mpich-3.0.4-build/examples$ =================================================================== So I did what the error message said and it looks like working fine. =================================================================== simba@asterix:/opt/mpich/mpich-3.0.4-build/examples$ mpd & [1] 7749 simba@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@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
participants (1)
-
Seungbum Koo