Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1 Installation Steps
(For Ubuntu User Only)
1. Download source pack from following Link http://www.openfoam.org/download/source.php Pack OpenFOAM Third-Party File
OpenFOAM-2.1.1.tgz ThirdParty-2.1.1.tgz
3. Dependent packages required to install OpenFOAM User can installed required packages by executing the following command in a terminal:
sudo apt-get install build-essential flex bison cmake zlib1g-dev qt4-dev-tools libqt4dev gnuplot libreadline-dev libncurses-dev libxt-dev
System versions of the OpenMPI and Scotch libraries can also be installed for Ubuntu, rather than having to compile them from sources:
sudo apt-get install libscotch-dev libopenmpi-dev
then type source $HOME/.bashrc in the current terminal window or exit current terminal and open new terminal.
comes with a parallel compilation scheduler, wmakeScheduler, which spawns compilation jobs on free machines. These machines need password-less network access, e.g. using SSH, and a network mounted installation, e.g. using NFS.
wmakeScheduler is set up with environment variables: WM_SCHEDULER : the name of the scheduler to use WM_HOSTS : the list of cores to
use
WM_NCOMPROCS : the number of parallel builds (usually the size of WM_HOSTS) WM_COLOURS : Optional list of colours for the compilation output from the cores.
wmakeScheduler
uses ssh to spawn jobs on the listed machines so needs passwordless access and a network mounted installation