Sun S3L 3.0 Programming and Reference Guide

Visualizing Distributed S3L Arrays With Prism

S3L arrays can be visualized with Prism, the debugger that is part of Sun HPC ClusterTools 3.0. Before S3L arrays can be visualized, however, the programmer must instruct Prism that a variable of interest in an MPI code describes an S3L array.

For example, if variable a has been declared in a Fortran program to be of type integer*8 and a corresponding S3L array of type S3L_float has been allocated by a call to an S3L array allocation function, the programmer should enter the following at the prism command prompt:

type float a

Once this is done, Prism can print values of the distributed array:

print a(1:2,4:6)

Or it can assign values to it:

assign a(2,10)=2.0

or visualize it

print a on dedicated