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
"