Skip to content

Commit

Permalink
Update archive_baseline.sh commands with gnu compiler instead of nvhpc
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmielin committed Dec 16, 2024
1 parent f850854 commit 242bca0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/development/cam-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ After you have run the tests, merged your PR, and created a tag (see [tag workfl
To do this, navigate to `$CAM-SIMA/test/system` on derecho and run:

```
env CESM_TESTDIR=/glade/derecho/scratch/YourName/aux_cam_yyyymmddsssss CAM_FC=INTEL ./archive_baseline.sh <sima tag>
env CESM_TESTDIR=/glade/derecho/scratch/YourName/aux_sima_yyyymmddsssss CAM_FC=INTEL ./archive_baseline.sh <sima tag>
```
```
env CESM_TESTDIR=/glade/derecho/scratch/YourName/aux_cam_yyyymmddsssss CAM_FC=NVHPC ./archive_baseline.sh <sima tag>
env CESM_TESTDIR=/glade/derecho/scratch/YourName/aux_sima_yyyymmddsssss CAM_FC=GNU ./archive_baseline.sh <sima tag>
```

!!! Note "Baseline 'latest' symlink"
Expand Down Expand Up @@ -173,4 +173,4 @@ hemco hemco-cesm2_0_hemco_3_9_0 7bd8358 is out of sync with .gitmodules hemco-ce
Sparse checkout file missing (check the path):
```
mpas sparse checkout file .mpas_sparse_checkout not found
```
```
2 changes: 1 addition & 1 deletion docs/development/git-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ To see the latest tag: [https://github.com/ESCOMP/CAM-SIMA/tags](https://github.
### Creating a new tag
1. Clone [https://github.com/ESSCOMP/CAM](https://github.com/ESCOMP/CAM) or update an existing clone with `git fetch <escomp_remote> development`
1. Clone [https://github.com/ESCOMP/CAM](https://github.com/ESCOMP/CAM) or update an existing clone with `git fetch <escomp_remote> development`
1. Find the PR merge commit (`<merge_commit>`) for the tag
- In your up-to-date CAM clone, find the merge commit with `git log --oneline -1 <escomp_remote>/development` where the merge commit is the first field in the output.
1. Tag the `<merge_commit>` with `git tag -a <tag> <merge_commit> -m '<commit_message>` where `<commit_message>` is the same as the message for the `<merge_commit>`
Expand Down

0 comments on commit 242bca0

Please sign in to comment.