Skip to content

Instantly share code, notes, and snippets.

@delagoya
Created February 11, 2022 13:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save delagoya/da723bca624f8c1257dff46b9b8d3e33 to your computer and use it in GitHub Desktop.
Save delagoya/da723bca624f8c1257dff46b9b8d3e33 to your computer and use it in GitHub Desktop.
Download, build, install Hello World example from MPI tutorial
#!/bin/sh
cd /tmp
git clone https://github.com/mpitutorial/mpitutorial
cd mpitutorial/tutorials/mpi-hello-world/code
# grab the mpicc PATH locations
source /etc/profile.d/efa.sh
make all
cp mpi_hello_world /shared/mpi_hello_world
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment