Re: [mpich-discuss] Run mpich on localhost
On May 9, 2020, at 2:24 AM, Martin Ivanov <[email protected]> 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@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@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
participants (1)
-
Tony Curtis