[mpich-discuss] measuring time in mpi program

Anthony Chan chan at mcs.anl.gov
Fri Feb 25 11:41:44 CST 2011



----- Original Message -----
> hey guys,
> 
> does anybody know how to measure execution time of mpi program?
> is there any option we can append in the mpirun\mpiexec command to
> measure time?

How about the following ?

time mpiexec -n 2 a.out
or
date ; mpiexec -n 2 a.out ; date

> is there any time command that measure clock cycle time, execution
> time,etc..?
> 
> 
> thank u very much
> hatem
> 
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list