MPI Benchmarks

We will use the OSU Micro-Benchmarks for testing performance. This exercise does not require root privileges.

To download and build the benchmarks, the tarball can be downloaded from the OSU website (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.

Last updated