CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Paraview & paraFoam

Weird Problem with ParaFoam via SSH

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   July 14, 2010, 03:12
Default Weird Problem with ParaFoam via SSH
John Wang
Join Date: Mar 2009
Location: Singapore
Posts: 72
Rep Power: 10
cwang5 is on a distinguished road
Hi Guys,

I ran into some weird SSH/X11 issue when trying to run paraFoam through SSH from my Vista machine at home. For some reason paraFoam installed on my lab workstation (paraview-3.8.0 with OF-1.7.x) refuses to work though SSH showing the "segmentation fault" error message (it works on the workstation itself when I was in the lab earlier), while the paraFoam installed on the lab server (paraview-3.6.1 with OF-1.6.x) works fine through the SSH connection. I'm not sure if it's a problem with the x11 setting on my side or a badly installed paraview client on my work station, but for now I have to transfer all my files to the server (I'm running tests with OF-1.7 to see if I should switch everything over from 1.6) and postProcess from there. Any thoughts?

cwang5 is offline   Reply With Quote

Old   July 16, 2010, 18:49
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,031
Blog Entries: 39
Rep Power: 110
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Greetings John,

Interesting... ParaView 3.6.1 works over ssh -X but 3.8.0 doesn't...
Personally I've always had problems with Putty+Xming... Xming tends to crash after its been working for a while, at least with me.

The only two possibilities that come to mind (using remote technology and without using Linux) and that should work flawlessly are:
  1. If the ParaView you want to use is on your workstation, then try using a shared desktop connection, which should provide a full "mirror" of what you see on the workstation's desktop. You can also tunnel the VNC/Shared Desktop port through ssh.
  2. Use the pvserver application that ParaView has (or at least ParaView 3.8.0 available at has one) and then tunnel over ssh the port 11111 that pvserver uses. Instructions for pvserver available here:
    Then use a local installation of ParaView 3.8.0 to plug to the pvserver's locally reflected port.

AFAIK, there is also another possible explanation, aside from the different ParaView versions: the graphic cards you are using in the workstation and in the lab server aren't the same type. For example:
  • If your server's graphics card is Intel or something that doesn't even have 3D acceleration, than it is using the Mesa drivers, which rely mostly on CPU power to provide OpenGL graphics acceleration (which ParaView needs). This way, ParaView works well over ssh -X, because it doesn't require a local graphics card to do the OpenGL job.
  • And if the workstation has a NVidia/ATI card with 3D acceleration and the whole-nine-yards of hardware based OpenGL, then you are stuck with requiring dedicated rendering on the spot. I.e., only locally can you use accelerated graphics performance.
By the way, did you test using ssh -X from the server into the workstation? Or at least from a computer in the lab that has Linux installed?

Best regards,
wyldckat is offline   Reply With Quote

Old   July 19, 2010, 09:00
John Wang
Join Date: Mar 2009
Location: Singapore
Posts: 72
Rep Power: 10
cwang5 is on a distinguished road
Hi Bruno,

Thanks for the reply, it appears that the problem I'm having is caused by the second possibility that you suggested. The server was running with intel graphics while my work station was running on ATI HD 5xxx series, and the hardware was recent enough that I was having a hard time finding a working video driver for OpenSUSE 11.2. Hopefully the problem will go away after I upgrade my workstation to 11.3 later this week.


cwang5 is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Velocity profiles problem behind the elbow (3D problem) kabat73 FLUENT 8 May 9, 2010 04:26
problem with running parafoam & paraview padmanathan OpenFOAM 3 June 12, 2009 07:30
Problem running paraFoam on OpenFOAM 1.5 sonny OpenFOAM 3 June 6, 2009 20:24
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13

All times are GMT -4. The time now is 11:27.