Skip to content

Tool to collect overall PAPI counter statistics for MPI parallel programs

Notifications You must be signed in to change notification settings

cniethammer/mpi-papi-collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPI PAPI collector

The MPI PAPI collector allows a user quickly to gather PAPI counter statistics for his program run. It uses the PMPI interface of the MPI standard to hook into the MPI_Init and MPI_Finalize functions.

Getting Started

Prerequisites

  • MPI library
  • PAPI library
  • C compiler

Installation

The MPI PAPI collector comes as a single library. It can be build with

make

Usage

To obtain PAPI statistics accross MPI processe preload the mpi-papi-colltor library and specify the counters to be collected via teh MPI_PAPI_COLLECTOR_EVENTS environment variable using the appropriate event names. Multiple events are separated via comma.

 mpirun ... -x MPI_PAPI_COLLECTOR_EVENTS=PAPI_TOT_INS,PAPI_TOT_CYC -x LD_PRELOAD=mpi-papi-collector.so ./progam

Legal Info and Contact

Copyright (c) 2019-2023 HLRS, University of Stuttgart. This software is published under the terms of the BSD license.

Contact: Christoph Niethammer [email protected]

About

Tool to collect overall PAPI counter statistics for MPI parallel programs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published