The examples in this directory show usage for different ways of using mitos. The executables will be installed in the build/examples/
directory.
-
matmul.cpp
: For Running withmitosrun
$> ./mitosrun ./matmul
-
openmp_matmul.cpp
: For running withmitoshooks
(OpenMP)$> env OMP_TOOL_LIBRARIES=/path/to/lib/libmitoshooks.so ./openmp_matmul
-
mpi_matmul.cpp
: For running withmitoshooks
(MPI)$> mpirun -np 4 ./mpi_matmul
-
api_matmul.cpp
: For single-threaded API usage$> ./api_matmul
-
api_openmp_matmul.cpp
: For OpenMP based API usage$> ./api_openmp_matmul
-
api_mpi_matmul.cpp
: For MPI based API usage$> ./api_mpi_matmul