In general Gemini uses the MPI-2 standard. This means any MPI library from the past decade should work. Here's how to get MPI for common computing platforms.
Homebrew is a very popular development repository for MacOS. Installing the latest MPI is simply:
brew install openmpiCurrently supported versions of Debian, Ubuntu, CentOS, and Windows Subsystem for Linux generally have Gfortran ≥ 6 available.
- Ubuntu / Debian / Windows Subsystem for Linux:
apt install libopenmpi-dev openmpi-bin - CentOS:
yum install openmpi-devel
For CentOS, typical HPC will have the ability to switch to a recent GCC version with matching MPI library. If not, compile MPI--it will take about 20 minutes:
python -m gemini3d.prereqs gcc openmpiThe "python -m gemini3d.prereqs" command comes from PyGemini
In general for Fortran development on Windows, MSYS2 provides a comprehensive development solution. From the MSYS2 terminal, install MPI by:
pacman -S mingw-w64-x86_64-msmpiInstall
Microsoft MS-MPI,
which gives mpiexec.