[mpich-discuss] Run mpich on localhost

Tony Curtis anthony.curtis at stonybrook.edu
Sat May 9 07:15:45 CDT 2020



> On May 9, 2020, at 2:24 AM, Martin Ivanov <marto1980 at gmail.com> wrote:
> 
> Hello Tony,
> Thank you very much for your reply. I followed your advice and gave the hostname 'dragonfly' to my machine. Then, in /etc/hosts I provided gave the alias 'dragonfly' to localhost as you suggested:
> 
> "
> marto at dragonfly% cat /etc/hosts
> ::1                     localhost dragonfly 
> 127.0.0.1               localhost dragonfly
> "
> 
> I compiled both the icpi and hellow examples. Now mpiexec seems to work, although not as reliably as I might wish. Running any of the examples with one core like this:
> 
> mpiexec -n 1 mpich-3.0.4/examples/hellow
> 
> is always successful. I could never get the command to finish with 2, 3, or 4 cores: it simply hangs. E.g. with 2 cores after running the above command I get:
> 
> "
> marto at dragonfly% ps x | grep hellow 
> 166493 ??  I6s      0:00.00 mpich-3.0.4/examples/hellow 
> 166494 ??  I6s      0:00.00 mpich-3.0.4/examples/hellow
> "
> 

Ok, good, that seemed like it was the obvious problem.  Can you show all the processes involved in the launch, not just the application (i.e. also the mpirun and anything that is spawned)?  This might provide a further clue about what is happening underneath.

Tony

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20200509/21dfe043/attachment.html>


More information about the discuss mailing list