Skip to content

Commit

Permalink
Update following code review
Browse files Browse the repository at this point in the history
  • Loading branch information
mnlevy1981 committed Mar 6, 2024
1 parent 2149459 commit 049a8d6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions NCAR_tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,29 @@ A few tips and tricks tailored for the CISL's compute environment.
## Running in Parallel

There are two ways to request multiple cores on either casper or derecho.
If you want to release the cores immediately after `cupid-run` finishes:
Both cases are requesting 12 cores and 120 GB of memory.


The recommended approach releases the cores immediately after `cupid-run` finishes:

```
[login-node] $ conda activate cupid-dev
(cupid-dev) [login-node] $ qcmd -l select=1:ncpus=12:mem=120GB -- cupid-run config.yml
```

Alternatively, you can start an interactive session and remain on the compute nodes after CUPiD completes:
Alternatively, you can start an interactive session and remain on the compute nodes after `cupid-run` completes:

```
[login-node] $ qinteractive -l select=1:ncpus=12:mem=120GB
[compute-node] $ conda activate cupid-dev
(cupid-dev) [compute-node] $ cupid-run config.yml
```

Notes:
1. If you chose to run on derecho, specify the `develop` queue by adding the option `-q develop` to either `qcmd` or `qinteractive`
(the `develop` queue is a shared resource and you are charged by the core hour rather than the node hour).
1. `cupid-build` is not computationally expensive, and can be run on a login node for either machine.

## Looking at Output

You can visualize the web page in a browser using the FastX service.
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

print("sys.path:", sys.path)

# Copy README and NCAR_tipsinto docs
# Copy README and NCAR_tips into docs
# This block allows us to remove the header image from any md files
# without affecting the original version, but still pull the source
# into the docs build fresh each time.
Expand Down

0 comments on commit 049a8d6

Please sign in to comment.