CTSM icon indicating copy to clipboard operation
CTSM copied to clipboard

Create FATES-SP compset

Open wwieder opened this issue 3 years ago • 4 comments

It seems like FATES-SP should be a major configuration of CTSM that warrants its own compset.

@adrifoster explained: There's no specific compset for SP, you have to use the user_nl_clm file to set it up (https://fates-users-guide.readthedocs.io/en/latest/user/Namelist-Options-and-Run-Time-Modes.html):

This is what I use:

Compset: 2000_DATM%GSWP3v1_CLM50%FATES_SICE_SOCN_SROF_SGLC_SWAV

user_nl_clm changes:
 use_fates_sp = .true.

.... with many other user_nl_clm chaanges

@ekluzek mentioned this requires some code refactoring to facilitate.

Is the refactoring just on the CTSM side, or also on FATES @glemieux @rgknox?
If also for FATES, let's create a parallel issue in the FATES repository.

wwieder avatar Apr 06 '22 12:04 wwieder

Personally I envision it would be mostly in CTSM. And we'd add a compset as well as a build-namelist trigger for this. There's a couple different options on how this would be done, and we need to iteratively start from where we are to the final solution.

It's possible this would be moved to a higher level in FATES, but I don't even see how that would be done. So we'll discuss this more.

ekluzek avatar Apr 06 '22 15:04 ekluzek

Some of the refactoring I mention is talked about in #942. And this document...

https://docs.google.com/spreadsheets/d/1wwI_RuQ87FNk4PdrSLtlplisEMTRqDCxFeqG6Wbxt_c

ekluzek avatar Apr 06 '22 16:04 ekluzek

I agree, there should be no refactoring necessary on the FATES side. I would expect the compset would generate the use_fates_sp setting, and that would continue to be passed in the same as it was before.

rgknox avatar Apr 06 '22 18:04 rgknox

In the SE meeting we agreed that the long-term goal of a CTSM-FATESsp compset is desired, as for CTSM-SP runs, but for the purposes of the tutorial we'll just use namelist changes to set up this case.

wwieder avatar Apr 14 '22 16:04 wwieder

This has been done.

billsacks avatar Dec 15 '22 17:12 billsacks