-
Compile the program with the DEEP profiling driver.
This step is needed to collect compile-time information and instrument the code.
mpiprof myprog.f morecode.c
-
Run the program.
Do this however you normally execute your program.
mpirun -np 8 myprog < inputfile1.dat
-
Start DEEP/MPI.
Just type the name of the executable, which should usually be deepMPI.
deepMPI
-
Provide path of source code and DEEP information.
Depending on the system you are on, you will see a file dialog box. Follow the
directions to point at the directory or a source file in the directory that contains
your source code. DEEP will then read in the information stored by the
instrumenter in the deep subdirectory under your source directory.
-
Select Run (if needed).
If you have executed the instrumented program more than once, you will be
presented with a table that says "Click on a Run to Select It" at the top. Each
run you made will have a separate row in this table. You can see some
performance information about each run. Please click with the mouse on the run
number of the run you want. (Click on the first column of the table, at the row
that represents the run you want to examine.) The higher number runs are the
most recent.
-
View information.
To view additional displays, use the main menu item View, then follow the
menu to Program, then select Charts or Views or Tables, then select the
specific item you would like to see from that list. With almost all of the DEEP
displays, such as all the tables, you can click on one part of the display to get
more information displayed about that area. Don’t be afraid to click!
-
End Session.
To stop DEEP/MPI, you can use the File main menu item, and select the Exit
item. You can also click on the normal X button in the upper right corner of
the main window. You will be prompted to ask if you wish to save this session
in a workspace, so that you can restart where you left off at a later time.