JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Studio 12.3: Performance Analyzer MPI Tutorial     Oracle Solaris Studio 12.3 Information Library
search filter icon
search icon

Document Information


1.  Performance Analyzer MPI Tutorial

About MPI and Performance Analyzer

Setting Up for the Tutorial

Obtaining MPI Software

MPI Software for Oracle Solaris 10 and Linux

MPI Software for Oracle Solaris 11

Prepare the Sample Source Code

Sample Code for ClusterTools and Open MPI

Sample Code for Oracle Message Passing Toolkit in Oracle Solaris 11

Compile and Run the Sample Program

Collecting Data on the ring_c Example

Opening the Experiment

Navigating the MPI Timeline

Viewing Message Details

Viewing Function Details and Application Source Code

Filtering Data in the MPI Tabs

Using the Filter Stack

Using the MPI Chart Tab

Using the MPI Chart Controls

Make a Chart to Show Where Messages are Being Sent

Make a Chart to Show Which Ranks Waited Longest to Receive a Message

Look for Slow Message Effects on Time Spent in MPI Functions


A.  MPI Chart Control Settings

B.  Sample Code for the Tutorial

Viewing Message Details

  1. Reset the view to the original, maximum, zoomed-out setting by clicking the Zoom Reset button, which is located to the top left of the zoom sliders.

    image:Zoom Reset button
  2. Zoom in on the activity area by dragging on the area horizontally with the mouse so it looks similar to what you see here.

    image:MPI Timeline tab zoomed in

    In the zoomed in timeline, now you can see that the steady state portion of the program execution appears to be from 3.93 seconds to 4.03 seconds.

    You can also see that MPI functions are color coded. The black lines drawn between events represent point-to-point messages exchanged by the MPI processes.

    With this view of the timeline, you can answer the question: How long is one iteration before the pattern repeats? The answer is roughly 10 milliseconds. Look at the relative time scale at the bottom to see how often the loop seems to repeat.

  3. Click one of the black message lines.

    The line turns red and details about the message are displayed in the right-hand panel MPI Timeline Controls tab.

    image:Message details
  4. In the MPI Timeline Controls tab, find the Message Display Limiter slider, then click and drag it to Min as shown.

    image:MPI Timeline with Message Slider

    The Message Display Limiter slider controls the number of message lines displayed on the screen. At Min, only functions are displayed in the MPI Timeline tab.

    In this simple example, all of the messages can be displayed. However, displaying all messages in complex applications can overwhelm the tool and make the screen too cluttered to be usable. Select a lower limit to reduce the number of messages shown in the timeline. If fewer than 100% of the messages are shown, the messages used are those messages that are most costly in terms of the total time used in the message's send and receive functions.

  5. Set the Message Display Limiter slider back to Max.