
#Go into OpenFOAM's main source folder cd $WM_PROJECT_DIR # This next command will take a while.

( Warning: this may take somewhere from 30 minutes to 6 hours, depending on your machine.) Once the makeParaView4 scripts is finished running, make sure to check the contents of the file log.makePV and check if there are any errors. makeParaView4 -qmake $ (which qmake-qt4 ) > log.makePV 2>& 1 #update the shell environment somewhere between 30 minutes to 2 hours or more

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#
Download and unpack (here you can copy-paste all in single go):.
#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:.Or by following the detailed step-by-step instructions below.ĭiscussion thread where you can ask questions about these steps: Problems installing OpenFOAM 2.3.1 in Ubuntu 12.04.Following the official instructions from here: Download v2.3.1 | Source Pack.You can install from source, by either:.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:
