Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Renato Golin (rengolin_at_[hidden])
Date: 2006-09-12 05:17:36


On 9/12/06, Aidaros Dev <aidaros.dev_at_[hidden]> wrote:
> Hi all,
> Im using cluster and mpich in Redhat.
> When i printf MPI_Wtime value, it return such like 0.224554 or 0.755654,
> even sometime return 0.00000.
> I check my system time
> $date
> Tue Sep 12 15:15:16 MYT 2006 , means system time is ok.
> Any idea?

MPI_Wtime shows you the amount of wall clock your program is running
since a point in the past and not your date/time. You should use
gettimeofday() instead.

cheers,
--renato