NextGen TotalView for HPC User Guide : PART II Debugging Tools and Tasks : Chapter 6 Examining and Editing Data : The Call Stack and Local Variables Views : Viewing Data in Fortran : Fortran 90 Deferred Shape Array Types
Fortran 90 Deferred Shape Array Types
Fortran 90 lets you define deferred shape arrays and pointers. The actual bounds of a deferred shape array are not determined until the array is allocated, the pointer is assigned, or, in the case of an assumed shape argument to a subroutine, the subroutine is called.
The following example shows the type of a deferred shape array of real data with no defined lower or upper bounds:
real, allocatable, dimension(:) :: aa1
Here is the unallocated array displayed in the Data View:
Figure 62 – Fortran Deferred Shape Array, unallocated
As you run the program, the array is allocated at line 303 below. Note that the type has been modified in the Data View.
Figure 63 – Fortran Deferred Shape Array