|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Studio 12.3: Performance Analyzer MPI Tutorial Oracle Solaris Studio 12.3 Information Library|
Change to the directory where your example binaries and source code are located.
Run the following command:
% collect -M OMPT mpirun -np 25 --hostfile clusterhosts -- ring_c
The command might take a few moments to run and the output should be the same as the test run through the mpirun command.
The -M OMPT option indicates the MPI version is the Oracle Message Passing Toolkit. See the collect(1) man page for more information about MPI versions supported.
The -np 25 option specifies 25 processes on the cluster, and --hostfile clusterhosts indicates that the node names and the number of slots that are to be used on each node are specified in a file called clusterhosts.
This command specifies to use 25 processes on two hosts, and specifies one slot on each host. You should specify a number of processes and slots that is appropriate for your system.
List the contents of the newly created test.1.er directory and make sure the date on the files reflects the latest execution. This means you ran the command successfully and are ready to run the Performance Analyzer on ring_c. The integer in test.1.er increments for each collect command you run so the rest of this tutorial refers to this name generically as test.*.er.