|
[Sponsors] |
[OpenFOAM.org] Building problem with Paraview 4.1.0 on Ubuntu 16.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 16, 2016, 12:17 |
Building problem with Paraview 4.1.0 on Ubuntu 16.04
|
#1 |
New Member
Nicolas Gallant
Join Date: Jun 2016
Posts: 2
Rep Power: 0 |
Hello,
I have been trying to install OpenFoam 2.4.0 on Ubuntu 16.04 for quite a while and I didn't manage to make it work. I have been using this guide (2.5 Ubuntu 16.04): https://openfoamwiki.net/index.php/I...u#Ubuntu_16.04 Everything goes perfectly until step 9. If i call the paraFoam function, I get the error message: FATAL ERROR: ParaView reader module libraries do not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers ./Allwclean ./Allwmake If I call the paraview function, the 5.0.1 paraview pops up, but I still cannot open any OpenFoam file as the paraFoam function is not working properly. I joined the log.makePV file as well as the terminal log during the installation. Thanks in advance, Nicolas |
|
June 18, 2016, 18:03 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: Many thanks for the detailed logs!
The problem was this: Code:
...:~/OpenFOAM$ sed -i -e 's=//#define GLX_GLXEXT_LEGACY=#define GLX_GLXEXT_LEGACY=' \ > ParaView-4.1.0/VTK/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx sed: can't read ParaView-4.1.0/VTK/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx: No such file or directory ...:~/OpenFOAM$ cd $WM_THIRD_PARTY_DIR/ParaView-4.1.0 Please run the following commands: Code:
cd $WM_THIRD_PARTY_DIR sed -i -e 's=//#define GLX_GLXEXT_LEGACY=#define GLX_GLXEXT_LEGACY=' \ ParaView-4.1.0/VTK/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx ./makeParaView4 -no-config -python -mpi -python-lib /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 > log.makePV 2>&1 |
|
June 20, 2016, 11:18 |
|
#3 |
New Member
Nicolas Gallant
Join Date: Jun 2016
Posts: 2
Rep Power: 0 |
Yesss!!!
It worked perfectly! Thanks a lot! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Can't find installation instruction for Openfoam 2.4.x , on Ubuntu 16.04 | titanium | OpenFOAM Installation | 14 | February 20, 2020 12:46 |
[foam-extend.org] foam-extend 3.2 Paraview installation problem on Ubuntu 18.04 | ordinary | OpenFOAM Installation | 3 | September 1, 2018 23:01 |
[OpenFOAM.org] 4.0: Problems compiling ParaView on Ubuntu 16.04 | RishabhG | OpenFOAM Installation | 1 | September 18, 2016 16:55 |
[foam-extend.org] Error compiling OpenFOAM-1.6-ext | Canesin | OpenFOAM Installation | 137 | January 20, 2016 15:56 |
ParaView 3.8.0 problem on debian | Unseen | OpenFOAM Installation | 4 | August 16, 2010 11:26 |