[mpich-discuss] credentials for mpiexec -f machinefile

Jan Balewski balewski at MIT.EDU
Wed Apr 23 15:50:10 CDT 2014


On Apr 23, 2014, at 4:41 PM, "Antonio J. Peña" <apenya at mcs.anl.gov> wrote:

> We use to encourage users to set up password-less ssh access by means of private/public key access. There are plenty of web pages with tutorials for this setup. This is just a random one: http://stackoverflow.com/questions/7260/how-do-i-setup-public-key-authentication
> 
>   Antonio

Thanks Antonio.
 I just did that. 

Now I'm able to  use this setup:
$ cat machinefile
198.125.163.212:2

to run on my login VM with IP=212:
$ mpiexec -f machinefile -n 2 ./examples/cpi
Process 0 of 2 is on mpi-be6bebee-55e3-4901-a5bb-637395ba46f6
Process 1 of 2 is on mpi-be6bebee-55e3-4901-a5bb-637395ba46f6
pi is approximately 3.1415926535899388, Error is 0.0000000000001457
wall clock time = 0.003566

But if I add the remote host to the machine list:
$ cat machinefile2
198.125.163.212:2
198.125.163.207:2

Then some socket is not connected (see attached dump)
Do I need to enable some specific ports so IP2012 talks to IP=207?

Is it just port 42548  ? TPC? UDP? a range of ports?
Do they need to be open on both the master & the worker?
Jan

-----
[cosy11 at mpi-be6bebee-55e3-4901-a5bb-637395ba46f6 mpich-3.1]$ mpiexec -f machinefile2 -n 4 ./examples/cpi
[proxy:0:1 at mpi-966f395e-bbb1-4a20-8cbc-c10081e91244] HYDU_sock_connect (utils/sock/sock.c:138): unable to get host address for mpi-be6bebee-55e3-4901-a5bb-637395ba46f6 (1)
[proxy:0:1 at mpi-966f395e-bbb1-4a20-8cbc-c10081e91244] main (pm/pmiserv/pmip.c:189): unable to connect to server mpi-be6bebee-55e3-4901-a5bb-637395ba46f6 at port 42548 (check for firewalls!)
^C[mpiexec at mpi-be6bebee-55e3-4901-a5bb-637395ba46f6] Sending Ctrl-C to processes as requested
[mpiexec at mpi-be6bebee-55e3-4901-a5bb-637395ba46f6] Press Ctrl-C again to force abort
[mpiexec at mpi-be6bebee-55e3-4901-a5bb-637395ba46f6] HYDU_sock_write (utils/sock/sock.c:286): write error (Bad file descriptor)
[mpiexec at mpi-be6bebee-55e3-4901-a5bb-637395ba46f6] HYD_pmcd_pmiserv_send_signal (pm/pmiserv/pmiserv_cb.c:169): unable to write data to proxy
[mpiexec at mpi-be6bebee-55e3-4901-a5bb-637395ba46f6] ui_cmd_cb (pm/pmiserv/pmiserv_pmci.c:79): unable to send signal downstream
[mpiexec at mpi-be6bebee-55e3-4901-a5bb-637395ba46f6] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:76): callback returned error status
[mpiexec at mpi-be6bebee-55e3-4901-a5bb-637395ba46f6] HYD_pmci_wait_for_completion (pm/pmiserv/pmiserv_pmci.c:198): error waiting for event
[mpiexec at mpi-be6bebee-55e3-4901-a5bb-637395ba46f6] main (ui/mpich/mpiexec.c:336): process manager error waiting for completion




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1583 bytes
Desc: not available
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140423/724d0f99/attachment.p7s>


More information about the discuss mailing list