This repository has several MPI programs, which solves different kind of parallel problems.
- C/C++ compiler
- A working version of MPI installed on your system
- Python package: mpi4py
wget -nc https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.2.tar.gz
cd ~
mkdir openmpi-build; mv Downloads/openmpi-4.0.2.tar.gz openmpi-build; cd openmpi-build
gunzip -c openmpi-4.0.2.tar.gz | tar xf -
cd openmpi-4.0.2
Run the configuration script by setting the instalation location of the MPI libraries and header files to /usr/local, so that CMake can easily find everything
./configure --prefix=/usr/local
sudo make all install