View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002704 | OpenFOAM | Bug | public | 2017-09-21 13:39 | 2017-09-24 13:16 |
Reporter | Jolien | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Platform | macOS | OS | Sierra | OS Version | 10.12.5 |
Summary | 0002704: libGL errors while running paraFoam | ||||
Description | Hello, I am very new to OpenFOAM (2 days) and I am experiencing troubles with the visualization of meshes / results with paraView. I am able to perform the first couple of steps from the first tutorial (cavity) but when I enter the command paraFoam to view the mesh, my terminal returns the following message: libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast XQuartz next opens a Paraview window but this is entirely blank and I am only able to close it when I quit XQuartz. I am working on a MacBook Pro and I have Sierra 10.12.5 as OS. I have installed ParaView-5.4.1 on my machine as well as XQuartz (2.7.11) (as suggested by the download procedure for Mac). When I run the openfoam5-macos command with the '-p' option, the terminal returns a 'Welcome'-message to the OpenFOAM v4 docker Image and states 'Provides bash terminal with OpenFOAM 5.0 and ParaView 5.4.0', and XQuartz is automatically started. I assumed this to be a confirmation that I have installed everything correctly. Important however is that when I want to run openfoam5-macos I have to specify a directory , otherwise it returns: 'Mount directory cannot be the user's home directory' so I have created a subdirectory to run it from. So now I am able to run OpenFOAM from this but I don't understand why paraFoam is not working. What does the error message mean? How can I solve the issue? Thank you in advance! | ||||
Additional Information | I am a complete beginner when it comes to working in a terminal and working with docker containers. I have no experience or knowledge on this... | ||||
Tags | Installation, paraview, User Guide | ||||
|
Adding potentially relevant links: https://github.com/jessfraz/dockerfiles/issues/253 http://gernotklingler.com/blog/howto-get-hardware-accelerated-opengl-support-docker/ Suggest following Step 1, Point 4 in the instructions and installing a native ParaView: https://openfoam.org/download/5-0-macos/ |
|
I have already installed a native ParaView on my machine. It is however not clear to me whether I still need the X Server? Is this only needed to run ParaView from the docker container or should I also have it when I want to use the installed ParaView on my MacBook? |
|
When I run openfoam5-macos without the -p command and I try to use paraFoam, the terminal returns the following message: "ParaView is not in the Docker container. Install on the host machine or run the launch script with -p option". I however do have ParaView installed on my host machine (which I suppose is my Mac? I am not familiar with the terminology...) because I can find it in my applications and I have no problem with opening it. Is it normal that when I run openfoam5-macos without -p XQuartz still starts to run? |
|
When you open a terminal and run the openfoam5-macos script, any subsequent commands are running on whatever is in the container. If you have the ParaView on the macOS itself, you need to run it from outside the container. Launch it from the "launcher" or open another terminal and launch from there. |
|
Ok, I understand the first part. As long as my ParaView is not in the container, I cannot access it through the terminal in which I have openfoam5-macos running. However, even when I launch ParaView (which I have installed on my Mac in my applications folder through a .pkg file I have downloaded from paraview.org), the terminal in which I have openfoam5-macos running still gives the same comment (ParaView is not in the Docker container. Install on the host machine or run the launch script with -p option) when I try to run the command 'paraFoam'. How is this still possible? Should I install ParaView in a different location? |
|
I have found the solution in the first awnser on this forum: https://stackoverflow.com/questions/36497771/cannot-connect-to-x-server-using-docker-on-os-x-part-ii . |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-09-21 13:39 | Jolien | New Issue | |
2017-09-21 13:39 | Jolien | Tag Attached: Installation | |
2017-09-21 13:39 | Jolien | Tag Attached: paraview | |
2017-09-21 13:39 | Jolien | Tag Attached: User Guide | |
2017-09-21 14:25 | chris | Note Added: 0008789 | |
2017-09-21 14:46 | Jolien | Note Added: 0008790 | |
2017-09-21 14:55 | Jolien | Note Added: 0008791 | |
2017-09-23 12:01 | chris | Note Added: 0008793 | |
2017-09-23 13:05 | Jolien | Note Added: 0008796 | |
2017-09-24 11:48 | Jolien | Note Added: 0008797 | |
2017-09-24 13:16 | henry | Assigned To | => henry |
2017-09-24 13:16 | henry | Status | new => closed |
2017-09-24 13:16 | henry | Resolution | open => no change required |