End-user products => DEEP => DEEP/MPI => Program analysis steps

Steps in Using DEEP/MPI for Program Analysis
Follow these steps to use DEEP/MPI for program analysis:

  1. 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

  2. Run the program.

    Do this however you normally execute your program.

    mpirun -np 8 myprog < inputfile1.dat

  3. Start DEEP/MPI.

    Just type the name of the executable, which should usually be deepMPI.

    deepMPI

  4. 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.

  5. 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.

  6. 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!

  7. 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.

Home Contact Webmaster Legal

Copyright 2003 Crescent Bay Software Corp.