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

[OpenFOAM.org] Building problem with Paraview 4.1.0 on Ubuntu 16.04

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 16, 2016, 12:17
Default 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
nigala is on a distinguished road
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
Attached Files
File Type: gz ErrorLog.tar.gz (98.0 KB, 2 views)
nigala is offline   Reply With Quote

Old   June 18, 2016, 18:03
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 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
The sed command failed, because you were in the wrong directory And I'm sorry about that, it's my fault. I failed to notice that I forgot to provide the missing step.
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
This should solve the problem. Then continue from step 9.4.
wyldckat is offline   Reply With Quote

Old   June 20, 2016, 11:18
Default
  #3
New Member
 
Nicolas Gallant
Join Date: Jun 2016
Posts: 2
Rep Power: 0
nigala is on a distinguished road
Yesss!!!

It worked perfectly! Thanks a lot!
nigala 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
[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


All times are GMT -4. The time now is 15:58.