[Paraview] Connect GUI to pvserver on Jaguar

David E DeMarle dave.demarle at kitware.com
Mon Jun 4 13:19:36 EDT 2012


jaguar's recent configuration added an extra layer of separation
between the login nodes and the compute nodes. So you have to set up
three tunnels to establish the connection. OLCF helpdesk staff tell me
that if you log in to interlagos.ccs.ornl.gov instead of jaguarpf, you
can skip the middle hop as that is just like the old config, but I
haven't tried it myself yet.

ie:
you ->
  jaguarpf=external login node ->
    internal service node ->
      back end nodes aprun gives you

For the first hop, ssh -R works. It doesn't for the next two hops
because ssh tunnels won't accept connections that don't originate from
localhost. So use this:
git://github.com/patmarion/SocketRelay.git
instead.

Once you get that compiled on jaguar, try this:
ssh -R login_node_port:localhost:paraview_port you at jaguarpf
//to login to jaguar AND open up the ssh tunnel

once there run:
uname -a
//to get name of login_node you are sitting on

socket_relay localhost login_node_port svc_node_port &
//to direct all traffic to login_node:svc_node_port into the tunnel

qsub -I -V -q debug -A yourallocation -l size=number_of_nodes -l
walltime=00:20:00 -l gres=widow1%widow2%widow3
//to get an interactive reservation on the service nodes

Once that comes through
/sbin/ifconfig ipogif0
//to get IP address of service_node you are now sitting on

socket_relay login_node svc_node_port compute_node_port
//to direct all traffic to service_node:compute_node_port back to the login_node

aprun -n number_of_nodes /lustre/path/to/pvserver --reverse-connection
--client-host=service_nodeIPaddres --server-port=compute_node_port
//to start pvserver on the compute nodes and tell it to connect
through the tunnel

Finally in the paraview client start establish a manual client/server
reverse_connection on localhost paraview_port through the GUI.

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Sat, Jun 2, 2012 at 10:00 AM, Stéphane Backaert
<stephanebackaert at gmail.com> wrote:
> Dear all,
>
> I am trying to connect my GUI to a pvserver running on compute nodes on the Cray Jaguar.
> I connect to a login node with a remote port forwrding: ssh -R 11111:localhost:11111 jaguarpf-ext3, where jaguarpf-ext3 is the name of a particular login node.
> Then, I launch the pvserver with the option -rc --client-host= jaguarpf_ext3 but that does not work:
> ---------------------------------------------------------------------
> ERROR: In /tmp/proj/ard013/pv_compil/ParaView-icarus-3.14.1/VTK/Common/vtkSocket.cxx, line 430
> vtkClientSocket (0xe0aa50): Unknown host: jaguarpf-ext3
>
> ERROR: In /tmp/proj/ard013/pv_compil/ParaView-icarus-3.14.1/VTK/Common/vtkClientSocket.cxx, line 53
> vtkClientSocket (0xe0aa50): Failed to connect to server jaguarpf-ext3:11111
> ---------------------------------------------------------------------
>
>
> There are two interfaces on jaguarpf-ext3: I identified which is for the outside and I suppose that the other one is for the internal cray network (both ethernet if)
> Thus, I changed the options to -rc --client-host=172.30.215.69, but still not work, even if the message is slightly different.
> ---------------------------------------------------------------------
> ERROR: In /tmp/proj/ard013/pv_compil/ParaView-icarus-3.14.1/VTK/Common/vtkSocket.cxx, line 481
> vtkClientSocket (0xe0aa50): Socket error in call to connect. Network is unreachable.
>
> ERROR: In /tmp/proj/ard013/pv_compil/ParaView-icarus-3.14.1/VTK/Common/vtkClientSocket.cxx, line 53
> vtkClientSocket (0xe0aa50): Failed to connect to server 172.30.215.69:11111
> ---------------------------------------------------------------------
>
> I tried with the other interface. No more success...
> ---------------------------------------------------------------------
> ERROR: In /tmp/proj/ard013/pv_compil/ParaView-icarus-3.14.1/VTK/Common/vtkSocket.cxx, line 481
> vtkClientSocket (0xe0aa50): Socket error in call to connect. Network is unreachable.
>
> ERROR: In /tmp/proj/ard013/pv_compil/ParaView-icarus-3.14.1/VTK/Common/vtkClientSocket.cxx, line 53
> vtkClientSocket (0xe0aa50): Failed to connect to server 160.91.205.200:11111
> ---------------------------------------------------------------------
>
> Does anyone know what kind of port forwarding I must used to go through the login node on Jaguar?
> Should I create a "tunnel" between" the two interfaces? How?
>
> Best regards,
>
> Stephane
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview


More information about the ParaView mailing list