Skip to content
This repository was archived by the owner on Jul 31, 2022. It is now read-only.

OpenMPI Raspberry Pi

Dylan Christopherson edited this page Jun 4, 2018 · 32 revisions

Downloading OpenMPI and getting it up and running on a Raspberry Pi

This was done using CentOS on the RPi. You'll need some type of internet connection.

sudo yum install wget
wget "Link of what you want to download"

I used this link: https://www.open-mpi.org/nightly/master/ . Hover your mouse over the tarball at the top with the extension .gz.tar and in the bottom left hand corner you'll see a full link for this download. Put it in quotes in front of wget.

mv /home/tarballName /home/whatEverDirectoryYouWish      (It might not be necessary to move this file)
gunzip openmpi-master-X-Y.tar.gz
tar -xvf openmpi-master-X-Y.tar

If you have to change the date on the Pi: timedatectl set-time 'YYYY-MM-DD HH:MM:SS'

To enable dynamic linking: Both of these commands might take some time

./configure
sudo make install    

To enable static linking: Both of these commands might take some time

./configure --enable-static
sudo make install
sudo yum install zlib-static
sudo yum install glibc-static
Clone this wiki locally