Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doku:time [2015/04/02 14:22] irdoku:time [2015/04/17 11:45] (current) – [Hybrid OMP and MPI] ir
Line 35: Line 35:
  
 === Examples === === Examples ===
 +In this  {{:doku:mpitime.c|example file}}, t1=MPI_WTIME() and t2=MPI_WTIME() enclose the region wich should be timed. 
 +There are two possibilities. Either a MPI_Barrier can be set before each time call. Then the time measured is the time needed that all MPI processes are finished. Or t1 and t2 are defined without a barrier, yielding the execution times for the individual processes.
 ==== omp internal calls ==== ==== omp internal calls ====
 === omp_get_wtime === === omp_get_wtime ===
Line 53: Line 54:
 gives the amount of time that the CPU is busy for a particular task from one call to the next. gives the amount of time that the CPU is busy for a particular task from one call to the next.
  
 +===== Hybrid OMP and MPI ====== 
 +{{ :doku:mpi_omp:hybrid.png?400 |}}
 +{{ :doku:mpi_omp:hybridbarrier.png?400 |}}
 +{{:doku:mpi_omp:hybridtime.c|}}
 +====== Serial codes ====== 
 ==== fortran ==== ==== fortran ====
 <code> <code>
  • doku/time.1427984557.txt.gz
  • Last modified: 2015/04/02 14:22
  • by ir