-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add mpitrace output python parser (#81)
* add mpitrace python parser Signed-off-by: vsoch <vsoch@users.noreply.github.com>
- Loading branch information
Showing
11 changed files
with
1,363 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Addon MPITrace | ||
|
||
MPI Trace can be added to an app and then used to generate files to parse with the library here. | ||
This addon is a bit different in that it doesn't expect output in logs, but rather provided on the local | ||
system (saved via kubectl or via the [ORAS Operator](https://github.com/converged-computing/oras-operator)). | ||
For this example, you should first run the example in the [addon-mpitrace](../../addons/mpitrace-lammps) directory | ||
and generate the output files: | ||
|
||
```bash | ||
ls ../../addons/mpitrace-lammps/mpi_profile.114.* -l | ||
-rw-rw-r-- 1 vanessa vanessa 5636 Oct 22 18:52 ../../addons/mpitrace-lammps/mpi_profile.114.0 | ||
-rw-rw-r-- 1 vanessa vanessa 4684 Oct 22 18:52 ../../addons/mpitrace-lammps/mpi_profile.114.1 | ||
-rw-rw-r-- 1 vanessa vanessa 4623 Oct 22 18:52 ../../addons/mpitrace-lammps/mpi_profile.114.2 | ||
``` | ||
|
||
Then run the script, and target the files: | ||
|
||
```bash | ||
$ python parse-metric.py ../../addons/mpitrace-lammps/ --prefix mpi_profile | ||
``` |
Oops, something went wrong.