Personal tools

Difference between revisions of "Mohid OpenMP"

From MohidWiki

Jump to: navigation, search
Line 7: Line 7:
 
===Benchmarking formula===
 
===Benchmarking formula===
 
The benchmark formula is:
 
The benchmark formula is:
  If A > B, then speedup = A / B (gain) or else speedup = - B / A (loss).
+
  Speedup = A / B, where A is time with openmp and B is time without openmp.
  
 
===Official results===
 
===Official results===

Revision as of 20:06, 13 September 2010

This wiki entry is about the project to parallelize Mohid with OpenMP directives.

Official benchmarking

Benchmarks must be identified with the processor type (intel, amd), the architecture (32bit, 64bit), the number of cores (#2, #4) and the number of threads (#4, #8, ...). The simulation must be given an id such as PCOMS, PCOMS-bio, Azores, etc... The benchmarks must be performed with the data contained in the MOHID Outwatches logs, once with the Model run without openmp, and once with the model run with openmp.

Benchmarking formula

The benchmark formula is:

Speedup = A / B, where A is time with openmp and B is time without openmp.

Official results

PCOMS 20100801 quad-core 4 threads

Module SubRoutine Time w/o Time w Speed-up

ModuleModel   RunOneModel  727.679     193.4     3.76

Azores 20100801 six-core 12 threads

Module SubRoutine Time w/o Time w Speed-up

ModuleModel   RunOneModel  8792.656	7627.37   1.15

Obs: the Module Life single loop was successfully parallelized.

Atmospheric freshwater cylinder 64bits dual-core 2 threads

Module SubRoutine Time w/o Time w Speed-up

ModuleModel   RunOneModel  8792.656	7627.37   1.15

Other links