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

[Other] paraFoam cannot work

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2017, 11:50
Question paraFoam cannot work
  #1
New Member
 
Shan-shan Ding
Join Date: Nov 2017
Posts: 2
Rep Power: 0
Chaix is on a distinguished road
After installing paraview and openfoam on Mac OS X 10.13,they can run well seperately. After the calculation of openfoam,I type the command 'paraFoam', libGL error shows up.
The errors are as following:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast


I tried to figure it out by typing the following command when openfoam is running and then got a failed result :

ln -s /Applications/Paraview-5.4.0.app/Contents/MacOS/paraview $WM_PROJECT_DIR/bin/paraview
ln: failed to create symbolic link 'opt/openfoam5/bin/paraview':Permission denied


Need your help! I am very appreciated!

Last edited by Chaix; November 5, 2017 at 21:30. Reason: information is not complete
Chaix is offline   Reply With Quote

Old   November 12, 2017, 17:25
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 questions:
  1. Which installation instructions have you followed?
  2. If you are using Docker, what (complete) command did you use to launch the command line access to OpenFOAM?
__________________
wyldckat is offline   Reply With Quote

Old   November 25, 2017, 07:51
Default no such file: drirc
  #3
New Member
 
Shan-shan Ding
Join Date: Nov 2017
Posts: 2
Rep Power: 0
Chaix is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick questions:
  1. Which installation instructions have you followed?
  2. If you are using Docker, what (complete) command did you use to launch the command line access to OpenFOAM?
The answers are as following:
1.I followed the instructions on https://openfoam.org
2.the command is openfoam5-macos -p

I tested my libGL and got information as following:

OpenFOAM-5.0(511) LIBGL_DEBUG=verbose glxgears
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
libGL: Can't open configuration file /home/openfoam/.drirc: No such file or directory.
libGL: Can't open configuration file /home/openfoam/.drirc: No such file or directory.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 149 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 28
Current serial number in output stream: 30

It seems that there isn't a file named ".drirc" under the directory "/home/openfoam".
But where can i get this file?
Chaix is offline   Reply With Quote

Old   November 25, 2017, 17:30
Default
  #4
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 answers:
Quote:
Originally Posted by Chaix View Post
It seems that there isn't a file named ".drirc" under the directory "/home/openfoam".
But where can i get this file?
That is a settings file that you can create yourself as a text file, which should have the correct commands inside it in order to provide a different driver definition to be used for OpenGL rendering...
However, I don't know if anything written on that file would work in this specific situation.

There was a bug report on this topic several weeks ago, where additional information is provided there on how you can solve or at least work around this problem. See the following report and comments therein: https://bugs.openfoam.org/view.php?id=2704
wyldckat is offline   Reply With Quote

Reply


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
"Number of faces in face and owners does not match" in paraFoam (topological changes) sheaker OpenFOAM Running, Solving & CFD 3 October 30, 2019 21:22
[OpenFOAM] Problem postprocessing decomposed case with 'paraFoam -builtin' bentkj ParaView 4 February 21, 2017 05:22
Simple UDF for piston movement NicolasCheshire Fluent UDF and Scheme Programming 1 October 7, 2016 11:36
First order in fvSchemes does not seem to work gerritgroot OpenFOAM Running, Solving & CFD 0 September 30, 2015 21:06
[OpenFOAM] Weird Problem with ParaFoam via SSH cwang5 ParaView 2 July 19, 2010 10:00


All times are GMT -4. The time now is 00:55.