Recent Changes - Search:

Analysis

OpenMPI_optimized

Intel_MPI?

IBM_MPI?

FunctionsThrottling

ClusteringFolding

ClusteringAndFolding

Compile-Execute edit SideBar

Clustering Folding

This page presents the instructions in order to execute the clustering and folding tools on a parallel application. These tools are provided from the Computer Sciences department of Barcelona Supercomputing Center. This guide assumes that you are familiar with the terms profiling, instrumentation, and the tools Extrae and Paraver. We are not going to mention the internal details of clustering and folding tools. For more information about these tools contact tools [snail] bsc [period] es.

  1. Instrument your application and use the appropriate XML file for the Extrae tool.
    • Compile & link your application with -g flag (add this flag in all the appropriate positions of your Makefile) and make sure you don't run the strip command on the resulting binary
    • Use this Extrae XML file extrae_sampling.xml (some content depends on the used Extrae version)
  2. Execute your instrumented application
  3. You have to merge the intermediate traces to the final Paraver trace. Follow the approach that you know already, otherwise use this script bsub_mpi2prv.cmd (change the name of the final_trace and adapt the resources you need)
  4. Filter your Paraver trace in order to visualize the computation and observe the pattern of the iterations. The chop for the initial Paraver trace the part of the application that is repeated (usually one iteration if they look similar). Let's call the new Paraver trace final_trace.chop1.prv
  5. We are ready to execute the clustering and folding tools. Use the following script clustering+folding.lsf. Replace the "final_trace" with your filename. Bigger the size of the trace, more time it will take so be careful about the runtime limit
  6. If everything is executed as expected you have the results of the clustering in the current folder and the folding results in the folder final_trace.chop1.clustered (where final_trace is your declared filename).


This page may have a more recent version on pmwiki.org: PmWiki:ClusteringFolding, and a talk page: PmWiki:ClusteringFolding-Talk.

Edit - History - Print - Recent Changes - Search
Page last modified on December 19, 2014, at 02:54 PM