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

Building ThirdParty from OpenFOAM-1.6-ext

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 5, 2011, 23:47
Default Building ThirdParty from OpenFOAM-1.6-ext
  #1
Senior Member
 
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 369
Rep Power: 12
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:

Code:
if [ ! -z $QT_THIRD_PARTY ]
then
    ( rpm_make qt-everywhere-opensource-src-4.7.0 http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.0.tar.gz )
else
    echo "Using system installed QT"
    echo ""
fi
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
Default
  #2
Senior Member
 
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 369
Rep Power: 12
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 prefs.sh-EXAMPLE. In there is where one tells the build what to do about QT (use system or build third party version).

I just copied prefs.sh-EXAMPLE to prefs.sh, 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
  #3
Member
 
Stefan
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 72
Rep Power: 7
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.


/Stefan

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

Reply

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 06:45.