Skip to content

Commit 64865cf

Browse files
authored
add mpitrace output python parser (#81)
* add mpitrace python parser Signed-off-by: vsoch <vsoch@users.noreply.github.com>
1 parent 11e6f57 commit 64865cf

File tree

11 files changed

+1363
-2
lines changed

11 files changed

+1363
-2
lines changed

examples/addons/mpitrace-lammps/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ VERSION=v0.2.0
1414
kubectl apply --server-side -f https://github.com/kubernetes-sigs/jobset/releases/download/$VERSION/manifests.yaml
1515
```
1616

17-
Install the operator (from the development manifest here):
17+
Install the operator (from the development manifest here) or the production release:
1818

1919
```bash
2020
kubectl apply -f ../../dist/metrics-operator-dev.yaml
21+
kubectl apply -f https://raw.githubusercontent.com/converged-computing/metrics-operator/main/examples/dist/metrics-operator.yaml
2122
```
2223

2324
How to see metrics operator logs:
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Addon MPITrace
2+
3+
MPI Trace can be added to an app and then used to generate files to parse with the library here.
4+
This addon is a bit different in that it doesn't expect output in logs, but rather provided on the local
5+
system (saved via kubectl or via the [ORAS Operator](https://github.com/converged-computing/oras-operator)).
6+
For this example, you should first run the example in the [addon-mpitrace](../../addons/mpitrace-lammps) directory
7+
and generate the output files:
8+
9+
```bash
10+
ls ../../addons/mpitrace-lammps/mpi_profile.114.* -l
11+
-rw-rw-r-- 1 vanessa vanessa 5636 Oct 22 18:52 ../../addons/mpitrace-lammps/mpi_profile.114.0
12+
-rw-rw-r-- 1 vanessa vanessa 4684 Oct 22 18:52 ../../addons/mpitrace-lammps/mpi_profile.114.1
13+
-rw-rw-r-- 1 vanessa vanessa 4623 Oct 22 18:52 ../../addons/mpitrace-lammps/mpi_profile.114.2
14+
```
15+
16+
Then run the script, and target the files:
17+
18+
```bash
19+
$ python parse-metric.py ../../addons/mpitrace-lammps/ --prefix mpi_profile
20+
```

0 commit comments

Comments
 (0)