The tutorial examples are meant to be run from your own workspace. This topic contains general instructions to prepare the example programs for execution, and lists the system requirements for running the example programs.
The example programs should be run when no other programs are running on the same computer. If there are other programs running, the example programs accumulate time waiting for the CPU. This time shows up in the performance metrics, and could be a source of confusion.
To set up the tutorial:
If the software is not installed in /opt, ask your system administrator for the correct path to the software, and substitute this path for the default path wherever it occurs in this tutorial.
This directory should be local to the machine on which you intend to run the example programs, to minimize the distortion of the program performance when you collect performance data.
The examples are stored in /opt/SUNWspro/examples/analyzer or /opt/sun/sunstudio10/examples/analyzer. Each example is in its own subdirectory. The example subdirectories are synprog, mttest, omptest and cachetest.
Some of the examples have specific hardware requirements.