Compile and install OpenFOAM and parallelize PBS under ArchLinux
1. Download source
1.1 Download OpenFOAM source
Create a new OpenFOAM directory under the ${HOME}
:
cd ${HOME}
mkdir OpenFOAM && cd OpenFOAM
Download the source of OpenFOAM and ThirdParty from GitHub and put it in the ${HOME}/OpenFOAM
:
git clone https://github.com/OpenFOAM/OpenFOAM-dev --depth=1
git clone https://github.com/OpenFOAM/ThirdParty-dev --depth=1
1.2 Download Torque (PBS) source
Here we use Torque from AUR. CentOS, Debian and SUSE operating systems can download ready-made binary packages from OpenPBS on Github. If you use OpenPBS or PBS Pro, please skip Section 3 of this article and refer to other documents to configure PBS.
6 minutes to read
Andrew Moa