CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Paraview & paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/)
-   -   Segmentation error with ParaView (http://www.cfd-online.com/Forums/openfoam-paraview/113808-segmentation-error-paraview.html)

atheendra February 26, 2013 17:26

Segmentation error with ParaView
 
3 Attachment(s)
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

wyldckat February 27, 2013 05:05

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

atheendra February 27, 2013 11:38

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

wyldckat February 27, 2013 11:47

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!

atheendra February 28, 2013 00:54

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

wyldckat February 28, 2013 09:21

Hi Atheendra,

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

Best regards,
Bruno

atheendra February 28, 2013 11:16

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

wyldckat February 28, 2013 15:42

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

atheendra March 6, 2013 16:25

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

wyldckat March 6, 2013 17:59

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

atheendra March 6, 2013 18:44

Hi Bruno,

It still doesn't work.

Regards

wyldckat March 6, 2013 19:13

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

atheendra March 7, 2013 01:36

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

wyldckat March 7, 2013 09:15

Hi Atheendra,

Quote:

Originally Posted by atheendra (Post 412171)
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


All times are GMT -4. The time now is 18:25.