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

Micro HOWTO Rocks clusters 50 OpenFoam 15 Linux64

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 30, 2008, 11:10
Default I recently installed OpenFoam
  #1
james
Guest
 
Posts: n/a
I recently installed OpenFoam on a Rocks 5.0 cluster (RHEL 5.0 / Centos 5.0). I had all sorts of issues with gcc and paraview ... here is how I overcame them:

yum install gmp-devel.x86_64

Download and manually install mpfr-2.3.1.gz (No package available for centos 5?)
http://www.mpfr.org/mpfr-current/#download
Add mpfr dir to LD_LIBRARY_PATH in ~/.bashrc e.g.
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

Download and manually install qt435 (Centos 5 qt package is too old e.g. 4.2.x)
ftp://ftp.trolltech.com/qt/source/qt...c-4.3.5.tar.gz

Backup buildParaViewFunctions and insert:
addCMakeVariable "VTK_USE_RPATH:BOOL=OFF"
Build Paraview 3.3 and the PV3FoamReader module

Usefull threads:
http://www.cfd-online.com/OpenFOAM_D...tml?1217353541
http://www.cfd-online.com/OpenFOAM_D...tml?1196597533
http://www.cfd-online.com/OpenFOAM_D...es/1/8399.html
  Reply With Quote

Old   August 30, 2008, 11:15
Default This is what my ~/.bashrc look
  #2
james
Guest
 
Posts: n/a
This is what my ~/.bashrc looked like eventually:

# for mpfr
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

# change default OpenFoam directory
export FOAM_INST_DIR=/share/apps/OpenFOAM
foamDotFile=$FOAM_INST_DIR/OpenFOAM-1.5/etc/bashrc
[ -f $foamDotFile ] && . $foamDotFile

# set OpenFoam environment variables
. $FOAM_INST_DIR/OpenFOAM-1.5/etc/bashrc

# set QT related variables
QT=/usr/local/Trolltech/Qt-4.3.5
export PATH=$QT/bin:$PATH
export LD_LIBRARY_PATH=$QT/lib:$LD_LIBRARY_PATH
  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
Howto install OpenFOAM on mandriva2009qt44 with Qt435 in home directory gzy_1228 OpenFOAM Installation 0 November 15, 2008 15:31
Linux64 Installation usker Siemens 3 March 20, 2007 05:23
A new Howto on the OpenFOAM Wiki Compiling OpenFOAM under Unix mbeaudoin OpenFOAM Installation 2 April 28, 2006 09:54
OpenFOAM in Rocks clusters Paulo L. C. Lage (Lage) OpenFOAM Installation 6 November 15, 2005 17:31
CFD for flow in fractured rocks S. Yokuda Main CFD Forum 2 February 5, 2001 10:48


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