Benchmarking: OpenFOAM

From Define Wiki
Jump to navigation Jump to search

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.tgz

Build 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/
  ./Allwmake

Build ParaView