https://github.com/tudasc/mpi-arg-usage
https://github.com/tudasc/mpi-arg-usage
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tudasc/mpi-arg-usage
- Owner: tudasc
- License: gpl-2.0
- Created: 2023-07-21T11:28:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-13T12:07:39.000Z (10 months ago)
- Last Synced: 2025-01-17T15:52:45.694Z (6 months ago)
- Language: Python
- Size: 1.31 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MPI Handle Usage analysis
This repository contains the python scripts used in [TODO Link Publication] to analyze the MPI usage of applications.
## prerequisites
All python packages required are contained in the `environment.yml`.
additionally we need git and clang-format to be installed for our analysis.## usage example
Run the analysis on all repositories:
```
mkdir repositories
./mpi_usage_analysis.py --code_locations code_locations.csv --repo_path repositories --output output.csv
```Create Plots, visualizing the results:
```
mkdir visualization
./generate_plots.py --input output.csv --output_dir visualization
```Both scripts offer ``--help`` for additional information.
For scripts in the `otherScripts` directory, one has to specify the correct python path (`export PYTHONPATH=$PYTHONPATH:$(pwd)`) or execute
them in the top level directroy.
These additional scripts have no command line parameters and are configured with
variables inside the script insetadSome regular expressions used for analzing MPI and Hybrid MPI usage originated from https://github.com/LLNL/MPI-Usage