CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

ParaView segmentation fault only for multiphase

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2010, 15:11
Default ParaView segmentation fault only for multiphase
  #1
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Dear all,

I installed OpenFOAM-1.5-dev on Ubuntu 9.10 x86_64 and it all works swell, also paraFoam. That is, for single phase cases. When I run a multiphase case like damBreak or bubbleColumn paraFoam crashes with a segmentation fault. No error messages are given . When I convert the case to VTK and open it in ParaView, it still crahses with a segmentation fault. ParaView does give some error messages, although I can't really tie them to crashing for multiphase:

Code:
Fontconfig warning: "/etc/fonts/conf.d/11-lcd-filter-lcddefault.conf", line 9: invalid constant used : lcddefault
Fontconfig warning: "/etc/fonts/conf.d/53-monospace-lcd-filter.conf", line 17: invalid constant used : lcdlegacy
Segmentation fault
Does anyone have an idea what can cause this? Should I recompile the whole lot? Thanks in advance!
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   February 28, 2010, 06:39
Default
  #2
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Is there a debug-switch for paraFoam?
If so, try to switch it on, and maybe you will get a more detailed error message.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   March 4, 2010, 03:48
Default
  #3
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi Sebastian,

Thanks for your reply. I don't know whether there is a debug switch in paraFoam. There probably is one, but haven't found it yet . I did some further digging and found that there is a problem with the graphics driver (fglrx_dri.so). It turns out that my work laptop has an ATI card and I read on the Ubuntu wiki that I should grab the latest kernel and find the Ubuntu open source driver for my ATI card. I did that, but no success. I also installed OpenSUSE-11.2 on the same laptop to see if it works, but no success either . Does anybody have experience of how to get ParaView working properly on a Lenovo W500 (ATI Radeon HD3650 DX10.1)?
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   March 4, 2010, 03:54
Default
  #4
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
I had some problems regarding the graphics drivers, too.
Just installing a new kernel and/or graphics driver didn't work out on my system.
I even had to recompile ParaView and the PV3FoamReader again.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   March 4, 2010, 03:58
Default
  #5
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Ok, so the recipe of

  1. grab new kernel
  2. install open source driver
  3. recompiling ParaView
  4. recompile PV3FoamReader
worked?
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   March 4, 2010, 04:10
Default
  #6
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
On my Ubuntu system this worked!
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   March 4, 2010, 04:21
Default
  #7
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
With an ATI card? That would be great news!
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   March 4, 2010, 04:41
Default
  #8
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
I can't promise you THAT, but I made the experience, that changing drivers/kernels does not effect the current compilation of ParaView and the reader. I had to do it again ...
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   March 4, 2010, 04:44
Default
  #9
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Quote:
I can't promise you THAT
That's a pity . I didn't recompile ParaView after installing the new driver, so I'll do that and see what happens. Thanks for your help .
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   March 25, 2010, 08:23
Smile Kind of solved
  #10
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
This is just a message to log what I got working. Hopefully of some use to someone.

After some struggle with Ubuntu and OpenSUSE it got "kind of solved" . At the moment I have OpenSUSE 11.2 installed and it works very well. The main problems were (are) with the graphics card. I changed two things that got it working:
  1. Install ParaView-3.4.0 instead of 3.6.2
  2. Change the default graphics card in the BIOS
In the BIOS "config" > "display" section there are three values, these are the one that worked for me:
  1. Default graphics card: "integrated" (was ATI)
  2. Integrated/discrete graphics: "let OS choose" ("integrated" worked as well)
  3. OS detection: "enabled" (but both "enabled" and "disabled" worked)
I guess the trick was to switch to integrated graphics card as default and use ParaView-3.4.0 ... Anyways, I'm happy it works now . Thanks, Sebastian, for your help.
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
[OpenFOAM] Segmentation fault with paraFoam and paraview 3.6.1 on Fedora 11 32 and 64 bit nanes ParaView 2 September 11, 2009 10:12
ParaView Segmentation fault zzli OpenFOAM Bugs 3 November 14, 2008 07:07
ParaView Segmentation fault zzli OpenFOAM Bugs 0 November 14, 2008 01:51
ParaView Segmentation fault zzli OpenFOAM Bugs 0 November 14, 2008 01:48


All times are GMT -4. The time now is 23:56.