<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
You need to be able to ssh to the local host password-less as
well. Is that working for you?<br>
<br>
<br>
On 04/23/2014 03:50 PM, Jan Balewski wrote:<br>
</div>
<blockquote cite="mid:3CE1642F-6314-46B9-8E94-8A26D9A1B16A@mit.edu"
type="cite">
<pre wrap="">
On Apr 23, 2014, at 4:41 PM, "Antonio J. Peña" <a class="moz-txt-link-rfc2396E" href="mailto:apenya@mcs.anl.gov"><apenya@mcs.anl.gov></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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: <a class="moz-txt-link-freetext" href="http://stackoverflow.com/questions/7260/how-do-i-setup-public-key-authentication">http://stackoverflow.com/questions/7260/how-do-i-setup-public-key-authentication</a>
Antonio
</pre>
</blockquote>
<pre wrap="">
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@mpi-be6bebee-55e3-4901-a5bb-637395ba46f6 mpich-3.1]$ mpiexec -f machinefile2 -n 4 ./examples/cpi
[proxy:0:1@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@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@mpi-be6bebee-55e3-4901-a5bb-637395ba46f6] Sending Ctrl-C to processes as requested
[mpiexec@mpi-be6bebee-55e3-4901-a5bb-637395ba46f6] Press Ctrl-C again to force abort
[mpiexec@mpi-be6bebee-55e3-4901-a5bb-637395ba46f6] HYDU_sock_write (utils/sock/sock.c:286): write error (Bad file descriptor)
[mpiexec@mpi-be6bebee-55e3-4901-a5bb-637395ba46f6] HYD_pmcd_pmiserv_send_signal (pm/pmiserv/pmiserv_cb.c:169): unable to write data to proxy
[mpiexec@mpi-be6bebee-55e3-4901-a5bb-637395ba46f6] ui_cmd_cb (pm/pmiserv/pmiserv_pmci.c:79): unable to send signal downstream
[mpiexec@mpi-be6bebee-55e3-4901-a5bb-637395ba46f6] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:76): callback returned error status
[mpiexec@mpi-be6bebee-55e3-4901-a5bb-637395ba46f6] HYD_pmci_wait_for_completion (pm/pmiserv/pmiserv_pmci.c:198): error waiting for event
[mpiexec@mpi-be6bebee-55e3-4901-a5bb-637395ba46f6] main (ui/mpich/mpiexec.c:336): process manager error waiting for completion
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
discuss mailing list <a class="moz-txt-link-abbreviated" href="mailto:discuss@mpich.org">discuss@mpich.org</a>
To manage subscription options or unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Antonio J. Peña
Postdoctoral Appointee
Mathematics and Computer Science Division
Argonne National Laboratory
9700 South Cass Avenue, Bldg. 240, Of. 3148
Argonne, IL 60439-4847
<a class="moz-txt-link-abbreviated" href="mailto:apenya@mcs.anl.gov">apenya@mcs.anl.gov</a>
<a class="moz-txt-link-abbreviated" href="http://www.mcs.anl.gov/~apenya">www.mcs.anl.gov/~apenya</a></pre>
</body>
</html>