Displaying Array Slices

TotalView lets you display array subsections by editing the slice field within an array's Variable Window. (An array subsection is called a slice.) The slice field contains placeholders for all array dimensions. For example, here is a C declaration for a three-dimensional array:

integer ia[10][20][5] 

TotalView defines this slice as [:][:][:].

Here is a Fortran 90 deferred shape array definition:

integer, dimension (:,:) :: ia

Its TotalView slice definition is (:,:).

As you can see, TotalView displays as many colons (:) as there are array dimensions. Initially, the field contains [:] for C arrays or (:) for Fortran arrays.

 
 
 
 
support@etnus.com
Copyright © 2001, Etnus, LLC. All rights reserved.
Version 5.0