[petsc-users] MPI_Wtime in fortran
Praveen C
cpraveen at gmail.com
Thu Jan 26 06:29:09 CST 2017
Dear all
In my petsc fortran code, I am using MPI_Wtime to measure times. I include
#include <petsc/finclude/petsc.h90>
When compiling, I get warning for MPI_Wtime
*Warning:* Possible change of value in conversion from REAL(16) to REAL(8)
at (1) [*-Wconversion*]
But MPI_Wtime is supposed to return double precision. The values I get from
this function also seem to be wrong, always zero.
Thanks
praveen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170126/07257354/attachment.html>
More information about the petsc-users
mailing list