ring_mpi, a Fortran90 code which estimates the time it takes to send a vector of N double precision values through each process in a ring.
Process 0 sends N double precision values to process 1, which passes them to process 2, and so on, until process P-1 sends them back to process 0. The time for this transmission is recorded. The experiment is repeated several times, and for several different array sizes N.
The information on this web page is distributed under the MIT license.
ring_mpi is available in a C version and a C++ version and a Fortran90 version.
mpi_test, a Fortran90 code which use the message passing interface (MPI) for parallel computations in a distributed memory environment.