# OpenFOAM-dev Third-Party packages

## Table of Contents

- 1. Description
- 2. Download and installation instructions
- 3. Order of execution:
  - 3.1. Optional
- 4. Versions and locations to download the third party packages
  - 4.1. Gcc C++ Compiler
  - 4.2. Parallel Processing
    - 4.2.1. Scotch
    - 4.2.2. OpenMPI
    - 4.2.3. Zoltan
  - 4.3. ParaView
  - 4.4. Miscellaneous

## 1 Description

Scripts for building third-party packages.

## 2 Download and installation instructions

## 3 Order of execution:

- makeGcc (recommended if the system gcc is < 4.8)
- Allwmake (Builds OpenMPI, Scotch, Zoltan etc.)
- makeCmake (if the system cmake version is < 3.3.0)
- makeParaView

### 3.1 Optional

- AllwmakeLibccmio (Only required for conversion of STAR-CCM+ meshes)
- Allclean (Only required to save disk space)

## 4 Versions and locations to download the third party packages

### 4.1 Gcc C++ Compiler

The minimum version of gcc required is 4.8.0

- gcc https://gcc.gnu.org/releases.html
- gmp https://gmplib.org/ https://ftp.gnu.org/gnu/gmp/gmp-5.1.2.tar.bz2
- mpfr https://www.mpfr.org/ https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.2.tar.bz2
- mpc http://www.multiprecision.org/ https://ftp.gnu.org/gnu/mpc/mpc-1.0.1.tar.gz

### 4.2 Parallel Processing

#### 4.2.1 Scotch

Scotch-6.0.9 is provided with ThirdParty-dev or the original source pack may be obtained from:

- Scotch/PtScotch: https://gforge.inria.fr/frs/download.php/file/38187/scotch_6.0.9.tar.gz

#### 4.2.2 OpenMPI

- OpenMPI: https://www.open-mpi.org/software/ompi/v2.1/downloads/openmpi-2.1.1.tar.bz2

#### 4.2.3 Zoltan

- Zoltan: https://github.com/sandialabs/Zoltan/archive/refs/tags/v3.90.tar.gz

### 4.3 ParaView

If the system cmake version is < 3.3.0 you will need to download and build a recent version:

- cmake https://www.cmake.org/files/v3.9/cmake-3.9.0.tar.gz
- ParaView-5.10.1 http://www.paraview.org/files/v5.10/ParaView-v5.10.1.tar.gz

is downloaded automatically and compiles without modification. ParaView is compiled by running the `makeParaView` script, i.e.

- ./makeParaView

Expect ParaView to take a long time to compile, typically several hours on a desktop computer. Following compilation, update the environment by sourcing the .bashrc (or .cshrc) file or by typing

- wmRefresh

### 4.4 Miscellaneous

- libccmio https://portal.nersc.gov/svn/visit/trunk/third_party/libccmio-2.6.1.tar.gz

Date: 16th January 2023

Created: 2023-01-16 Mon 10:16

Validate