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

[OpenFOAM.com] errors from running paraFoam in WSL

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

Like Tree3Likes
  • 2 Post By wxyyoyo
  • 1 Post By x84645

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2025, 18:00
Default errors from running paraFoam in WSL
  #1
New Member
 
Join Date: Jan 2025
Posts: 2
Rep Power: 0
wxyyoyo is on a distinguished road
Hi,
I am new in WSL, Ubuntu, and openFoam. I followed the instructions from the page: https://openfoam.org/download/dev-ubuntu/. Everything went smoothly until the last step: paraFoam. My Ubuntu version is Ubuntu 24.04.1 LTS, noble.

The error message is as follows:
Created temporary 'pitzDailySteady.OpenFOAM'
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen

Loguru caught a signal: SIGSEGV
Stack trace:
0 0x7fdd3ebeb320 /usr/lib/x86_64-linux-gnu/libc.so.6(+0x45320) [0x7fdd3ebeb320]
( 2.949s) [paraview ] :0 FATL| Signal: SIGSEGV
Segmentation fault (core dumped)
wxyyoyo@LAPTOP-I34VA0MJ:~/OpenFOAM/wxyyoyo-dev/run/pitzDailySteady$ paraFoam
Created temporary 'pitzDailySteady.OpenFOAM'
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen

Loguru caught a signal: SIGSEGV
Stack trace:
0 0x7f9ec37dc320 /usr/lib/x86_64-linux-gnu/libc.so.6(+0x45320) [0x7f9ec37dc320]
( 1.436s) [paraview ] :0 FATL| Signal: SIGSEGV
Segmentation fault (core dumped)

Please help. Thanks inadvance!
wxy
wxyyoyo is offline   Reply With Quote

Old   January 15, 2025, 18:25
Smile solved!
  #2
New Member
 
Join Date: Jan 2025
Posts: 2
Rep Power: 0
wxyyoyo is on a distinguished road
Just find a solution as follows:
sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt update
sudo apt upgrade

It is on the page: https://askubuntu.com/questions/1516...o-ubuntu-24-04

My paraFoam is working now! Thanks!
francescomarra and Wesley like this.
wxyyoyo is offline   Reply With Quote

Old   January 22, 2025, 01:54
Default
  #3
New Member
 
Richard Bratton
Join Date: Jan 2025
Posts: 2
Rep Power: 0
x84645 is on a distinguished road
Hi all, I'm new and just trying to get OpenFoam running on WSL but can't get past this error. When I try to launch ParaView with paraFoam, I get the following message:

“: CommandLine Error: Option 'spirv-expand-step' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options”

Has anyone encountered this issue before, and if so, could you offer some advice on how to resolve it? I’ve been troubleshooting for a while and would appreciate any tips or steps to fix this error.
Thanks in advance!
x84645 is offline   Reply With Quote

Old   January 22, 2025, 05:00
Default
  #4
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,255
Rep Power: 29
Yann will become famous soon enoughYann will become famous soon enough
Hello Richard,

Do you need a specific feature from paraFoam which is not supported by the OpenFOAM native reader in ParaView?
If not, installing the windows version of ParaView works like a charm to visualize your results.

https://discourse.paraview.org/t/i-w...uld-i-use/7232
Yann is offline   Reply With Quote

Old   January 22, 2025, 20:20
Default
  #5
New Member
 
Richard Bratton
Join Date: Jan 2025
Posts: 2
Rep Power: 0
x84645 is on a distinguished road
Quote:
Originally Posted by Yann View Post
Hello Richard,

Do you need a specific feature from paraFoam which is not supported by the OpenFOAM native reader in ParaView?
If not, installing the windows version of ParaView works like a charm to visualize your results.

https://discourse.paraview.org/t/i-w...uld-i-use/7232
Hi Yann. Thanks for the quick response and suggestion. I'm new at all of this and didn't know about the windows paraview version. I loaded it up and now it's working great. Thank you.
Yann likes this.
x84645 is offline   Reply With Quote

Old   January 26, 2025, 15:58
Default Issue with ParaView and VcXsrv on WSL2 (Ubuntu 24.04) - "Could not connect to display
  #6
New Member
 
Join Date: Jan 2025
Posts: 1
Rep Power: 0
rotnem is on a distinguished road
Hi everyone,

I’m having trouble running ParaView with VcXsrv on WSL2 (Ubuntu 24.04). When I try to run ParaView, I get the following error:

qt.qpa.xcb: could not connect to display 10.255.255.254:0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

paraview:721 terminated with signal 6 at PC=7f351d7cfb1c SP=7ffd503f1240. Backtrace:
/usr/bin/../lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11c)[0x7f351d7cfb1c]
/usr/bin/../lib/x86_64-linux-gnu/libc.so.6(gsignal+0x1e)[0x7f351d77626e]
/usr/bin/../lib/x86_64-linux-gnu/libc.so.6(abort+0xdf)[0x7f351d7598ff]
/usr/bin/../lib/x86_64-linux-gnu/libQt5Core.so.5(+0x91104)[0x7f351b656104]
/usr/bin/../lib/x86_64-linux-gnu/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate25create PlatformIntegrationEv+0x17ad)[0x7f351bc746dd]
/usr/bin/../lib/x86_64-linux-gnu/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate21create EventDispatcherEv+0x40)[0x7f351bc74c20]
/usr/bin/../lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN23QCoreApplicationPrivate4initE v+0x8e5)[0x7f351b8a3ff5]
/usr/bin/../lib/x86_64-linux-gnu/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate4initEv+ 0x2f)[0x7f351bc77b9f]
/usr/bin/../lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN19QApplicationPrivate4initEv +0x15)[0x7f351cd4f5b5]
paraview(+0x112c4)[0x55e059fd12c4]
/usr/bin/../lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca)[0x7f351d75b1ca]
/usr/bin/../lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b)[0x7f351d75b28b]
paraview(+0x9b05)[0x55e059fc9b05]

My Setup:
WSL Version: WSL2

Linux Distribution: Ubuntu 24.04

ParaView: Installed via apt

VcXsrv: Installed on Windows

What I’ve Tried:
Verified that VcXsrv is running and configured with "Disable access control."

Any help or guidance would be greatly appreciated! Thank you in advance for your time and support.

Best regards,
rotnem is offline   Reply With Quote

Reply

Tags
parafoam crash, wsl2

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
courant number increases to rather large values 6863523 OpenFOAM Running, Solving & CFD 22 July 6, 2023 00:48
p_rgh initial residual no change with different settings manuc OpenFOAM Running, Solving & CFD 3 June 26, 2018 16:53
AMI interDyMFoam for mixer nu problem danny123 OpenFOAM Programming & Development 8 September 6, 2013 03:34
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 08:47
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30


All times are GMT -4. The time now is 22:15.