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

Where is the source code of CLM45

dayon

Member
NCAR DiscussCESM
Dear scientists of NCAR

Both CLM5 and CLM4.5 can be used in CESM2.1.3.
I can find the resource code of CLM4.0 named "src_clm40" in the directory of components/clm. But how to distinguish the source codes between CLM4.5 and CLM5.0?


I will appreciate any help from you. Thanks in advance.
Best regards,
Dayon
 

sacks

Bill Sacks
CSEG and Liaisons
Staff member
Unlike CLM4, CLM4.5 and CLM5 (and all future versions of CLM) use the same code base. The differences between CLM4.5 and CLM5 are captured by differences in namelist options (in the lnd_in file). There isn't an easy way to see what code applies to each version. The best you can do is to create two cases – one with CLM4.5 and one with CLM5 – and look at the differences in the lnd_in file. You will see a lot of namelist differences, and you can search the code for specific options you're interested in, to see how the code path differs for these different options.
 
Top