<div dir="ltr"><div><div><div>Hi Timo,<br><br></div>There's a couple of steps that need to be added when connecting to a Catalyst-enabled simulation that's been run through a batch job on a cluster. This "should" be the same as just running pvserver through a batch job and connecting to that. The basics are that there's an executable/script that runs on the login node that the batch job connects to. Your GUI connects to the login node and has the ports forwarded properly through the executable/script to your pvserver. Now if your pvserver is running on the login node then it will have to use the above connection mechanism to connect to your Catalyst-enabled simulation. There may be some emails or something on the wiki that has information on the connection executable/script but I haven't tried any of that in several years so I'm not sure where it would be. Maybe someone else will chime in that's done this more recently than me.<br><br></div>Good luck and let us know how it goes.<br><br></div>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 18, 2015 at 8:48 AM, Timo Oster <span dir="ltr"><<a href="mailto:timo.oster@ovgu.de" target="_blank">timo.oster@ovgu.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
in an effort to enable live visualization of our simulation code, I have<br>
written a Catalyst adaptor for it. The live visualization is working<br>
great when the ParaView client runs on the same machine as the<br>
simulation, even when the simulation runs in parallel using mpi.<br>
<br>
Now I want to do live visualization of a simulation running on a remote<br>
cluster. I am able to get this to work for the simulation running on the<br>
login node of the cluster:<br>
<br>
1. Tunnel an ssh connection of port 11111 to the cluster:<br>
ssh -L 11111:localhost:11111 server<br>
2. In the shell that opens, start a paraview server (in the background<br>
with '&')<br>
3. Run the simulation with mpirun (simulation runs only on login node)<br>
4. Start my local ParaView client and connect to localhost:11111 to<br>
connect to the remote pvserver through the ssh tunnel<br>
5. In the client, connect to Catalyst (port 22222)<br>
6. A provider for the simulation is created and the live visualization works<br>
<br>
Now I want to do the same for simulations started on the remote cluster<br>
via the batch job system. In this scenario, the parallel processes of<br>
the simulation will run on different (randomly chosen) nodes on the<br>
cluster. How do I go about getting a connection from my local client to<br>
the Catalyst instances running on those nodes?<br>
<br>
I imagine I will need to set up ssh tunnels from the nodes to the login<br>
node where the pvserver is running. I've tried adding a ssh tunnel line<br>
to the job script that is executed when the batch job starts. I've tried<br>
forwarding and reverse-forwarding port 22222 (ssh -L and ssh -R) to no<br>
avail. The best I get is "ERROR: In<br>
/.../ParaView_git/VTK/Common/System/vtkSocket.cxx, line 206<br>
vtkServerSocket (0x18e0930): Socket error in call to bind. Address<br>
already in use."<br>
<br>
My knowledge in networking and ssh is limited, so any pointers to how I<br>
would go about this are greatly appreciated.<br>
<br>
Regards,<br>
<br>
Timo<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>