Tools > Global Arrays
Opens a window containing a list of your program’s global arrays. For each global array, TotalView displays four entries:
Handle
A value assigned to the array by the Global Arrays software.
Ghosts
Indicates if Global Arrays will write ghost cells from one process to another.
C type
Defines how the array is defined in the C programming language
Fortran Type
Defines how the array is defined in the Fortran programming language.
You can see an array’s data by diving on either the Fortran or C type line. After you dive, TotalView displays a standard variable window containing this information. Because it is a standard window, you can manipulate its contents using standard TotalView commands. For example, you can filter and slice the array, obtain statistics, visualize its data, and so on.
If you want to change the way TotalView displays the data from its C definition into its Fortran definition or vice versa, you can cast it, as follows:
$ga
Casts the array so it is showing data as it would be displayed within a C program.
$GA
Casts the array so it is showing data as it would be displayed within a Fortran program.
$Ga
Casts the language within the current context.
related topics