LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Eugene Loh (Eugene.Loh_at_[hidden])
Date: 2009-10-28 10:26:10


madhuri gupta wrote:

> Could someone tell me how to measure the execution time of a paralle
> program in c using mpi on a linux cluster.

MPI provides a standard timer call: double MPI_Wtime;

> And also how to use MPI_Gather to gather 1 dimensional arrays on all
> the processes in a comm to a 2 dimensional array on the root process.

http://www.mpi-forum.org/docs/mpi-11-html/node70.html#Node70