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

How to add a new namelist to CESM1_2_0

I am running cesm1_2_0 and want to add a new namelist to pop2_in, but I can't add it. As the tutorial says, if we add a new namelist variable to the existing namelist, the best way is using user_nl_pop2. However, how to add a new namelist and define some new variables in the new namelist. Finally, I find a way to do this: I copy a build_namelist and namelist_definition_pop2.xml to src.pop2 and add the new namelist in these two files. It is okay to build and run but some errors appear as following:
build-namelist - ERROR: No default value found for sstf_file_name
user defined attributes:
Died at /WORK/home/LASG30/songfengfei/cesm_script/hist1_ep_5yr/SourceMods/src.pop2/build-namelist line 1875.
ERROR: pop2.buildnml.csh failed
ERROR: /WORK/home/LASG30/songfengfei/cesm_script/hist1_ep_5yr/preview_namelists failed: 25344

Are these warnings of vital? Do you have a betetr way to add a new namelist in the cesm1_2_0.
Any suggestions will be appreciated.


Fengfei Song
LASG, Institute of Atmospheric Physics,
Chinese Academy of Sciences,
P.O. Box 9804, Beijing 100029, China P.R.
 

santos

Member
I think that this is more of a general CESM scripts question, so I have moved it to the CESM forums.I'm not positive how the POP build-namelist works, but I think that, if you are defining entirely new namelist variables, you are probably better making a copy of the source code tree and modifying that code, rather than putting the modifications in SourceMods.
 

santos

Member
I think that this is more of a general CESM scripts question, so I have moved it to the CESM forums.I'm not positive how the POP build-namelist works, but I think that, if you are defining entirely new namelist variables, you are probably better making a copy of the source code tree and modifying that code, rather than putting the modifications in SourceMods.
 

santos

Member
I think that this is more of a general CESM scripts question, so I have moved it to the CESM forums.I'm not positive how the POP build-namelist works, but I think that, if you are defining entirely new namelist variables, you are probably better making a copy of the source code tree and modifying that code, rather than putting the modifications in SourceMods.
 

santos

Member
Oops. Never mind, I see that there's another copy of this:https://bb.cgd.ucar.edu/how-add-new-namelist-cesm120
I'm going to close this thread and reply over there.
 

santos

Member
Oops. Never mind, I see that there's another copy of this:https://bb.cgd.ucar.edu/how-add-new-namelist-cesm120
I'm going to close this thread and reply over there.
 

santos

Member
Oops. Never mind, I see that there's another copy of this:https://bb.cgd.ucar.edu/how-add-new-namelist-cesm120
I'm going to close this thread and reply over there.
 
Top