Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Help with newly created compset (untested)

andreasc

Andreas Chrysanthou
New Member
Hi everyone,

I am a new CESM user and I recently started running some experiments with it. I run a ~30 year evaluation run with the untested configuration HIST_CAM60%WCCM_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_CISM2%NOEVOLVE_SWAV (FWmaHIST; 1 degree resolution and 110L) and stopped the run at year 2010 from which year I'd like to branch out a new chemistry coupled run with 2010 mean climatological fields (e.g. SSTs, CO2), thinking that I'd only have to adapt this configuration to the FW2010climo compset.

For this purpose, I created a new compset (2010_CAM60%WCCM_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_CISM2%NOEVOLVE_SWAV) and added in all the relevant info in fields like RUN_STARTDATE, RUN_TYPE, RUN_REFCASE, RUN_REFDATE and RUN_REFDIR in components/cam/cime_config/config_compsets.xml (pasted just below). For the RUN_REFDIR, I've made sure that I'm pointing towards the directory of the archived rest files of my FWmaHIST run.

<compset>
<alias>FWmaINT2010</alias>
<lname>2010_CAM60%WCCM_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_CISM2%NOEVOLVE_SWAV</lname>
</compset>

<value compset="2010_CAM60%WCCM_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_CISM2%NOEVOLVE_SWAV" grid="a%0.9x1.25">2010-01-01</value>
<value grid="a%0.9x1.25_l%0.9x1.25_oi%0.9x1.25_r%r05_g%gland4_w%null_m%gx1v7" compset="2010_CAM60%WCSC_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_CISM2%NOEVOLVE_SWAV" >hybrid</value>
<value grid="a%0.9x1.25_l%0.9x1.25_oi%0.9x1.25_r%r05_g%gland4_w%null_m%gx1v7" compset="2010_CAM60%WCCM_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_CISM2%NOEVOLVE_SWAV">cesm215.FWmaHIST</value>
<value grid="a%0.9x1.25_l%0.9x1.25_oi%0.9x1.25_r%r05_g%gland4_w%null_m%gx1v7" compset="2010_CAM60%WCCM_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_CISM2%NOEVOLVE_SWAV">2010-01-01</value>
<value grid="a%0.9x1.25_l%0.9x1.25_oi%0.9x1.25_r%r05_g%gland4_w%null_m%gx1v7" compset="2010_CAM60%WCCM_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_CISM2%NOEVOLVE_SWAV">/glade/derecho/scratch/andreasc/archive/cesm215.FWmaHIST/rest</value>


So, I created a new case with this altered compset before I prepare the forcing files I'd need, just to make sure that the configuration can be setup and built successfully (doing so with ./create_newcase --case FWmaINT2010 --compset FWmaINT2010 --res f09_f09_mg17 --run-unsupported). The setup completes successfully but the building fails almost instantly as I'm getting the following error:
Generating component namelists as part of build
- Prestaging REFCASE (/glade/derecho/scratch/andreasc/archive/cesm215.FWmaHIST/rest) to /glade/derecho/scratch/andreasc/FWmaINT2010/run
ERROR: Reference case directory /glade/derecho/scratch/andreasc/archive/cesm215.FWmaHIST/rest does not contain any rpointer files


I should say that the rest files are there in the set directory but for some reason, it cannot find them. Any help would be much appreciated. My sincerest apologies if I haven't managed to find the correct sub-forum to post this in.

Cheers,
Andreas
 
Solution
I'll defer to any better answers from my colleagues who deal more with restarts than I do... but I think the directory you're pointing to has a lot of subdirectories with restarts, but none in the directory itself. Since your run date looks to be 2010-01-01, could you try:

./xmlchange RUN_REFDIR=/glade/derecho/scratch/andreasc/archive/cesm215.FWmaHIST/rest/2010-01-01-00000

That directory has the rpointer files for that case & date.

dobbins

Brian Dobbins
CSEG and Liaisons
Staff member
I'll defer to any better answers from my colleagues who deal more with restarts than I do... but I think the directory you're pointing to has a lot of subdirectories with restarts, but none in the directory itself. Since your run date looks to be 2010-01-01, could you try:

./xmlchange RUN_REFDIR=/glade/derecho/scratch/andreasc/archive/cesm215.FWmaHIST/rest/2010-01-01-00000

That directory has the rpointer files for that case & date.
 
Vote Upvote 0 Downvote
Solution

andreasc

Andreas Chrysanthou
New Member
Thanks very much Brian, that seems to have done the trick. I guess I could also change it in the config_compsets.xml file directly so I don't have to run ./xmlchange.
 
Vote Upvote 0 Downvote
Top