82
M. Nakao and H. Murai
4.3.1 Scalasca
Scalasca is an opensource software that measures and analyzes the runtime behaviors.
When profiling all XMP directives that exist in code, please add the
“--profile scalasca” option to a compile command.
$ xmpcc --profile scalasca a.c
When profiling selected XMP directives there, please add the “profile” clause
to the directives and the “--selective-profile scalasca” option to a
compile command.
#pragma xmp bcast (a) profile
$ xmpcc --selective-profile scalasca a.c
Figure 5 shows an example of profiling by Scalasca.
Fig. 5 Profile by Scalasca (https://omni-compiler.org)
Précédent

- 89/265

Suivant