LLNL / benchpark

An open collaborative repository for reproducible specifications of HPC benchmarks and cross site benchmarking environments
https://software.llnl.gov/benchpark/
Apache License 2.0
28 stars 25 forks source link

`benchpark setup`: easier referencing of dynamically generated systems #450

Closed scheibelp closed 1 day ago

scheibelp commented 2 days ago

benchpark setup, when using a dynamically generated system (from benchpark system init), will generate a ramble workspace in part using the name/hash of the system

This can make it awkward to reference, as is demonstrated in our dry run CI checks:

./bin/benchpark system init --dest=tioga-system tioga rocm=551 compiler=cce ~gtl
...
./bin/benchpark setup ./saxpy-rocm ./tioga-system workspace/
...
ramble --workspace-dir workspace/saxpy-rocm/Tioga-975af3c/workspace 
^
|
(this has to refer to "Tioga-975af3c")

This adds some convenience functionality:

  1. New command benchpark system id <a dir generated by system-init>: which will print the directory component related to the system (e.g. "Tioga-975af3c" in the above example)
  2. benchpark setup now generates a symlink that follows the same pattern as for an experiment, using the basename of the system config dir. In terms of the above example, that would be workspace/saxpy-rocm/tioga-system -> workspace/saxpy-rocm/Tioga-975af3c

Notes:

pearce8 commented 1 day ago

Resolves #443.