You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

*** PAGE actively in development ***

Your $HOME and $WORK directories (on glade) are the same path on cheyenne and derecho. Therefore, it is recommended to create a new directory (in $HOME or $WORK) for cases you will run on derecho, to not confuse them with cases built on cheyenne (which will not run on derecho).  Derecho and cheyenne have separate $SCRATCH directories.

You will need to ssh into 

derecho.hpc.ucar.edu

Information from UCAR/CISL about the Derecho HPC: https://docs.google.com/presentation/d/1BAYI9NdyAnZzU3KLat0CK2sQj34XE_K5Wan9zL8rsQ0/edit?usp=sharing

CESM2.2 on Derecho

(A) Copy the model setup code to your own directory

1. The first time, in your $HOME or $WORK directory, setup a folder to hold all your derecho cases.

> mkdir /glade/work/$USER/derecho_cases


Make a copy of the new version of the code to set up for use on derecho:, the latest code can be downloaded following the instructions at: http://www.cesm.ucar.edu/models/cesm2/release_download.html

This directory is referred to as $CESM_ROOT below. This should only need to be done once for each code base update of CESM. Note that when running on derecho you do not need to get any of the input data files. 

Tip for New Users:

Having problems? Try the Troubleshooting page.

Downloading the source code will be completed by using the git clone feature. For example, first download the latest release (e.g. CESM2.2.0, with recent bug fixes):

> cd /glade/work/$USER/derecho_cases
> git clone https://github.com/ESCOMP/CESM.git cesm2_2_derecho
> cd cesm2_2_derecho

You should see in the $CESM_ROOT directory:

ChangeLog           cime_config         describe_version  Externals.cfg  manage_externals  tools
ChangeLog_template  CODE_OF_CONDUCT.md  doc               LICENSE.txt    README.rst

Download the model component source code.

> git checkout cesm2.2-asdbranch
> ./manage_externals/checkout_externals

You now have:

ChangeLog           cime_config         describe_version  Externals_cime.cfg  README.rst
ChangeLog_template  CODE_OF_CONDUCT.md  doc               LICENSE.txt
cime                components          Externals.cfg     manage_externals

with the new directories cime and components. The tools directory has been moved to within cime.

> cd components/clm
> git fetch origin
> git checkout release-cesm2.2.0/hist_opt

B) Create a new case



  • No labels