


In other words, whenever you start a new terminal, you should run:įor more information on this topic, read section Using aliases to help manage multiple OpenFOAM versions in the page Installation/Working with the Shell. Note: This last line means that whenever you start a new terminal window or tab, you should run the alias command associated to the OpenFOAM 2.3.0 shell environment. bashrc file, simply by running the following command:Įcho "alias of230='source \$HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc $FOAM_SETTINGS'" > $HOME/.bashrc 0/etc/bashrc WM_NCOMPPROCS= 4 WM_MPLIB=SYSTEMOPENMPI #here you can change 4 to the number of cores you've got source $HOME/OpenFOAM/OpenFOAM- 2. 0/etc/bashrc WM_NCOMPPROCS= 4 WM_MPLIB=SYSTEMOPENMPI WM_ARCH_OPTION= 32 For building OpenFOAM itself, it depends on whether you have installed the i686 or x86_64 architecture of Ubuntu.This way we avoid having problems in case there is more than one MPI toolbox installed in your Ubuntu system, for example if MPICH2 is installed and is the default MPI toolbox. Ln -s /usr/bin/mpirun.openmpi OpenFOAM- 2. Ln -s /usr/bin/mpicc.openmpi OpenFOAM- 2. Optional: Let's make a few symbolic links that should ensure that the correct global MPI installation is used by this OpenFOAM installation:.#OpenFOAM downloading and installation cd ~
Ubuntu 14.04.2 failed update download#
Ubuntu 14.04.2 failed update install#
Note: It has been reported that the following should also be executed in some cases, so that ParaView and CGAL will build properly:Īpt-get install libglu1-mesa-dev libqt4-opengl-dev Libncurses-dev libxt-dev libopenmpi-dev openmpi-bin libboost-system-dev libboost-thread-dev libgmp-dev libmpfr-dev If the 'sudo' command tells you're not in the sudoers list, then run:Īpt-get install build-essential cmake flex bison zlib1g-dev qt4-dev-tools libqt4-dev gnuplot libreadline-dev \.Switch to root mode (administrator), to install the necessary packages:.

Please a create a new thread in the forum.

Lines that start with # don't have to be copy-pasted.A few notes before you start copy-pasting:
