• CFD,  Linux,  OpenFOAM,  openSUSE

    Install OpenFOAM 2.0.x on openSUSE 12.1

    OpenSUSE 12.1 has just been released, and it carries gcc 4.6, and, for those interested clang/LLVM. Installing OpenFOAM® 2.0.x follows the usual pattern. Only a few minor modifications have to be made to be able to use gcc 4.6 and the version of openMPI provided by openSUSE 12.1 (openmpi-1.4.3). Additionally I replaced paraview 3.10.1 with ParaView 3.12.0. Assuming that OpenFOAM will be installed in the user’s home directory, the procedure to install OpenFOAM 2.0.x (git version) on openSUSE 12.1 is then as follows: Install the C/C++ development pattern: zypper install -t pattern devel_C_C++ Install other dependencies: zypper install cmake libqt4-devel gnuplot openmpi openmpi-devel Check that openmpi 1.4.3 is selected as default with: mpi-selector --list The output should read:…