Prism 6.0 User's Guide

Visualizing Layouts of Parallel Objects

Prism provides a layout intrinsic that returns the numbers of the nodes on which the data elements of a parallel object are located. Its syntax is

layout(pvar)

where pvar is a parallel object. You can use the Fortran 90 array-section syntax described in " Using Array-Section Syntax in C arrays " to specify a range of elements within a parallel object.

You can print or display the results of applying the layout intrinsic to a parallel object. For example,

print layout(p1) on dedicated

creates a visualizer that is the same size and shape as the parallel object p1. The visualizer displays the rank of the process that is holding each value.

Note that you can use other visualizer representations--for example, dither or colormap--to display the layout graphically.