Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
EdmundGoodman committed Mar 11, 2024
2 parents f0e97eb + c8caec2 commit 39584fd
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
50 changes: 50 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,53 @@ hide:
# Introduction

`hpc-multibench` is a Python tool to define and run HPC batch compute jobs via Slurm from a convenient YAML format.

# Usage

```
usage: __main__.py [-h] -y YAML_PATH {record,interactive,report} ...
A tool to spawn and analyse HPC jobs.
positional arguments:
{record,interactive,report}
record record data from running the test benches
interactive show the interactive TUI
report report analysis about completed test bench runs
options:
-h, --help show this help message and exit
-y YAML_PATH, --yaml-path YAML_PATH
the path to the configuration YAML file
```

## `record` subcommand

```
usage: __main__.py record [-h] [-d] [-w] [-nc]
options:
-h, --help show this help message and exit
-d, --dry-run print but don't submit the generated sbatch files
-w, --wait wait for the submitted jobs to finish to exit
-nc, --no-clobber don't delete any previous run results of the test benches
```

## `report` subcommand

```
usage: __main__.py report [-h]
options:
-h, --help show this help message and exit
```

## `interactive` subcommand

```
usage: __main__.py interactive [-h] [-nc]
options:
-h, --help show this help message and exit
-nc, --no-clobber don't delete any previous run results of the test benches
```
12 changes: 12 additions & 0 deletions docs/reference/main.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# Reference

::: hpc_multibench.main

::: hpc_multibench.test_plan

::: hpc_multibench.test_bench

::: hpc_multibench.run_configuration

::: hpc_multibench.yaml_model

::: hpc_multibench.roofline_model

::: hpc_multibench.uncertainties

0 comments on commit 39584fd

Please sign in to comment.