Difference between revisions of "Benchmarking: OpenFOAM"
Jump to navigation
Jump to search
| Line 26: | Line 26: | ||
== Build ParaView == | == Build ParaView == | ||
| + | * Edit the paraview vars script: <tt>vi $WM_PROJECT_DIR/etc/config/paraview.sh </tt> | ||
| + | * On a RHEL system with qt4.6 we can only build paraview 3.12, not the 4.1 release provided in the ThirdParty dir | ||
| + | <syntaxhighlight> | ||
| + | # vi $WM_PROJECT_DIR/etc/config/paraview.sh | ||
| + | export ParaView_VERSION=3.12.0 | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | * Build | ||
| + | <syntaxhighlight> | ||
| + | cd $WM_THIRD_PARTY_DIR | ||
| + | wget http://www.paraview.org/files/v3.12/ParaView-3.12.0.tar.gz | ||
| + | tar zxf ParaView-3.12.0.tar.gz | ||
| + | ./makeParaView -qmake $(which qmake-qt4) | ||
| + | </syntaxhighlight> | ||
Revision as of 11:46, 7 May 2014
OpenFOAM 2.3.0
- Built with GCC 4.8.1
- Built on Centos 6.5
- Built with OpenMPI 1.8.1 (gcc 4.8.1 and --with-cuda)
- Note: Will not work with GCC 4.4, has to be GCC >= 4.5
Download
mkdir /cm/shared/apps/openfoam/2.3.0 -p
cd /cm/shared/apps/openfoam/2.3.0
wget 'http://downloads.sourceforge.net/foam/OpenFOAM-2.3.0.tgz'
wget 'http://downloads.sourceforge.net/foam/ThirdParty-2.3.0.tgz'
tar zxf OpenFOAM-2.3.0.tgz
tar zxf ThirdParty-2.3.0.tgzBuild OpenFOAM
- module load gcc/4.8.1 openmpi/gcc/64/1.8.1-gcc481-cuda
cd OpenFOAM-2.3.0
# Source the OpenFOAM vars
source etc/bashrc WM_NCOMPPROCS=4 foamCompiler=system WM_MPLIB=SYSTEMOPENMPI FOAM_INST_DIR=/cm/shared/apps/openfoam/2.3.0/
./AllwmakeBuild ParaView
- Edit the paraview vars script: vi $WM_PROJECT_DIR/etc/config/paraview.sh
- On a RHEL system with qt4.6 we can only build paraview 3.12, not the 4.1 release provided in the ThirdParty dir
# vi $WM_PROJECT_DIR/etc/config/paraview.sh
export ParaView_VERSION=3.12.0- Build
cd $WM_THIRD_PARTY_DIR
wget http://www.paraview.org/files/v3.12/ParaView-3.12.0.tar.gz
tar zxf ParaView-3.12.0.tar.gz
./makeParaView -qmake $(which qmake-qt4)