CLM4.5 transient CO2 - compilation error

Hi
I am trying to set up a transient CO2 run for stand-alone CLM4.5 with CN on. I followed the instructions as given here: http://www.cesm.ucar.edu/models/cesm1.2/clm/models/lnd/clm/doc/UsersGuide/x12702.htmlThere still seems to be some mistakes in the instructions, namely, the file under models/lnd/clm/doc/UsersGuide/addco2_user_nl_datm.user_nl doesn't exist. There is only a diff file with a similar name. So I've done the changes manually. Also, I am running with the CRU dataset instead of QIAN, I had to change that part as well.Yet, when I try to build the model, I get the following error:-------------------------------------------------------------------------
 CESM BUILDNML SCRIPT STARTING
 - To prestage restarts, untar a restart.tar file into /scratch/rosa/bozbiyik/cesm1.0/I20CRUCLM45CN4Me_f19_g16-transient/run
 infile is /project/s428/bozbiyik/clm4_0_81/scripts/I20CRUCLM45CN4Me_f19_g16-transient/Buildconf/cplconf/cesm_namelist
ERROR(Build::Namelist::_parse_next): expect a equal '=' sign instead got: '
ERROR: datm.buildnml.csh failed
ERROR from preview namelist - EXITING

Thanks for the help!
Anil
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
Hi Anil Hmmm. It's getting a parsing error in reading the datm namelist. I don't see an error in the namelist in the UG. But, you had to modify yours for CRUNCEP. Give us the namelist and maybe I can spot a syntax error. The main suggestion I have is to look over the user_nl_datm file carefully, and see what might be wrong. Anyway, show us the file and I'll see if I can spot the error. Good luck Erik
 
I encountered the same error when trying to set up a CLM4.5 offline simulation following these instructions: http://www.cesm.ucar.edu/models/cesm1.2/clm/models/lnd/clm/doc/UsersGuide/x12702.htmlIt looks like there is a typo in the file addco2_user_nl_datm.user_nl. Both the file and the webpage include the following linemapmask = 'nomask','nomask','nomask','nomask',nomask'while I guess this should bemapmask = 'nomask','nomask','nomask','nomask','nomask'(i.e. a single quote needs to be added right before the last nomask entry). After applying this correction CESM compiles smoothly in my case. Best wishes,Wim 
 
Back
Top