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

CLM5.0 Build Error.

Immi

Imiraan
New Member
Hello Discuss CESM Community,

I am clonning CLM 5.0 to my ubuntu-latest system. For which I have followed the below steps.

1st
git clone -b release-clm5.0 GitHub - ESCOMP/CTSM: Community Terrestrial Systems Model (includes the Community Land Model of CESM) clm5.0

cd clm5.0

./manage_externals/checkout_externals

2nd
export CIME_MODEL="cesm"
export CTSMROOT="$home/swelab/clm5.0"

3rd
./create_newcase --case test0 --mach ubuntu-latest --res f09_g17 --compset I1850Clm50Sp

4th
cd test0
./xmlchange CLM_FORCE_COLDSTART=off,RUN_TYPE=startup
./xmlchange RUN_STARTDATE=2010-01-01,STOP_OPTION=ndays,STOP_N=1
./xmlchange DATM_CLMNCEP_YR_ALIGN=1
./xmlchange DATM_CLMNCEP_YR_START=2010,DATM_CLMNCEP_YR_END=2010
export datas="/home/swelab/cesm/inputdata"
./xmlchange --file env_run.xml --id DIN_LOC_ROOT --val $datas
./xmlchange --file env_run.xml --id DIN_LOC_ROOT_CLMFORC --val $datas/atm/datm

5th
./case.setup

However, when I am running the ./case.build command. I am getting the below error. I am unable to resolve this error; when asked by GPT, it says it's a problem with the CLM. Can someone guide me on how to fix this issue?



Topost.png
 

Immi

Imiraan
New Member
I searched and read on various platforms that a BOZ literal-related error can be avoided by adding -fallow-argument-mismatch and -fallow-invalid-boz to Fortran sources in config_compilers.xml. However, even after adding these, I am still facing the same error.

ToPost1.png
 
Vote Upvote 0 Downvote
Top