SIS supplies various command for control the instrumentation that can work with many programming model,instrumentation libraries, and instrumentation mode. When using the command line the user has to do the following things:
|
If the user want to instrument hybrid programs he/she has to combine to these
options. For examples, to instrument a MPI mixing OpenMP program the option
-p5 -VM[...] -VS[...] is used.
Predefined code regions can be selected via command line options or SIS directives. If the user want to select code regions via command line option the user has not to set -VT option. Options for selecting predefine code regions can accompany with options for selecting programming model. Predefined code regions are classified into common code regions and specified code regions. Table 2Command line options for selecting predefined code region
|
The table 3 specifies predefined common code region types. These types are set by using -VR options:
|
E.g, -VRSLRW measures subroutines, loops and read/write statements. Notice that
if all loops option is set then it will override outermost loops option if this
option is available. Another limitation is that the instrumentation of function
calls applies to simple function calls such as x=foo()
The table 4 specifies options for selecting the predefined HPF+ code regions. These code regions are set by using -VH options.
The table 5 specifies the predefined MPI code regions.
These code regions are set by using -VM options.
For examples, instrumentation all MPI collective routines we use -VMC option.
Table 6 shows options for selecting predefined OpenMP code regios . These code regions are set by using -VS options.
For examples, to instrument all OMP PARALLEL and OMP DO regions we use -VSAO.
Options for selecting predefined HPF code regions
HPF+ code regions
Descriptions
D
work distribution
N
Inspector
X
Executor
G
Gather
T
Scatter
I
INDEPENDENT loops
R
all parallel read statement
W
all parallel write statement
E
all above code regions
Options for MPI code regions
MPI Code regions
Descriptions
I
Initialization and Finalization
P
Point to point communication
C
Collective communication routines
O
MPI IO routines
B
Barrier routines
T
Data type routines
E
All MPI routines
Options for selecting OpenMP predefined code regions
OMP Code regions
Descriptions
A
OMP PARALLEL
D
OMP PARALLEL DO
S
OMP PARALLEL SECTIONS
W
OMP PARALLEL WORSHARE
O
OMP DO
Z
OMP SECTIONS
K
OMP WORKSHARE
I
OMP SINGLE
M
OMP MASTER
B
OMP BARRIER
T
OMP ATOMIC
R
OMP ORDERED
F
OMP FLUSH
E
all above code regions
[SCALEA]