CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

Segmentation error with ParaView

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

Reply
 
LinkBack Thread Tools 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: 4
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, 12 views)
File Type: jpg GPUdrivers.jpg (67.7 KB, 11 views)
File Type: jpg foaminstallationtest.jpg (35.2 KB, 18 views)
atheendra is offline   Reply With Quote

Old   February 27, 2013, 05:05
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: 4
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: 4
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: 4
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: 4
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: 4
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: 4
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
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
Paraview segmentation fault jrmuller ParaView 0 December 10, 2012 13:02
Segmentation fault with paraview 3.10.1 aot OpenFOAM Paraview & paraFoam 2 July 25, 2011 13:43
paraview segmentation fault when using custon BC zhajingjing OpenFOAM 2 September 7, 2010 10:07
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 08:04.