> On 16 Dec 2016, at 18:02, Jeff Squyres (jsquyres) <jsquy...@cisco.com> wrote: > > That's odd; that doesn't happen to me. > > E.g., with this program running on MacOS 10.12.1 with Open MPI 2.0.1, I see a > different value for MPI_Wtime() between successive calls: > > ----- > $ cat foo.c
Your example works fine here too. I call Wtime from Fortran code. But if I do the same as in your C example 1), it seems to work as well. I am puzzled as to what is causing this. On several HPC clusters everything is fine. Only on my Mac I see the 0.0. As this is the only time I use openmpi, I thought it would be the cause. Strange. I will keep you informed. Cheers, Jan 1) program main include 'mpif.h' integer :: i real(kind=8) :: a, b call MPI_INIT(i) a = MPI_Wtime() call sleep(1) b = MPI_Wtime() write(*,*) a, b call MPI_Finalize(MPIerr) end _______________________________________________ devel mailing list devel@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/devel