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

[OpenFOAM.org] PARAView4 installation problems

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 10, 2015, 10:10
Default PARAView4 installation problems
  #1
New Member
 
RC
Join Date: Dec 2015
Posts: 3
Rep Power: 11
recif is on a distinguished road
I am trying to install OpenFOAM-3.0.x from the git repo in Ubunto 14.

The OpenFOAM installation seemed to proceed fine, but when I ran makeParaview4, I got the error:

Quote:
[ 95%] Generating Documentation HTMLs from xmls
xmlpatterns: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/xmlpatterns': No such file or directory
xmlpatterns: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/xmlpatterns': No such file or directory
xmlpatterns: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/xmlpatterns': No such file or directory
Processing wiki sources
xmlpatterns: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/xmlpatterns': No such file or directory
Processing wiki filters
xmlpatterns: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/xmlpatterns': No such file or directory
Processing wiki writers
xmlpatterns: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/xmlpatterns': No such file or directory
Processing wiki readers
xmlpatterns: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/xmlpatterns': No such file or directory
[ 95%] Compiling Qt help project NonOrthogonalSource.qhp
qhelpgenerator: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/qhelpgenerator': No such file or directory
Plugins/NonOrthogonalSource/CMakeFiles/NonOrthogonalSource.dir/build.make:89: recipe for target 'Plugins/NonOrthogonalSource/doc/NonOrthogonalSource.qch' failed
make[2]: *** [Plugins/NonOrthogonalSource/doc/NonOrthogonalSource.qch] Error 1
CMakeFiles/Makefile2:16509: recipe for target 'Plugins/NonOrthogonalSource/CMakeFiles/NonOrthogonalSource.dir/all' failed
make[1]: *** [Plugins/NonOrthogonalSource/CMakeFiles/NonOrthogonalSource.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
---
Installation complete for paraview-4.4.0
Set environment variables:

export ParaView_DIR=/home/rc/OpenFOAM/ThirdParty-3.0.x/platforms/linux64Gcc/ParaView-4.4.0
export PATH=$ParaView_DIR/bin:$PATH
export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-4.4
---

Done
I have xmlpatterns and qhelpgenerator in /usr/bin. Is there a way to change where they are searched for, or should I create a soft link to /usr/lib/x86_64-linux-gnu/qt5/bin/qhelpgenerator, etc?

A perhaps unrelated problem is that I was able to run blockMesh and icoFoam in the cavity examples subdirectory, but when I tried to run paraFoam I get the error:

Quote:
paraFoam

FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers
./Allwclean
./Allwmake
However, on doing this I get the error:
Quote:
./Allwclean
+ wclean libso vtkPV4Readers
wclean vtkPV4Readers
/home/rc/OpenFOAM/OpenFOAM-3.0.x/applications/utilities/postProcessing/graphics/PV4Readers/vtkPV4Readers
+ PV4blockMeshReader/Allwclean
+ rm -f /home/rc/OpenFOAM/OpenFOAM-3.0.x/platforms/linux64GccDPInt32Opt/lib/libPV4blockMeshReader*
+ rm -rf PV4blockMeshReader/Make
+ wclean libso vtkPV4blockMesh
wclean vtkPV4blockMesh
/home/rc/OpenFOAM/OpenFOAM-3.0.x/applications/utilities/postProcessing/graphics/PV4Readers/PV4blockMeshReader/vtkPV4blockMesh
+ PV4FoamReader/Allwclean
+ rm -f /home/rc/OpenFOAM/OpenFOAM-3.0.x/platforms/linux64GccDPInt32Opt/lib/libPV4FoamReader*
+ rm -rf PV4FoamReader/Make
+ wclean libso vtkPV4Foam
wclean vtkPV4Foam
/home/rc/OpenFOAM/OpenFOAM-3.0.x/applications/utilities/postProcessing/graphics/PV4Readers/PV4FoamReader/vtkPV4Foam
[08:55 AM][rc@rc-System-Product-Name] [~/OpenFOAM/OpenFOAM-3.0.x/applications/utilities/postProcessing/graphics/PV4Readers]
518:18 $ ./Allwmake
ERROR: ParaView not found in /home/rc/OpenFOAM/ThirdParty-3.0.x/platforms/linux64Gcc/ParaView-4.4.0
[08:56 AM][rc@rc-System-Product-Name] [~/OpenFOAM/OpenFOAM-3.0.x/applications/utilities/postProcessing/graphics/PV4Readers]
I would appreciate any suggestions to resolve these problems.
recif is offline   Reply With Quote

Old   December 12, 2015, 16:13
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 answer: Detailed instructions are available here: https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04

The problem you're seeing is that Qt5 is being used by default. In step #9 you will see the fix for the problem:
Code:
export QT_SELECT=qt4
__________________
wyldckat is offline   Reply With Quote

Old   December 12, 2015, 21:04
Default
  #3
New Member
 
RC
Join Date: Dec 2015
Posts: 3
Rep Power: 11
recif is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick answer: Detailed instructions are available here: https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04

The problem you're seeing is that Qt5 is being used by default. In step #9 you will see the fix for the problem:
Code:
export QT_SELECT=qt4

Thanks. I thought I was following the instructions on the wiki earlier, but I may have been looking at those for a different version of openFOAM.
recif is offline   Reply With Quote

Reply

Tags
openfoam, paraview


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.com] v1606+ Problems of installation on iMac Intercooled OpenFOAM Installation 4 November 15, 2016 21:22
[Other] Installation problems with OpenFOAM 2.3.x for Windows from cfdsupport.com Nkl OpenFOAM Installation 7 March 31, 2015 11:59
[PyFoam] having problems with pyfoam Installation vitorspadetoventurin OpenFOAM Community Contributions 3 December 2, 2014 08:18
Problems with installation batta31 OpenFOAM Installation 2 September 4, 2012 08:01
installation problems on upgrade from win 3.26 to mic Siemens 5 June 20, 2007 10:40


All times are GMT -4. The time now is 09:41.