These instructions are specifically for NCAR computers derecho and casper.
The following steps describe creating a new grid and using it in a beta version of CESM3. Instructions for CESM2.2 are available in the step-by-step guide.
...
> cd ${VRM_tools}/VRM_Editor/src
> module load gcc/12.2.0
> module load ncarenv/23.10
> qmake VRM_Editor.pro
> make
Running "make" produces a lot of warning messages; that’s ok. For Linux users, with the Qt and netCDF packages installed, building the editor should be as simple as for Casper.
Correct the file Create_VRMgrid.cpp:
Change:
CommandLineDouble (MyGridYRotate ,"x_rotate" ,0.0);
To:
CommandLineDouble (MyGridYRotate ,"y_rotate" ,0.0);
Build Create_VRMgrid on Casper:
...
Modify the bold text to point to your SCRIP file, grid name, etc.
Can add option --output_data_directory to specify location of final topography file (be sure the directory already exists).
This can take several hours.
...
On derecho, use CTSM5.3 source code to create the needed surfdata and landuse_timeseries files. (Latest tag is good to use, as of 1/25/25 it is ctsm5.3.020).
> git clone https://github.com/ESCOMP/CTSM ctsm5.3.020
> cd ctsm5.2.0073
> git checkout ctsm5.3.0200
> bin/git-fleximod update
...
Anchor | ||||
---|---|---|---|---|
|
On Updated June 2025: On derecho, checkout a CESM3 beta tag (that uses ctsm5.2). It is recommended the source code is cloned into your work (or scratch, if necessary; you might run out of space in home) directory where sufficient storage is available. CESM3 has replaced manage_externals with git-fleximod, which requires the following commands:
...
Below, $CESMCODE refers to yourcesm3_0_beta01 directory directory.
CCS_CONFIG
1. Add an entry for your new ESMF mesh file in <cesm>/ccs_config/component_grids_nuopc.xml
...