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
25 stars 22 forks source link

[WIP] Add command: `benchpark system create` #261

Closed scheibelp closed 2 months ago

scheibelp commented 2 months ago

Closes https://github.com/LLNL/benchpark/pull/110 Based on https://github.com/LLNL/benchpark/pull/195 (not strictly needed, but defines variables only actually used in that PR)

(note: ~500 of the +/- of this diff is from moving bin/benchpark to lib/main.py - I recommend collapsing these to make the diff more-readable)

Example:

./bin/benchpark system create --basedir=test-system-create --type=aws --set instance-type=c4.xlarge

Creates a directory in test-system-create, and writes a variables.yaml file to it:

variables:
  scheduler: "mpi"
  sys_cores_per_node: "4"
  sys_mem_per_node: 7.5
  ...

TODOs

scheibelp commented 2 months ago

@douglasjacobsen FYI

scheibelp commented 2 months ago

This has moved to https://github.com/LLNL/benchpark/pull/298 (uses a branch from within Benchpark vs. my fork of it)