paraFoam cannot work
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! |
Quick questions:
|
no such file: drirc
Quote:
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? |
Quick answers:
Quote:
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 |
All times are GMT -4. The time now is 23:19. |