[Paraview] paraview osmesa render on supercomputer nodes
David E DeMarle
dave.demarle at kitware.com
Mon Nov 20 12:30:28 EST 2017
---
This syntax isn't clear to me:
> srun -n 24 pvserver -sp=15801 --mesa --use-offscreen-rendering
--disable-xdisplay-test
---ssh -N -f -L15801:localhost:15801 though internal connection-->
Where are you trying to run ssh on to open up this second (between login
and compute) tunnel?
---
ERROR: In /HOME/pp569/soft/ParaView-v5.4.1/VTK/Common/System/vtkSocket.cxx,
line 206
vtkServerSocket (0x20e9c20): Socket error in call to bind. Address already
in use.
Indicates that pvserver is trying to grab a socket that some other process
owns. You might be competing with one of your other pvserver processes
(from an earlier run or perhaps a misconfigured non-mpi pvserver task
running on the same node from this srun invocation) or possibly your ssh
tunnel process.
---
Forward connections from desktop to login to compute are harder to setup in
most cases because in general you don't know what compute node (and
sometimes login node) you will get.
---
I recommend using something simple like netcat to send and receive messages
across each tunnel. If you can type on one side and see the text on the
other, then paraview should be able to use the connection.
---
Please let us know how it goes. We would love to see ParaView running on
Tianhe-2!
David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Mon, Nov 20, 2017 at 11:23 AM, Utkarsh Ayachit <
utkarsh.ayachit at kitware.com> wrote:
> Di,
>
> While it's not entirely obvious to me what could be going wrong, you
> may to check these docs out instead:
> https://www.paraview.org/Wiki/Reverse_connection_and_port_
> forwarding#A_Forward_Connection_Over_an_ssh_Tunnel
>
> Utkarsh
>
> On Sat, Nov 18, 2017 at 7:04 AM, 程迪 <chengdi123000 at gmail.com> wrote:
> > Hi everyone,
> >
> > I just compiled the OSMesa version of paraview 5.4.1 on Tianhe-2
> > supercomputer. My trouble is to connect the pvserver running on computing
> > nodes while I am on login node with ssh tunnelling (-L).
> >
> > Here is what I did
> >
> > My computer (win7 64 bit)
> > ---ssh -L15801:localhost:15801 through VPN--->
> > LN31 (login node, RHEL maybe, using slurm)
> >> srun -n 24 pvserver -sp=15801 --mesa --use-offscreen-rendering
> >> --disable-xdisplay-test
> > ---ssh -N -f -L15801:localhost:15801 though internal connection-->
> > CNxxxx (computing node)
> >
> > And here is the error:
> >
> > ```
> > Waiting for client...
> > Connection URL: cs://cn10687:15801
> > ERROR: In /HOME/pp569/soft/ParaView-v5.4.1/VTK/Common/System/
> vtkSocket.cxx,
> > line 206
> > vtkServerSocket (0x20e9c20): Socket error in call to bind. Address
> already
> > in use.
> >
> > ERROR: In
> > /HOME/pp569/soft/ParaView-v5.4.1/ParaViewCore/ClientServerCore/Core/
> vtkTCPNetworkAccessManager.cxx,
> > line 349
> > vtkTCPNetworkAccessManager (0x14ad080): Failed to set up server socket.
> >
> > Exiting...
> > ```
> >
> > It seems not working. I am pretty sure that the PC -- ssh -L through VPN
> -->
> > LN works well. What happend in LN -- ssh -L --> CNxxx link?
> >
> > I have searched the internet for something, I found that LLNL did some
> work
> > on it
> > [https://hpc.llnl.gov/data-vis/vis-software/paraview/
> running-paraview-in-client-server-mode].
> >
> > They used `ssh -R` to map from LN to CN, rather than `ssh -L` and run
> > paraview in RC mode, does it make any sense?
> >
> > However, in Tianhe-2, the `ssh -R` is forbidden. So I cannot use this
> > method.
> >
> > Di Cheng
> > Visting scholar at UConn ME Combustion Diagnostic Lab
> > Engineer of Research Center of China Academy of Aerospace Aerodynamics
> > Phone: +86-l58Ol5949ll
> >
> > Address: No.17, YunGang West Road, Fengtai District, Beijing, China
> >
> > Zip Code:100074
> >
> >
> > _______________________________________________
> > 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
> >
> > Search the list archives at: http://markmail.org/search/?q=ParaView
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/paraview
> >
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171120/a120e0d3/attachment.html>
More information about the ParaView
mailing list