Totalview® for HPC User Guide : PART II Debugging Tools and Tasks : Chapter 10 Examining Arrays : Examining and Analyzing Arrays : Array Slices and Array Sections
Array Slices and Array Sections
An array slice allows you to see a part of an array. The slice allows you to remove parts of the array you do not want to see. For example, if you have a 10,000 element array, you could tell TotalView that it should only display 100 of these elements. Fortran has introduced the concept of an array section. When you create an array section, you are creating a new array that is a subset of the old array. Because it is a new array, its first array index is 1.
In Figure 160, the top left Variable Window displays an eleven-element array slice. The bottom right Variable Window displays an eleven-element array.
 
Figure 160 – An Array Slice and an Array Section
While the data in both is identical, notice that the array numbering is different. In addition, the array slice shows an address for the array. The section, however, only exists within TotalView. Consequently, there is no address associated with it.