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
#include <stdio.h>
#include <unistd.h>
#include <mpi.h>
int main(int argc, char *argv[])
{
MPI_Init(NULL, NULL);
double a = MPI_Wtime();
sleep(1);
double b = MPI_Wtime();
printf("a = %lf, b = %lf\n", a, b);
MPI_Finalize();
return 0;
}
$ mpicc foo.c -o foo; mpirun -np 1 ./foo
a = 0.016914, b = 1.020197
-----
> On Dec 16, 2016, at 10:23 AM, 🐋 Jan Hegewald <[email protected]> wrote:
>
> Dear all,
> if have trouble with Wtime always returning 0.0 on my MacBook Pro Mac OS
> 10.12 openmpi 1.10.1 and 2.0.1. Wtick also returns 0.0. I this expected
> behaviour?
>
> Many TIA,
> Jan Hegewald
> _______________________________________________
> devel mailing list
> [email protected]
> https://rfd.newmexicoconsortium.org/mailman/listinfo/devel
--
Jeff Squyres
[email protected]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/
_______________________________________________
devel mailing list
[email protected]
https://rfd.newmexicoconsortium.org/mailman/listinfo/devel