Personal tools

Mohid OpenMP

From MohidWiki

Revision as of 19:32, 13 September 2010 by Guillaume (talk | contribs)
Jump to: navigation, search

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:

If A > B, then speedup = A / B (gain) or else speedup = - B / A (loss).

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

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

Obs: the Module Life single loop was successfully parallelized.

Other links