==Compile==
===Ubuntu===
====14.04=====
Install Dependencies
```
lang=bash
sudo apt-get install slurm-llnl libslurm-dev munge libpmi0-dev libmunge-dev
```
Download openmpi source
```
lang=bash
wget -O /tmp/openmpi-2.0.2.tar.gz https://www.open-mpi.org/software/ompi/v2.0/downloads/openmpi-2.0.2.tar.gz
```
```
lang=bash
PREFIX=/some/directory
cd /tmp
tar xvfz openmpi-2.0.2.tar.gz
cd openmpi-2.0.2
#The libpmi.so is in a directory
./configure --prefix=$PREFIX --with-pmi=/usr --with-pmi-libdir=/usr --with-pmix=internal
make -j4 all install
```
===Debian Stretch===
Install Dependencies
```
lang=bash
sudo apt-get install slurm-llnl libslurm-dev munge libpmi0-dev libmunge-dev
```
Download openmpi source
```
lang=bash
wget -O /tmp/openmpi-2.0.2.tar.gz https://www.open-mpi.org/software/ompi/v2.0/downloads/openmpi-2.0.2.tar.gz
```
```
lang=bash
PREFIX=/some/directory
cd /tmp
tar xvfz openmpi-2.0.2.tar.gz
cd openmpi-2.0.2
./configure --prefix=$PREFIX --with-pmi=/usr --with-pmi-libdir=/usr/lib/x86_64-linux-gnu --with-pmix=internal
make -j4 all install
```