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

Installation of foam-extend-3.0

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 13, 2014, 09:13
Default Installation of foam-extend-3.0
  #1
New Member
 
Join Date: May 2011
Posts: 28
Rep Power: 14
dowlee is on a distinguished road
Hi, I am installing foam-extend-3.0 under my debian-6.0 (sqeeze, 64bit) operating system. When I chosen the system installed QT4 in default, then a error triggered by QT4,as follows,

------------------- -------------------------------------------
CMake Error at /home/liweiwei/foam/foam-extend-3.0/ThirdParty/packages/cmake-2.8.12/platforms/linux64GccDPOpt/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find Qt4: Found unsuitable version "4.6.3", but required is at
least "4.7.0" (found /usr/bin/qmake)
Call Stack (most recent call first):
/home/liweiwei/foam/foam-extend-3.0/ThirdParty/packages/cmake-2.8.12/platforms/linux64GccDPOpt/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:313 (_FPHSA_FAILURE_MESSAGE)
/home/liweiwei/foam/foam-extend-3.0/ThirdParty/packages/cmake-2.8.12/platforms/linux64GccDPOpt/share/cmake-2.8/Modules/FindQt4.cmake:1393 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
VTK/GUISupport/Qt/CMakeLists.txt:57 (find_package)
-----------------------------------------------------------

then in the foam/foam-extend-3.0/etc/prefs.sh, I comment "export QT_THIRD_PARTY=1" and uncomment "export QT_DIR=path_to_system_installed_qt" and "export QT_BIN_DIR=$QT_DIR/bin". But during the installation, another error exsits as follows.

-----------------------------------------------------------
/usr/bin/ld: cannot find -lXrender
collect2: ld returned 1 exit status
make[1]: *** [../../../../lib/libQtWebKit.so.4.7.4] Error 1
make[1]: Leaving directory `/home/liweiwei/foam/foam-extend-3.0/ThirdParty/rpmBuild/BUILD/qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/WebCore'
make: *** [sub-webkit-make_default-ordered] Error 2
error: Bad exit status from /home/liweiwei/foam/foam-extend-3.0/ThirdParty/rpmBuild/tmp/rpm-tmp.S6IXF7 (%build)

RPM build errors:
Bad exit status from /home/liweiwei/foam/foam-extend-3.0/ThirdParty/rpmBuild/tmp/rpm-tmp.S6IXF7 (%build)
Installing package: qt-everywhere-opensource-src-4.7.4
Uninstalling qt-everywhere-opensource-src-4.7.4 using RPM: qt-everywhere-opensource-src-4.7.4-linux64GccDPOpt.x86_64
Installing qt-everywhere-opensource-src-4.7.4 using RPM file: /home/liweiwei/foam/foam-extend-3.0/ThirdParty/rpmBuild/RPMS/x86_64/qt-everywhere-opensource-src-4.7.4-linux64GccDPOpt.x86_64.rpm
error: open of /home/liweiwei/foam/foam-extend-3.0/ThirdParty/rpmBuild/RPMS/x86_64/qt-everywhere-opensource-src-4.7.4-linux64GccDPOpt.x86_64.rpm failed: No such file or directory
Done installing package

WARNING:
WARNING: Skipping the installation of ParaView-4.0.1.
WARNING: Please make sure the QT_BIN_DIR environment variable properly
WARNING: initialized in the file prefs.sh or prefs.csh
WARNING: The command $QT_BIN_DIR/qmake needs to be valid
WARNING:
========================================
Done ThirdParty AllMake: Stage4
========================================
---------------------------------------------------------

Should I update QT4 to the version of 4.7.4 in my system directly? But openfoam-1.6-ext is already installed in my debian OS. If I update it, Will this impact openfoam-1.6-ext?
dowlee is offline   Reply With Quote

Old   February 14, 2014, 04:29
Default
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
hjasak will become famous soon enough
I think I've seen this recently - we had to change the version of qt for PV-4.0.1.

Let me have a look; alternatively, please just update the qt version or download binary Paraview. I mostly use the built-in-reader because it supports decomposed run post-processing.

Apologies for inconvenience; the rest of the code should work fine.
Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   February 18, 2014, 13:43
Default
  #3
New Member
 
Join Date: May 2011
Posts: 28
Rep Power: 14
dowlee is on a distinguished road
Thanks very much. I don`t have root privilege for my office PC. So I don`t update the QT. But Before I have already installed of-1.6-ext, I use foam-extend-3.0 to run the simulation, then use paraFoam in of-1.6-ext to do post-process.
dowlee is offline   Reply With Quote

Old   March 2, 2014, 05:46
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
Greetings to all!

@dowlee: Just a reminder that you can update your current "foam-extend-3.0" folder (as of 17th of February), you should be able to build Qt 4.8.5 and ParaView 4.0.1 with success. To update, try running these commands:
Code:
cd $WM_PROJECT_DIR
git pull

cd ThirdParty
./AllMake.pre > log.AllMake 2>&1

cd ..
source etc/bashrc
./Allwmake > make.log 2>&1
Best regards,
Bruno
__________________
wyldckat 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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 17:22
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19


All times are GMT -4. The time now is 23:30.