-
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.
if we do not make a copy (refect) of the interface, the state seems to change (and perist) between runs. While I am still worried about this design, this at least seems to fix that bug. I am also wondering about garbage collection (e.g., if making the copies means they stay around and the operator will use increasing memory) but that is TBA explored. Signed-off-by: vsoch <[email protected]>
- Loading branch information
Showing
27 changed files
with
314 additions
and
117 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
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,49 @@ | ||
apiVersion: flux-framework.org/v1alpha2 | ||
kind: MetricSet | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: metricset | ||
app.kubernetes.io/instance: metricset-sample | ||
name: metricset-sample | ||
spec: | ||
# Number of pods for lammps (one launcher, the rest workers) | ||
pods: 4 | ||
logging: | ||
interactive: true | ||
|
||
metrics: | ||
|
||
# Running more scaled lammps is our main goal | ||
- name: app-lammps | ||
|
||
# How to define a custom lammps container (advanced users) | ||
# This is for if you use rocky, not the default | ||
image: ghcr.io/converged-computing/metric-lammps-intel-mpi:rocky | ||
|
||
options: | ||
command: lmp -v x 2 -v y 2 -v z 2 -in in.reaxc.hns -nocite | ||
workdir: /opt/lammps/examples/reaxff/HNS | ||
|
||
# Add on hpctoolkit, will mount a volume and wrap lammps | ||
addons: | ||
- name: perf-hpctoolkit | ||
options: | ||
mount: /opt/mnt | ||
# Where is the event blocked / taking more time | ||
events: "-e REALTIME@100" | ||
|
||
# Use a custom container here too (we have for rocky and ubuntu) | ||
image: ghcr.io/converged-computing/metric-hpctoolkit-view:rocky | ||
|
||
# Don't run post analysis - script will still be generated | ||
# postAnalysis: "false" | ||
|
||
# hpcrun needs to have mpirun in front of hpcrun <command> e.g., | ||
# mpirun <MPI args> hpcrun <hpcrun args> <app> <app args> | ||
prefix: /opt/intel/mpi/2021.8.0/bin/mpirun --hostfile ./hostlist.txt -np 4 --map-by socket | ||
|
||
# Ensure the working directory is consistent | ||
workdir: /opt/lammps/examples/reaxff/HNS | ||
|
||
# Target container for entrypoint addition is the launcher, not workers | ||
containerTarget: launcher |
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
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
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
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
Oops, something went wrong.