If the -qreport option is in effect, a transformation report listing shows how XL Fortran optimized the program. This section displays pseudo-Fortran code that corresponds to the original source code, so that you can see parallelization and loop transformations that the -qhot and/or -qsmp options have generated.
Sample Report
The following report was created for the program t.f using the
xlf -qhot -qreport t.f
command.
Program t.f:
integer a(100, 100) integer i,j do i = 1 , 100 do j = 1, 100 a(i,j) = j end do end do end
Transformation Report:
>>>>> SOURCE SECTION <<<<< ** _main === End of Compilation 1 === >>>>> LOOP TRANSFORMATION SECTION <<<<< PROGRAM _main () 4| IF (.FALSE.) GOTO lab_9 @LoopIV0 = 0 Id=1 DO @LoopIV0 = @LoopIV0, 99 5| IF (.FALSE.) GOTO lab_11 @LoopIV1 = 0 Id=2 DO @LoopIV1 = @LoopIV1, 99 ! DIR_INDEPENDENT loopId = 0 6| a((@LoopIV1 + 1),(@LoopIV0 + 1)) = (@LoopIV0 + 1) 7| ENDDO lab_11 8| ENDDO lab_9 9| END PROGRAM _main Source Source Loop Id Action / Information File Line ---------- ---------- ---------- -------------------------------------- 0 4 1 Loop interchanging applied to loop nest. >>>>> FILE TABLE SECTION <<<<<