CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Installation

Building ThirdParty from OpenFOAM-1.6-ext

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   January 5, 2011, 23:47
Default Building ThirdParty from OpenFOAM-1.6-ext
Senior Member
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 398
Rep Power: 14
cnsidero is on a distinguished road
I was attempting to build the ThirdParty stuff in 1.6-ext on my Ubuntu 10.10 workstation last night and stages 0-3 went fine but it skipped over stage 4 stating "Using system installed QT".

So I looked in Allmake.stage4 - lines 60-66 are the following:

if [ ! -z $QT_THIRD_PARTY ]
    ( rpm_make qt-everywhere-opensource-src-4.7.0 )
    echo "Using system installed QT"
    echo ""
Which says if QT_THIRD_PARTY is non-zero then get and build QT. For me the QT_THIRD_PARTY variable is empty and I couldn't find where/what script would set this variable to trigger the installation of QT. Is this something we're supposed to set manually with a dumby value (e.g. export QT_THIRD_PARTY=1)?

Or am I way off base?
cnsidero is offline   Reply With Quote

Old   January 6, 2011, 00:32
Senior Member
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 398
Rep Power: 14
cnsidero is on a distinguished road
I hate replying to my own threads but sure enough right after I posted I found an answer to my question.

In the $WM_PROJECT_DIR/etc directory is a file called In there is where one tells the build what to do about QT (use system or build third party version).

I just copied to, uncommented 'export QT_THIRD_PARTY=1' and then re-sourced the OpenFOAM bashrc file (the easiest way is just to close your terminal window and open a new one - assuming you have the OpenFOAM bashrc file sourced in a start up script like $HOME/.bashrc)
cnsidero is offline   Reply With Quote

Old   February 23, 2011, 05:29
Default Building ThirdParty without connections to the internet
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 78
Rep Power: 9
SD@TUB is on a distinguished road
Dear FOAMers:

I'm glad about integrate the ThirdParty-stuff within the OpenFOAM-<version> directory like in 1.6-ext. But my central problem is, that the linux machine that running OF don't have a connection to the www! Now i'm stucking with building the ThirdParty-environment.
Is there only the possibility to download the needed tools hand by hand? Maybe there exist a ThirdParty-collection in the mannar of 1.6.x, 1.7.x, etc.? The ThirdParty-1.6.x doesn't worked for me as well as compiling 1.6-ext with my system settings.


BTW: OS is Debian Lenny 64-bit, additionally REHL DT 5.3 in future.
SD@TUB is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
install OpenFoam 1.6 by building source: how? niudie OpenFOAM Installation 13 April 26, 2011 00:48
OpenFOAM 1.6 and ThirdParty Software Paraview dunlopjp OpenFOAM Installation 0 February 24, 2010 12:35
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 7 January 19, 2010 16:39
OpenFOAM 1.6 package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 36 September 2, 2009 12:46
Compilation error OF1.5-dev on Suse10.3 darenyang OpenFOAM Installation 0 April 29, 2009 04:55

All times are GMT -4. The time now is 20:51.