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

[OpenFOAM.com] paraFoam problem on MacOS after installing openFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2019, 15:24
Question paraFoam problem on MacOS after installing openFoam
  #1
New Member
 
Panos Koniavitis
Join Date: Oct 2017
Posts: 6
Rep Power: 9
PanosK is on a distinguished road
Hi all,

I am fairly new with openFoam and I am trying to find my way through. I have installed the latest version of openFOAM OpenFOAM-v1812 following the guidelines from here:https://www.openfoam.com/download/in...binary-mac.php

The installation was smooth and I was able to run perfectly the cavity tutorial (I can see the progress on the screen and the results in the directory). My problem is when I try to run paraFoam.

What I initially got was (an apparently common problem)
$ paraFoam
$ Created temporary 'cavity.OpenFOAM'
$ QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-ofuser'
$ QXcbConnection: Could not connect to display
$ /opt/OpenFOAM/OpenFOAM-v1812/bin/paraFoam: line 312: 836 Aborted paraview

I then followed the guidelines from here: ParaView command not found

and I now get a problem with some libraries
$ /opt/OpenFOAM/ThirdParty-v1812/platforms/linux64Gcc/ParaView-5.6.0/lib/paraview: error while loading shared libraries: libmpi.so.12: cannot open shared object file: No such file or directory

Do I need these mpi libraries for this?

thanks a lot in advance!

Panos
PanosK is offline   Reply With Quote

Old   March 6, 2019, 20:38
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick note: For future reference, PanosK found the answer in this post: QXcbConnection: Could not connect to display :0 - post #5.
__________________
wyldckat is offline   Reply With Quote

Old   April 26, 2021, 21:34
Default I cannot run paraFoam in Mac OSX
  #3
Senior Member
 
aerothermal's Avatar
 
Guilherme da Silva
Join Date: Aug 2010
Location: Sao Paulo - Brazil
Posts: 120
Rep Power: 16
aerothermal is on a distinguished road
Send a message via Skype™ to aerothermal
Code:
6451c6a70cbf: ~>> cd run/
6451c6a70cbf: run>> cd rivuletPanel/
6451c6a70cbf: rivuletPanel>> paraFoam
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-openfoam'
qt.qpa.screen: QXcbConnection: Could not connect to display 192.168.15.17:0
Could not connect to any X display.
I tried to run paraFoam but got message above.
aerothermal is offline   Reply With Quote

Old   April 27, 2021, 03:55
Default
  #4
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
Quote:
Originally Posted by aerothermal View Post
Code:
6451c6a70cbf: ~>> cd run/
6451c6a70cbf: run>> cd rivuletPanel/
6451c6a70cbf: rivuletPanel>> paraFoam
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-openfoam'
qt.qpa.screen: QXcbConnection: Could not connect to display 192.168.15.17:0
Could not connect to any X display.
I tried to run paraFoam but got message above.
The 'paraFoam' command is just a simple wrapper script. Just use a native paraview directly.

https://develop.openfoam.com/Develop...raview-plugins
olesen is offline   Reply With Quote

Old   April 27, 2021, 13:53
Default
  #5
Senior Member
 
aerothermal's Avatar
 
Guilherme da Silva
Join Date: Aug 2010
Location: Sao Paulo - Brazil
Posts: 120
Rep Power: 16
aerothermal is on a distinguished road
Send a message via Skype™ to aerothermal
Quote:
Originally Posted by olesen View Post
The 'paraFoam' command is just a simple wrapper script. Just use a native paraview directly.

https://develop.openfoam.com/Develop...raview-plugins
Paraview does not open it. The PitzDaily tutorial.
It requires the selection of a reader.
No one works.
aerothermal is offline   Reply With Quote

Old   April 27, 2021, 14:14
Default
  #6
Senior Member
 
aerothermal's Avatar
 
Guilherme da Silva
Join Date: Aug 2010
Location: Sao Paulo - Brazil
Posts: 120
Rep Power: 16
aerothermal is on a distinguished road
Send a message via Skype™ to aerothermal
Quote:
Originally Posted by olesen View Post
The 'paraFoam' command is just a simple wrapper script. Just use a native paraview directly.

https://develop.openfoam.com/Develop...raview-plugins
Same error in Linux SUSE SLES
aerothermal is offline   Reply With Quote

Old   April 30, 2021, 12:41
Default
  #7
Senior Member
 
aerothermal's Avatar
 
Guilherme da Silva
Join Date: Aug 2010
Location: Sao Paulo - Brazil
Posts: 120
Rep Power: 16
aerothermal is on a distinguished road
Send a message via Skype™ to aerothermal
I managed to make paraFoam work in MacOSx after the installation of Paraview. Now I can use Paraview or ParaFoam.

ParaFoam is slower than Paraview.

To use Paraview I had to change the extension .OpenFoam to .foam

However, in SUSE SLES 15 Paraview does not work after installation. It appears to be a conflict between the OpenGL in the software and the NVIDIA driver of the OS.

And I cannot install the new driver from NVIDIA because it says that GUI or NVIDIA persistenced or smi is being used.
aerothermal is offline   Reply With Quote

Old   May 1, 2021, 05:05
Default
  #8
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
Quote:
Originally Posted by aerothermal View Post
To use Paraview I had to change the extension .OpenFoam to .foam
Without editing any files
"paraFoam -vtk"
olesen is offline   Reply With Quote

Old   May 20, 2024, 23:09
Unhappy Command execution problem:paraFoam
  #9
New Member
 
Join Date: May 2024
Posts: 17
Rep Power: 2
kol1978 is on a distinguished road
After upgrading from ubuntu-20.04.6-desktop-amd64 to Ubuntu 22.04 LTS, the command (OpenFOAM11) stopped working: paraFoam –
"root@kol:/home/cavity# paraFoam
Created temporary 'cavity.OpenFOAM'
qt.qpa.xcb: could not connect to display
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, xcb.

Aborted (core dumped)
root@kol:/home/cavity# paraview
qt.qpa.xcb: could not connect to display
....
2 0x7fcb682c8f93 vtkglew_glewInit + 611
1 0x7fcb682af33a /opt/paraviewopenfoam510/lib/libvtkglew-pv5.10.so.1(+0x5c33a) [0x7fcb682af33a]
0 0x7fcb6aeed520 /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7fcb6aeed520]
( 1.033s) [paraview ] :0 FATL| Signal: SIGSEGV
Segmentation fault (core d»
What's happened?
kol1978 is offline   Reply With Quote

Reply

Tags
parafoam, parafoam paraview error


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 course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 09:51
[OpenFOAM.org] Problem in installing OpenFOAM 2.3.0 !!! omid20110 OpenFOAM Installation 6 August 1, 2016 12:20
[OpenFOAM.org] Problem with GLIBCXX when installing OpenFOAM using ICC compiler huynhthienloc OpenFOAM Installation 2 May 2, 2016 01:12
Problem Installing OpenFOAM at Ubuntu Maralady OpenFOAM Installation 1 August 25, 2013 19:22
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 15:25


All times are GMT -4. The time now is 10:11.