🖊️
Research Computing
  • Research Computing
  • HPC Cluster Build Workshop
    • Jetson Nano Initial Setup
    • First Boot
    • Networking Setup
    • Local and Global Storage
    • Set up root account
    • pdsh and /etc/hosts
    • IP forwarding for compute nodes
    • Adding Users
    • Testing the Installation to date
    • Modules: Lmod
    • MPI introduction
    • MPI hello.f90
    • MPI hello.c
    • MPI Benchmarks
    • Game of Life
    • Slurm
Powered by GitBook
On this page

Was this helpful?

  1. HPC Cluster Build Workshop

MPI Benchmarks

PreviousMPI hello.cNextGame of Life

Last updated 5 years ago

Was this helpful?

We will use the for testing performance. This exercise does not require root privileges.

To download and build the benchmarks, the tarball can be downloaded from the (go there to get the latest). If you are working remotely, wget or curl is a good option for retrieving tarballs, by copying the link from the OSU website and using wget:

george@nano:~$ mkdir src
george@nano:~$ cd src
george@nano:~/src$ wget http://mvapich.cse.ohio-state.edu/download/mvapich/osu-micro-benchmarks-5.6.2.tar.gz

For unfamiliar packages, it is generally a good idea to check contents before untar'ing or uncompressing to make certain it is in a self-contained directory. If not, you may want to create a directory specifically for the package.

george@nano:~/src$ tar tzf osu-micro-benchmarks-5.6.2.tar.gz

See the tar man page for information on the options available. The t option in this case just lists the contents without any untar'ing of the contents. The z option indicates the file is gzip compressed, and the f option signals that the next argument is the file name.

The 'x' argument tells tar to extract the files:

george@nano:~/src$ tar xvzf osu-micro-benchmarks-5.6.2.tar.gz

Once extracted, cd to the new directory, create a build directory and build the application:

george@nano:~/src$ cd osu-micro-benchmarks-5.6.2/
george@nano:~/src/osu-micro-benchmarks-5.6.2$ mkdir build
george@nano:~/src/osu-micro-benchmarks-5.6.2$ cd build
george@nano:~/src/osu-micro-benchmarks-5.6.2/build$ ../configure --prefix=$HOME/apps/osu-micro-benchmarks/5.6.2 --enable-cuda --with-cuda=/usr/local/cuda-10.0/targets/aarch64-linux CC=mpicc CXX=mpicxx
george@nano:~/src/osu-micro-benchmarks-5.6.2/build$ make
george@nano:~/src/osu-micro-benchmarks-5.6.2/build$ make install

It that works, great! More likely, this will produce errors that will need to be resolved.

OSU Micro-Benchmarks
OSU website