CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Segmentation error with ParaView

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2013, 17:26
Default Segmentation error with ParaView
  #1
New Member
 
Atheendra
Join Date: Nov 2012
Posts: 10
Rep Power: 13
atheendra is on a distinguished road
Hi,

I am using OF-1.6-ext and Paraview 3.12.0 in Ubuntu 12.04. I have used it before and it worked fine.

However,I recently had to format my drive and re-install everything.

Now,when I use paraview to save animations, it crashes after saving a few pictures with the error message: segmentation fault (core dumped)..... When I first start paraView, it asks me to select a reader and I choose OpenFOAM (I used to do this previously too,have attached a picture)

I tried the following things

1) deleting the the file in .config folder
2) running as paraFoam -builtin but it doesn't recognize the the builtin option

I was not able to figure out from synaptic package manager which GPU device driver I have to select and choose a previous version of.... I have an Intel integrated graphics controller

Also, how do I remove paraview and install it again? Since this was built from source,I am guessing apt-get remove command won't work?

Thanks!
Atheendra
Attached Images
File Type: jpg paraview.jpg (52.5 KB, 28 views)
File Type: jpg GPUdrivers.jpg (67.7 KB, 24 views)
File Type: jpg foaminstallationtest.jpg (35.2 KB, 38 views)
atheendra is offline   Reply With Quote

Old   February 27, 2013, 05:05
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Atheendra,

Which ParaView are you using? The one that Ubuntu provides or the one that 1.6-ext provides? To know which one, run:
Code:
which paraview
As for installing the Intel GPU drivers... I don't have a machine to test this, but a bit of googling tells me that this should work (source: http://askubuntu.com/a/215967 ):
  1. Run:
    Code:
    sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
    sudo apt-get update && sudo apt-get upgrade
  2. Then reboot.
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 27, 2013, 11:38
Default
  #3
New Member
 
Atheendra
Join Date: Nov 2012
Posts: 10
Rep Power: 13
atheendra is on a distinguished road
Hi Bruno,
I am using the paraview that come with OF. When I do apt-get upgrade ,will newer versions of some programs mess with the OF installation?
Regards,
Atheendra
atheendra is offline   Reply With Quote

Old   February 27, 2013, 11:47
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: a full distribution upgrade can affect the installation. But a simple upgrade as in the previous post, should not affect a build of OpenFOAM or related applications.

In addition, if you are using OpenFOAM's ParaView build, then you simply have to delete/rename the parent folder where you've seen the paraview binary!
__________________
wyldckat is offline   Reply With Quote

Old   February 28, 2013, 00:54
Default
  #5
New Member
 
Atheendra
Join Date: Nov 2012
Posts: 10
Rep Power: 13
atheendra is on a distinguished road
Hi Bruno,
It still doesn't work .It crashes each time after saving 69 frames. It used to work before I re-installed OF..
Regards,
Atheendra
atheendra is offline   Reply With Quote

Old   February 28, 2013, 09:21
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Atheendra,

Are you using Ubuntu's default GUI interface? Have you using it with 3D enabled or disabled?

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 28, 2013, 11:16
Default
  #7
New Member
 
Atheendra
Join Date: Nov 2012
Posts: 10
Rep Power: 13
atheendra is on a distinguished road
Hi Bruno,
I am sorry but can you explain what you mean by that? While building OF ,I more or less followed the instructions by Mr.Beaudoin.
Regards,
Atheendra
atheendra is offline   Reply With Quote

Old   February 28, 2013, 15:42
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Atheendra,

What I meant by "Unity GUI 3D" was this: http://askubuntu.com/a/62008

OK, let's review what your machine's current status is:
  1. Have you installed the correct drivers for your graphics card?
  2. Which ParaView and version are you using?
  3. How exactly are you opening your simulation cases? More specifically:
    1. What file extension are you using?
    2. Are you asked by ParaView to choose which reader to use?
  4. Crashing after 69 frames might be due to a memory issue or ParaView problem. Which file extension are you saving your frames to?
    1. And is it the same file extension you used in the past?
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 6, 2013, 16:25
Default
  #9
New Member
 
Atheendra
Join Date: Nov 2012
Posts: 10
Rep Power: 13
atheendra is on a distinguished road
Hi Bruno,

I have unity 3D installed.

1) I believe the correct drivers are installed. I have pasted the poutput of the lspci coomand. The xserver-xorg-video-intel package is installed

lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

2) I am using paraview 3.12.0 64 bit

3) I tried opening by:

a) using touch case.foam and opening the file with paraview

b) using paraFoam from inside the directory,here I am asked to choose a reader and I select OpenFOAM
in both cases,paraview crashes after saving 69 frames

4) I am saving to .jpg and that was what i used previously too.
It crashes even when i save to .png or .tif

Regards,
Atheendra
atheendra is offline   Reply With Quote

Old   March 6, 2013, 17:59
Default
  #10
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Atheendra,

Then try switching into Unity 2D: http://askubuntu.com/a/145374

I say this because it's an old problem, where Compiz or some other 3D desktop management technology tends to go on a warpath against ParaView... something about not being able to share OpenGL resources or something like that

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 6, 2013, 18:44
Default
  #11
New Member
 
Atheendra
Join Date: Nov 2012
Posts: 10
Rep Power: 13
atheendra is on a distinguished road
Hi Bruno,

It still doesn't work.

Regards
atheendra is offline   Reply With Quote

Old   March 6, 2013, 19:13
Default
  #12
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Atheendra,

This is reminding me of an issue that only happened with ParaView 3.12 and 3.14... but was reported to be was fixed in 3.98...

Try following the instructions for using the pre-built ParaView 3.98.0 on OpenFOAM 1.6-ext: ParaView Error messages when accessing View menu post #35 - you can actually bump the version to 3.98.1...

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 7, 2013, 01:36
Default
  #13
New Member
 
Atheendra
Join Date: Nov 2012
Posts: 10
Rep Power: 13
atheendra is on a distinguished road
Hi Bruno,
It's working now. I followed the instructions on that thread and deleted the paraview 3.12.0 folder.
Why do you think I had this problem when the same versions worked perfectly fine previously?

Regards,
Atheendra
atheendra is offline   Reply With Quote

Old   March 7, 2013, 09:15
Default
  #14
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Atheendra,

Quote:
Originally Posted by atheendra View Post
Why do you think I had this problem when the same versions worked perfectly fine previously?
Graphics card drivers could have been the problem. Or maybe the other time ParaView was built from source, hence there wasn't any problem.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] Segmentation fault with paraview 3.10.1 aot ParaView 5 June 5, 2023 02:32
[OpenFOAM.org] Paraview 5.4 in shell environment of5x - Segmentation fault (core dumped) dslbkxd OpenFOAM Installation 1 February 3, 2018 01:56
[General] Paraview segmentation fault jrmuller ParaView 0 December 10, 2012 13:02
ParaView segmentation fault only for multiphase gwierink OpenFOAM 9 March 25, 2010 08:23
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


All times are GMT -4. The time now is 05:36.