LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Prashanth (pcharapa_at_[hidden])
Date: 2003-12-09 09:34:10


Hello,

I am sorry but I amn't sure what's causing the problem. MPI_Wtime is the
function that you should be using to find the elapsed wall-clock time.

Best,
Prashanth
LAM-MPI Team

Thus spoke HW Sheng in the message sent on Wed, 3 Dec 2003

->Dear all,
->
->I installed the scalapack and blacs on my compaq alpha machine using lam-7.0.2.
->
->I tried to run the scalapack testing suite, but only met some problems with timing: The Walltime is always returned -1.0 and cputime 0.0.
->
->DWALLTIME00 is an external function, which is defined in BLACS/SRC/dwalltime_.c.
->I noticed there was a bug in dwalltime_.c, and then used the patched version as follows:
->
->#include "Bdef.h"
->#if (INTFACE == C_CALL)
->double Cdwalltime00(void)
->#elseF_DOUBLE_FUNC dwalltime00_(void)
->#endif{ return(MPI_Wtime());}
->
->In order to monitor the function MPI_Wtime, I added one line in dwalltime_.c
->printf("mpi_wtime = %lf\n", MPI_Wtime());
->then recompiled BLACS and scalapack testers. It turns out that the WALLTIME is still -1.0 in all cases, but the printed value of mpi_wtime isn't.
->
->It seems that the value of MPI_Wtime() is not passed to DWALLTIME00 in SCALAPACK/SRC/TOOLS/sltimer.c.
->
->I wish someone could kindly help me out as to how to shoot the problem.
->
->Thank you very much.
->
->Howard
->
->