madhuri gupta wrote:
> I m working on a shared linux cluster with MPI. I m optimizing the
> execution time of my algorithm.So i want to measure the exact
> execution time of the program.How can i do this????????
MPI_Wtime()
> The other thing i want to know is that how can i use MPI_Gather to
> gather 1D arrays from all processes to a 2D array on the root process.
Check example in the MPI 1 standard.
> Actually using send & recv will be too costly from communication point
> of view.
Why would send/recv be too costly? Why would you think MPI_Gather would
be better?
|