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

[OpenFOAM.com] segmentation fault when running paraview after installed the OPENFOAM11

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Jungpin

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2024, 04:38
Default segmentation fault when running paraview after installed the OPENFOAM11
  #1
New Member
 
Jungpin Chen
Join Date: Mar 2024
Location: Taiwan
Posts: 6
Rep Power: 2
Jungpin is on a distinguished road
Hi, Sir / Madam;
I had a “segmentation fault” (as following picture) when running paraview after installed the latest openfoam11 in ubuntu 22.04 WSL V2 environment under Window11 23H2. I follow exactly the procedures showed in the link (https://openfoam.org/download/windows/) to install OPENFOAM11 but it seems cannot run the paraview in Ubuntu. I had asked Paraview Forum and they suggest me to raise such question here at Openfoam forum. Anyone can help me with this is really appreciated! Thank you!

benico likes this.
Jungpin is offline   Reply With Quote

Old   March 18, 2024, 03:18
Default
  #2
New Member
 
Anon42
Join Date: Oct 2023
Posts: 3
Rep Power: 3
temp_42 is on a distinguished road
Hi
I have the same problem - have you found a solution?
temp_42 is offline   Reply With Quote

Old   March 18, 2024, 05:55
Default
  #3
New Member
 
Jungpin Chen
Join Date: Mar 2024
Location: Taiwan
Posts: 6
Rep Power: 2
Jungpin is on a distinguished road
nope! There is no solution yet!
Jungpin is offline   Reply With Quote

Old   March 18, 2024, 13:15
Default
  #4
New Member
 
Anon42
Join Date: Oct 2023
Posts: 3
Rep Power: 3
temp_42 is on a distinguished road
OK, please give an update if you should find a solution
temp_42 is offline   Reply With Quote

Old   March 18, 2024, 15:00
Default
  #5
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
why not simply use a windows binary for paraview?
olesen is offline   Reply With Quote

Old   March 18, 2024, 15:08
Default
  #6
New Member
 
Anon42
Join Date: Oct 2023
Posts: 3
Rep Power: 3
temp_42 is on a distinguished road
Quote:
Originally Posted by olesen View Post
why not simply use a windows binary for paraview?
I did consider this, but I was unsure of how to implement it using WSL. Do you know where to find a tutorial for this implementation?
temp_42 is offline   Reply With Quote

Old   March 21, 2024, 04:45
Default
  #7
New Member
 
Benico
Join Date: Jan 2020
Posts: 2
Rep Power: 0
benico is on a distinguished road
same here:
Paraview 5.11 and 5.12 seg faults
but paraview 5.6 and 510 is working fine
(using nvidia 470 driver on ubuntu 22.04)

Got all fixed with:
sudo apt autoremove
sudo apt purge paraview
sudo apt autoremove
sudo apt install paraview

OOOPSY:
if I run the paraviews on their own - then all is fine (have to "touch zzz.foam" and then manually open zzz.foam with paraview)
BUT - running
source /opt/openfoam11/etc/bashrc
and THEN running paraFoam OR paraview ... makes everything crashes again.


My Solution thus:
Open paraview OR /opt/openfoam11/bin/paraFoam [separately in another terminal where the openfoam11/etc/bashrc] was NOT applied ... and manually open the case via zzz.foam

Last edited by benico; March 21, 2024 at 05:17. Reason: fixed
benico is offline   Reply With Quote

Old   March 26, 2024, 03:01
Default my problem solved!
  #8
New Member
 
Jungpin Chen
Join Date: Mar 2024
Location: Taiwan
Posts: 6
Rep Power: 2
Jungpin is on a distinguished road
Hi, I got my problem solved. I can run the Paraview 5.10.1 from Ubuntu terminal now (no more segmentation fault). What I did were following procedures :
1. unregistered my original Ubuntu at Powershell,
2. re-install Ubuntu-20.04 from Powershell and
3. follow the openFOAM11 installation procedure again.

Now, running Paraview 5.10.1 from Ubuntu terminal is OK. I leave this message in case someone want to try above procedures as I did. Hope this can help other’s question!
Jungpin is offline   Reply With Quote

Reply

Tags
openfoam11, paraview, segmentation fault


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 segmentation fault core dumped GLfast80 ParaView 0 March 13, 2021 13:53
[OpenFOAM.com] Problem when running Paraview on ubuntu bash for windows 10 Nazim OpenFOAM Installation 0 April 26, 2020 20:07
segmentation fault - parallel running CrisMoreira OpenFOAM Running, Solving & CFD 13 November 1, 2015 17:13
Segmentation fault in running alternateSteadyReactingFoam,why? NewKid OpenFOAM 18 January 20, 2011 17:55
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


All times are GMT -4. The time now is 09:44.