DEB_guide (1158456), страница 2
Текст из файла (страница 2)
END_LOOP = <N>
All loop trace parameters are specified after ‘=’ sign. A record SLOOP is corresponded to sequential loop, and PLOOP is corresponded to parallel one.
Trace level is specified in loop parameters necessarily. Traced iterations are specified in brackets. If this parameter is omitted, all loop iterations are traced. If an iteration is excluded from tracing then reading from and writing to variables inside the iteration is not traced, but record corresponding to iteration beginning can be putted into the trace. The numbers of traced iterations are specified in the following way:
( <dimension> : [<first iteration>] , [<last iteration>] )
<dimension> — loop dimension (begin with 0), which restrictions are specified for. It is obligatory parameter.
<first iteration> — specifies first traced iteration number. If the parameter is omitted, trace is done from first iteration.
<last iteration> — specifies last traced iteration number. If the parameter is omitted, the trace is done until last loop iteration inclusively.
Examples:
(0:2,10) — trace of iterations from 2 till 10 inclusively.
(0:,10) — trace of iterations with numbers till 10 inclusively.
(0:4,) — trace of iterations beginning from number 4.
4.2. Trace of execution results
The following trace information is accumulated during execution result tracing:
-
The values of all read variables. A record in trace file is the following:
READ = <variable type number>, <value of variable>
SOURCE = <file name>, <line number> -
The values of all variables assigned in. A record in the trace file is the following.
WRITE = <variable type number>, <value written to variable>
SOURCE = <file name>, <line number> -
Parallel (PLOOP) or sequential (SLOOP) loop beginning. A record in trace file is the following:
{SLOOP, PLOOP} <loop number> [<parent loop number or empty>], <loop rank> = <level of information accumulation: ALL, MODIF or NONE> (<range of traced iterations (may be omitted>)
SOURCE = <file name>, <line number> -
Iteration beginning (putted in trace file when most nested iteration is entered only). A record in trace file is the following:
ITERATION = <absolute iteration index (calculated from all values of all iteration variables)>, (<iteration variable value>,<iteration variable value>,…). -
End of parallel loop execution. A record in trace file is the following:
END_LOOP = <loop number, corresponding to the number in LOOP record>
SOURCE = <file name>, <line number> -
Reduction tracing puts in the trace file the records of the following kind:
REDUCT = <variable type number>, <calculated value of reduction variable>
SOURCE = <file name>, <line number>
4.4. Trace diagnostics
Errors of trace or loop description file reading | |
File <F>, line <L>. Bad file structure | It is reported when any non-correspondence of trace or loop description file is detected. User program file name and line number are reported |
File <F>, line <L>. Undefined keyword | It is reported if unknown keyword appears in trace or loop description file. User program file name and line number are reported. |
File <F>, line <L>. Bad command syntax | It is reported, if wrong parameters appear after keyword. User program file name and line number are reported. |
Missing description string of a source file. Line : <TrL> | It is reported, if source file description line is omitted after trace. Trace line number is reported. |
Can't open a file <F> | Specified file can’t be open on reading or writing. |
Trace file <F> is empty | Specified trace file exists, but it is empty. |
Errors of trace accumulation (should not be reported in the case of correct performing) | |
Bad trace structure (missing current loop) | It is reported, if iteration beginning or loop end event occurs without correspondent loop starting event. |
Errors of trace comparison | |
File <F>, line <L>. No current loop | It is reported if iteration beginning or loop end event occurs without corresponding loop beginning event. User program file name and line number are reported. |
Unexpected iteration of loop, No = <ItN> | It is reported if iteration beginning event occurred, but there is no correspondent record in reference trace. Absolute iteration number is reported. |
Double execution of iteration, No = <ItN> | It is reported if iteration beginning event occurs for executing loop iteration. Absolute iteration number is reported. |
File <F>, line <L>. Unexpected loop execution | It is reported if loop beginning event occurs, but there is no correspondent record in reference trace. User program file name and line number are reported. |
File <F>, line <L>. Abnormal loop exit | It is reported if record of loop end is not corresponded to the record of loop beginning. User program file name and line number are reported. |
File <F>, line <L>. Unexpected use of variable | It is reported there is no record in reference trace for variable access event. User program file name and line number are reported. |
File <F>, line <L>. Different values INT: <Old_value>; <New_value> | Different values of the same variable are detected for current event and in reference trace record. User program file name and line number are reported. Old value and new value of the variable are reported also. |
File <F>, line <L>. Different values LONG: <Old_value>; <New_value> | -------//------- |
File <F>, line <L>. Different values FLOAT: <Old_value>; <New_value> | -------//------- |
File <F>, line <L>. Different values DOUBLE: <Old_value>; <New_value> | -------//------- |
File <F>, line <L>. Different values of reduction variable: <Old_value>; <New_value> | Different values of reduction operation are detected for current event and in reference trace record. User program file name and line number are reported. . Old value and new value of reduction variable are reported also. |