Welcome to the new DiscussCESM forum!
We are still working on the website migration, so you may experience downtime during this process.

Existing users, please reset your password before logging in here: https://xenforo.cgd.ucar.edu/cesm/index.php?lost-password/

CAM build-namelist error


Tyler Harrington
New Member

I have added several namelist variables in the "user_nl_cam" file and keep getting the same error message (attached) when I try to run "./cesm.setup". I originally thought maybe my formatting was messed up in the user_nl_cam file, but everything works properly if I remove the last two variables in the file. Is there a way to change what the array size is allowed to be?

Image 5-18-20 at 8.22 PM.jpg



Bill Sacks
CSEG and Liaisons
Staff member
Based on your directory name, it looks like you're running iCESM (isotope-enabled CESM). Is that correct? I'm going to move this to the Paleoclimate forums, since that is the group that is supporting iCESM.


Jesse Nusbaumer
CSEG and Liaisons
Staff member
Hi Tyler,

How many total water tracers do you have? If you are using iCESM1.2, then there is currently a hard-coded limit of 700 different water tracers (which translates to 100 unique water tags). To fix this, simply modify the variable:


in this file:


As well as modify the type="char*X(700)" attribute for all the wtrc_* variables here:


And increase the "700" number to whatever is needed (i.e. total unique water tags * 7). If by chance you are using a later version of iCESM and/or iCAM then you should only need to modify the namelist_definition.xml file, as WTRC_MAX_CNSTwill be set automatically.

If after doing this you still run into any problems or issues just let me know.

Thanks, and have a great day!