Skip to content

Commit

Permalink
Update log file location in docs (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
forsyth2 authored Apr 11, 2024
1 parent 22bb5a0 commit 8b68f5b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/source/best_practices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ For example: ::
$ ssh dtn01.nersc.gov
$ screen -r
$ cd /global/cscratch1/sd/golaz/E3SM/simulations/20180129.DECKv1b_piControl.ne30_oEC.edison
$ mkdir zstash
$ zstash create --hpss=2018/E3SM_simulations/20180129.DECKv1b_piControl.ne30_oEC.edison \
--maxsize 128 . 2>&1 | tee zstash_create_20190226.log
--maxsize 128 . 2>&1 | tee zstash/zstash_create_20190226.log

The command above will archive the entire directory structure under
`/global/cscratch1/sd/golaz/E3SM/simulations/20180129.DECKv1b_piControl.ne30_oEC.edison`.
Expand All @@ -55,9 +56,10 @@ restart files every 5 years** only: ::
$ ssh dtn01.nersc.gov
$ screen -r
$ cd /global/cscratch1/sd/golaz/E3SM/simulations/20180129.DECKv1b_piControl.ne30_oEC.edison
$ mkdir zstash
$ zstash create --hpss=2018/E3SM_simulations/20180129.DECKv1b_piControl.ne30_oEC.edison \
--exclude="archive/rest/???[!05]-*/" \
--maxsize 128 . 2>&1 | tee zstash_create_20190226.log
--maxsize 128 . 2>&1 | tee zstash/zstash_create_20190226.log
Update
------
Expand All @@ -68,8 +70,9 @@ failure using the ``zstash update`` functionality: ::
$ ssh dtn01.nersc.gov
$ screen -r
$ cd /global/cscratch1/sd/golaz/E3SM/simulations/20180129.DECKv1b_piControl.ne30_oEC.edison
$ mkdir zstash
$ zstash update --hpss=2018/E3SM_simulations/20180129.DECKv1b_piControl.ne30_oEC.edison \
--exclude="archive/rest/???[!05]-*/" 2>&1 | tee zstash_update_20190226.log
--exclude="archive/rest/???[!05]-*/" 2>&1 | tee zstash/zstash_update_20190226.log

Check
-----
Expand Down

0 comments on commit 8b68f5b

Please sign in to comment.