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

[OpenFOAM.org] Paraview 5.4 in shell environment of5x - Segmentation fault (core dumped)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By dslbkxd

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2018, 07:49
Default Paraview 5.4 in shell environment of5x - Segmentation fault (core dumped)
  #1
New Member
 
Doan Sy Long
Join Date: Sep 2017
Posts: 2
Rep Power: 0
dslbkxd is on a distinguished road
Dear foamer,

I am quite new to OpenFoam and Ubuntu system (16.04LTS 64bit - Intel® Xeon(R) CPU E5345 @ 2.33GHz × 8 ). I try to install OpenFOAM 5.0 and Paraview 5.4.0 following the guide of http://openfoamwiki.net/index.php/Installation/Linux/OpenFOAM-5.x/Ubuntu#Ubuntu_16.04 . It was fine for OpenFoam, but paraview cannot work. Noted that when I enable shell environment with alias "of5x" (as guided by website).
Code:
long@LD:~$ of5x
long@LD:~$ paraview
Segmentation fault (core dumped)
To avoid .foam file and .openFoam. I ran code paraview -buildtin but still error with Segmentation fault.

I have tried to remove and reinstall but it still happened. However, when I run paraview without shell environment (new terminal). Of course, the system itself does not have paraview. I installed paraview 5.0 from Repository. It works

new terminal
Code:
sudo apt-get update
sudo apt-get install paraview
Anyone can help me to overcome this problem with paraView 5.4.

Some information for diagnosing:

I ran following code to attach paraviewLibrary and attached with this post
Code:
ldd $(echo $ParaView_INCLUDE_DIR | sed -e 's=include=lib=')/libvtkpqCore-pv5.4.so > paraviewLibraries.log
gzip < paraviewLibraries.log > paraviewLibraries.log.gz
pwd
log.makePV aslo attached here

Then I check GPU:

Code:
glxinfo | grep OpenGL

OpenGL vendor string: nouveau
OpenGL renderer string: NV44
OpenGL version string: 2.1 Mesa 17.3.3
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 17.3.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:
Code:
lspci  -v -s  $(lspci | grep ' VGA ' | cut -d" " -f 1)

07:00.0 VGA compatible controller: NVIDIA Corporation NV44 [Quadro NVS 285] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: NVIDIA Corporation NV44 [Quadro NVS 285]
	Flags: bus master, fast devsel, latency 0, IRQ 25
	Memory at dd000000 (32-bit, non-prefetchable) [size=16M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at de000000 (64-bit, non-prefetchable) [size=16M]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: nouveau
	Kernel modules: nvidiafb, nouveau
By somehow, the system is not capable to access GPU (Capabilities: <access denied>). But it works for paraview5.0 without shell enviroment
Finally, I reinstall Nvidia drivers by

sudo add-apt-repository ppa:graphics-drivers
sudo apt-get update
sudo apt-get install nvidia-current nvidia-settings

But the results give another error

glxinfo | grep OpenGL

Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 35
Current serial number in output stream: 36
Attached Files
File Type: gz paraviewLibraries.log.gz (3.2 KB, 1 views)
dslbkxd is offline   Reply With Quote

Old   February 3, 2018, 01:56
Default
  #2
New Member
 
Doan Sy Long
Join Date: Sep 2017
Posts: 2
Rep Power: 0
dslbkxd is on a distinguished road
Hi foamer,

I figured out my problem at: https://askubuntu.com/questions/7955...quadro-nvs-285

My problem is my graphic card is not work with ubuntu 16.04. However, when I use Gnome flashback, it is fine. I am so happy
wyldckat likes this.
dslbkxd is offline   Reply With Quote

Reply

Tags
paraview 5.4.0


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] PARAVIEW aborted (core dumped) dewey ParaView 1 October 13, 2016 04:21
How to get Python Shell into ParaView 3.8.1? blaise OpenFOAM Installation 3 July 24, 2012 05:58
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 12:40.