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 ~ Download and unpack (here you can copy-paste all in single go):.
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 Libmpfr-dev python python-dev libcgal-dev curl Libreadline-dev libncurses-dev libxt-dev libopenmpi-dev openmpi-bin libboost-system-dev libboost-thread-dev libgmp-dev \ If the 'sudo' command tells you're not in the sudoers list, then run:Īpt-get install git-core build-essential cmake flex bison zlib1g-dev qt4-dev-tools libqt4-dev libqtwebkit-dev gnuplot \.Switch to root mode (administrator), to install the necessary packages:.Please a create a new thread in the forum. Or by following the detailed step-by-step instructions below.ĭiscussion thread where you can ask questions about these steps: No thread available.Following the official instructions from here: OpenFOAM Source Repository.You can install from source, by either:.Install from Deb packages, as documented in the official instructions: OpenFOAM v6 | Ubuntu.One wrong character is enough for breaking this guide, so make sure you can read the characters properly or that the installed language system does not break the copied characters!.They are just comments to let you know what's going on. Lines that start with # don't have to be copy-pasted.A few notes before you start copy-pasting: