Skip to content

Commit

Permalink
add check_completion to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Sep 2, 2021
1 parent 88204a6 commit 1c65ab4
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ modifying the JSON files.

The following command creates JSON files for coupling `(ATMESH + WW3DATA) -> ADCIRC` over a small Shinnecock Inlet mesh:

```bash
```shell
initialize_adcirc \
--platform HERA \
--mesh-directory /scratch2/COASTAL/coastal/save/shared/models/meshes/shinnecock/v1.0 \
Expand Down Expand Up @@ -238,7 +238,7 @@ optional arguments:
--verbose show more verbose log messages
```

```bash
```shell
cd hera_shinnecock_ike_spinup_tidal_atmesh_ww3data
generate_adcirc
```
Expand Down Expand Up @@ -286,7 +286,7 @@ The resulting configuration will have the following structure:

Run the following to submit the model run to the Slurm job queue:

```bash
```shell
./run_hera.sh
```

Expand All @@ -299,3 +299,22 @@ The queue will have the following jobs added:
20967649 1 1 (null) (None) ADCIRC_SETUP_unperturbed
20967650 42 2 afterok:20967649 (Dependency) ADCIRC_HOTSTART_unperturbed
```

### 4. track model progress
`check_completion` checks the completion status of a running model directory.

```
usage: check_completion [-h] [--model MODEL] [--verbose] [directory ...]
positional arguments:
directory directory containing model run configuration
optional arguments:
-h, --help show this help message and exit
--model MODEL model that is running, one of: `ADCIRC`
--verbose list all errors and problems with runs
```

```shell
check_completion hera_shinnecock_ike_spinup_tidal_atmesh_ww3data
```

0 comments on commit 1c65ab4

Please sign in to comment.