Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
doku:likwid [2015/09/21 14:48] – sh | doku:likwid [2017/03/17 14:20] – removed ir | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Likwid 4.0 ===== | ||
- | |||
- | ==== Background: ==== | ||
- | It is proving increasingly difficult to exert control over how different threads are assigned to the available CPU cores in multi-threaded OpenMP applications. Particularly troublesome are hybrid MPI/OpenMP codes where usually the developer has a clear idea of which regions to run in parallel, but relies on the OS for optimal assignment of different physical cores to the individual threads. A variety of methods do exist to explicitly state which CPU core should be linked to what particular thread, however, in practice many of these recommended ways of configuration turn out to be either non-functional, | ||
- | |||
- | |||
- | ==== Example: ==== | ||
- | Assume we have the following little test program, test_mpit_var.c, | ||
- | |||
- | |||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | |||
- | This will result in the creation of two summary files in *.txt and *.html format providing an overview of the relative time spent in MPI, I/O, OpenMP etc. | ||
- | |||
- | ==== Further Reading: ==== | ||
- | Explanations, |