Newsgroups: comp.parallel.mpi
From: George Coulouris <glc5@tc.cornell.edu>
Subject: Timing functions in MPI blacs?
Organization: Cornell Theory Center
Date: Thu, 06 Feb 1997 12:50:41 -0500
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <32FA19F0.41C6@tc.cornell.edu>

Hello, all. I compiled MPI blacs patchlevel 1 some months ago for use on
our SP2. Upon running some timing tests, we suspect that the CPU time
function in blacs (as defined in dcputime00_.c) isn't functional.

#include "Bdef.h"

#if (INTFACE == C_CALL)
double Cdcputime00(void)
#else
F_DOUBLE_FUNC dcputime00_(void)
#endif
{
   return(-1.0);
}

Does anyone have experience with these functions? It looks to me like it
wants to return absolute time as a double float.

The power2/powerpc cpu's do have a 64-bit realtime clock, but I think
that it's stored as an integer.

Any ideas?

-- 
George L. Coulouris
http://www.tc.cornell.edu/~glc5
Scientific Computational Support
Cornell Theory Center

