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, 程迪 <chengdi123...@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