-
Notifications
You must be signed in to change notification settings - Fork 207
CUG 6.2 BASICS How do I set up a branch or hybrid run
Robert Jacob edited this page Dec 22, 2016
·
1 revision
The section setting the case initialization discussed starting a new case as a branch run or hybrid run by using data from a previous run. First you need to create a new case. Assume that $CCSMROOT is set to /user/ccsmroot and that $EXEROOT is /glade/scratch/$user/EXAMPLE_CASEp. Finally, assume that the branch or hybrid run is being carried out on NCAR's IBM system, yellowstone.
> cd /user/ccsmroot/scripts
> create_newcase -case ~/cesm/EXAMPLE_CASEp \
-compset B_2000 \
-res 0.9x1.25_gx1v6 \
-mach yellowstone
> cd ~/cesm/EXAMPLE_CASEp
> xmlchange RUN_TYPE=branch
> xmlchange RUN_REFCASE=EXAMPLE_CASE
> xmlchange RUN_REFDATE=0001-02-01
> xmlchange RUN_TYPE=hybrid
> xmlchange RUN_REFCASE=EXAMPLE_CASE
> xmlchange RUN_REFDATE=0001-02-01
Set up and build the case executable.
> ./cesm_setup
> ./EXAMPLE_CASEp.build
> cd /glade/scratch/$user/EXAMPLE_CASEp/run
> hsi -q "cget /CCSM/csm/EXAMPLE_CASE/rest/0001-02-01-00000/*"
> cd ~/cesm/EXAMPLE_CASEp
> xmlchange STOP_OPTION=nmonths
> xmlchange STOP_N=12
> # use an editor to change EXAMPLE_CASE.run "#BSUB -W 1:30" to "#BSUB -W 6:00"
> ./EXAMPLE_CASEp.submit
(seq_mct_drv): =============== SUCCESSFUL TERMINATION OF CPL7-CCSM ===============
> xmlchange CONTINUE_RUN=TRUE
> xmlchange RESUMIT=10
> ./EXAMPLE_CASEp.submit