Dear all
Two weeks ago, I could run the CTSM5.2 with 0.05x0.05 degree resolution (by subset the surface data from 0.05-conus6_data.cfg for my region in the U.S).My model ran well with the default Atmospheric forcing data
Now, I want to create a new case with the same properties and with the same code, without any changes in the code but after submitting the case I received the below email:
PBS Job Id: 7038586.desched1
Job Name: st_archive.Dec1_2daily_clm50_ctsm520_0.05x0.05conus_GSWP3V1_2000
Aborted by PBS Server
Job deleted as result of dependency on job 7038585.desched1
I checked the log file in the run directory and understand that I have an Error in lnd.log.7038585.desched1.241201-193253 as the below:
Input surface dataset is:
/glade/work/jteymoori/CTSM/tools/site_and_regional/subset_data_regional/surfdat
a_Dec1_2daily_hist_2000_78pfts_c241201.nc
This surface dataset is older and incompatible with this version of CTSM
Dataset version = 5.2 Version expected = 5.3
ERROR in surfrdMod.F90 at line 183
ENDRUN:
ERROR: ERROR: Incompatible surface dataset
Has the model had a recent update that caused previous code execution to fail?
The code that I used for my model is:
in derecho
cd /glade/work/jteymoori
git clone
GitHub - ESCOMP/CTSM: Community Terrestrial Systems Model (includes the Community Land Model of CESM)
cd CTSM
./bin/git-fleximod update
cp /glade/work/oleson/ctsm5.2.0/tools/site_and_regional/0.05-conus6_data.cfg /glade/work/jteymoori/CTSM/tools/site_and_regional/
cd/CTSM/tools/site_and_reginal
vi 0.05-conus6_data.cfg
[surfdat]
mesh_dir = /glade/work/jteymoori/CTSM/tools/site_and_redional
mesh_surf = /glade/work/jteymoori/CTSM/tools/site_and_redional
Esc
:wq
cp /glade/campaign/cgd/tss/people/oleson/CLM5_datasets/ctsm5.2.0/GLOBAL/surfdata_0.05x0.05-hires_noSP_hist_2005_78pfts_c240516.nc /glade/work/jteymoori/CTSM/tools/site_and_regional
cd /CTSM/cime/scripts
module load conda
conda activate npl
./create_newcase --case ~/Dec1_2daily/Dec1_2daily_clm50_ctsm520_0.05x0.05conus_GSWP3V1_2000 --res CLM_USRDAT --compset 2000_DATM%GSWP3v1_CLM50%BGC-CROP_SICE_SOCN_MOSART_SGLC_SWAV --run-unsupported --project UCNN0040
in Casper
cd CTSM/tools/site_and_regional:
module load conda
conda activate npl
pip install numpy
pip install xarray
./subset_data region --lat1 30 --lat2 50 --lon1 245 --lon2 275 --reg Dec1_2daily --create-surface --crop --cfg-file /glade/work/jteymoori/CTSM/tools/site_and_regional/0.05-conus6_data.cfg --out-surface surfdata_Dec1_2daily_hist_2000_78pfts_c241201.nc
ctsm/tools/site_and_regional/subset_data_regional:
module load nco
cp /glade/work/jteymoori/CTSM/tools/site_and_regional/subset_data_regional/surfdata_Dec1_2daily_hist_2000_78pfts_c241201.nc landmask.nc
ncrename -v .PFTDATA_MASK,landmask landmask.nc
ncks -A -v .PFTDATA_MASK /glade/work/jteymoori/CTSM/tools/site_and_regional/subset_data_regional/surfdata_Dec1_2daily_hist_2000_78pfts_c241201.nc landmask.nc
ncrename -v .PFTDATA_MASK,mod_lnd_props landmask.nc
ncks --rgr infer --rgr scrip=scrip.nc landmask.nc foo.nc
ncap2 -h -A -s 'defdim("lsmpft",79)' surfdata_Dec1_2daily_hist_2000_78pfts_c241201.nc
in derecho
/glade/u/apps/derecho/23.09/spack/opt/spack/esmf/8.6.0/cray-mpich/8.1.27/oneapi/2023.2.1/7haa/bin/ESMF_Scrip2Unstruct scrip.nc lnd_mesh.nc 0
cd case directory:
module load conda
conda activate npl
./xmlchange NTASKS=-4
./xmlchange NTASKS_PER_INST=144
./xmlchange JOB_WALLCLOCK_TIME=12:00:00
./xmlchange JOB_QUEUE=main
./xmlchange PIO_TYPENAME=pnetcdf
./xmlchange STOP_OPTION=nyears
./xmlchange STOP_N=1
./xmlchange LND_NX=25
./xmlchange LND_NY=22
./xmlchange ATM_NX=25
./xmlchange ATM_NY=22
./xmlchange RUN_STARTDATE=2012-01-01
./case.setup
vi user_nl_clm
fsurdat = '/glade/work/jteymoori/CTSM/tools/site_and_regional/subset_data_regional/surfdata_Dec1_2daily_hist_2000_78pfts_c241201.nc'
hist_mfilt=365
hist_nhtfrq=24
hist_empty_htapes = true
hist_fincl1 = 'RAIN','SNOW','QSOIL','QVEGE','QVEGT','H2OSOI','FSH','SOILLIQ','TSL','TSKIN','TSA','TREFMXAV','TREFMNAV'
Esc
:wq
Update lines in env_run.xml:
./xmlchange LND_DOMAIN_MESH=/glade/work/jteymoori/CTSM/tools/site_and_regional/subset_data_regional/lnd_mesh.nc
./xmlchange ATM_DOMAIN_MESH=/glade/work/jteymoori/CTSM/tools/site_and_regional/subset_data_regional/lnd_mesh.nc
./xmlchange MASK_MESH=/glade/work/jteymoori/CTSM/tools/site_and_regional/subset_data_regional/lnd_mesh.nc
./case.build
./case.submit