This repository was archived by the owner on Jul 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
OpenMPI NFS Raspberry Pi
Dylan Christopherson edited this page Jun 12, 2018
·
13 revisions
Download the tarball into the shared folder (How to do that here: https://github.com/dylanchristopherson/aws-pmix-scale-testing/wiki/OpenMPI-Raspberry-Pi). Then:
cd /opt/nfsshare
mkdir build //I gave the same permissions to build as nfsshare had. Check using ls -al
./configure --prefix=/opt/nfsshare/build --enable-static --enable-orterun-prefix-by-default
The --prefix stores the files in the build folder. The path (in this example /opt/nfsshare/build) can be to where ever you'd like. The default path is /usr/local/bin I believe. --enable-static allows for static building. And --enable-orterun-prefix-by-default is supposed to set the path for the client so it could execute the mpirun/orterun commands. However, it did not work for me.
To check if the path is set correctly (on either the server or client):
which mpirun //Or which orterun
If a line comes up saying something along the lines of not found:
cd /opt/nfsshare/build/bin //mpirun and orterun folders should be in here
PATH=$PATH:/opt/nfsshare/build/bin
export PATH
Now try
which mpirun //Or which orterun
And a path to those commands should pop up