Skip to content

Latest commit

 

History

History
58 lines (32 loc) · 2.55 KB

README.md

File metadata and controls

58 lines (32 loc) · 2.55 KB

About this repository

This repository contains the latest stable version of MATE. It also includes a template example with the XFire application.

How to get set up

Dependencies

Programs: Dyninst, Papi

Libraries: Boost, binutils, libdwarf, libdw, libelf, libiberty

Configuration and Installation

It is only required to specify the path of those libraries that are not in the system library paths (e.g. /lib, /usr/lib etc.) or not included in LD_LIBRARY_PATH.

  • Configure help: $ ./configure --help

  • Installation :

    $ ./configure --with-dyninst=<DYNINST_PATH> --prefix=<PATH>

    $ make && make install

    Finally refresh the .bashrc file (if a prefix was specified):

    $ source ~/.bashrc

Note: By default, if --prefix is not specified, MATE will be installed in /lib and /bin (with sudo).

XFire example

How to install and run XFire
  • Install XFire from examples/xfire following the instructions in file INSTALL,

  • Once installed, change the following two lines in AC.ini inside the XFire download directory:

    ACPath=/path/to/MATEs/AC

    DMLib=/path/to/MATEs/libDMLib.so

ACPath is the full path to the AC binary and DMLib the full path to libDMLib. If no prefix was used when installing, these will be in /bin and /lib respectively.

  • Now, run the Analyzer:

    $ Analyzer -config Analyzer.ini xfire

  • In a new terminal and inside the same download directory of XFire, run the AC:

    $ mpirun -np 4 AC xfire demo

References

  • Dynamic instrumentation library. http://www.paradyn.org/html/dyninst7.0-software.html

  • Morajko A., Caymes-Scutari P., Margalef T., and Luque E. Mate: Monitoring, analysis and tuning environment for parallel/distributed applications. Concurrency and Computation: Practice and Experience, 19(11):1517–1531.

  • Anna Morajko, Oleg Morajko, Tomàs Margalef, and Emilio Luque. Mate: Dynamic performance tuning environment. In Marco Danelutto, Marco Vanneschi, and Domenico Laforenza, editors, Euro-Par 2004 Parallel Processing, pages 98–107, Berlin, Heidelberg, 2004. Springer Berlin Heidelberg.

  • Ania Sikora. Dynamic Tuning of Parallel/Distributed Applications. PhD thesis, Universitat Autònoma de Barcelona, Barcelona, 2003.