DL Poly Classic Installation

From Supercomputación y Cálculo Científico UIS
Revision as of 15:37, 27 April 2015 by Sgelvez (talk | contribs)


Logo_sc33.png

OpenFOAM Installation

OpenFOAM 2.3.1 over Debian 7.0

Installation

1. First you need to check the required packages. They can be obtained using aptitude. Here is a complete list for the platform:

aptitude search build-essential aptitude search flex aptitude search bison aptitude search cmake aptitude search zlib1g-dev aptitude search libopenmpi-dev aptitude search openmpi-bin aptitude search qt4-dev-tools aptitude search libqt4-dev aptitude search libqt4-opengl-dev aptitude search gnuplot aptitude search libxt-dev aptitude search freeglut3-dev aptitude search libqtwebkit-dev aptitude search libreadline-dev aptitude search libncurses-dev


NOTE: The compilers must be: GCC: 4.5.0 and above; LLVM Clang: 3.4 and above; Intel ICC: 14.0.1


5. Edit /etc/profile.d/apps.sh and add the following lines. Then replicate these changes in the apps.sh file of every node.

File: /etc/profile.d/apps.sh
...
export FOAM_INST_DIR=/usr/local/OpenFOAM
foamDotFile=$FOAM_INST_DIR/OpenFOAM-2.3.1/etc/bashrc
[ -f $foamDotFile ] && . $foamDotFile
...