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
|