exit spinup error

Hi,

I have a problem regarding the Spinup. Unfortunately our Cluster is not able to use the resubmit option in the env_run.xml (the second job is submitted by a subnote and our Cluster accept no jobs submitted by a subnote). So I wrote a shell script which is doing the same job. After 600 years of simulation I want to exit the Spinup like in Example 4-4 in the Users Guide. But now the model crash while it try to read atmospheric inputdata.


Code:
./EXIT_spinup.tr32_pgi.run 
CCSM_COMPSET=I_2000_CN (ICN)
COMP_ATM=datm
COMP_LND=clm
COMP_ICE=sice
COMP_GLC=sglc
COMP_OCN=socn
COMP_CPL=cpl
CCSM_LCOMPSET=I_2000_CN
CCSM_SCOMPSET=ICN
COMP_RUN_BARRIERS=FALSE
COMP_INTERFACE=MCT
BUILD_COMPLETE=TRUE
SMP_BUILD=a0l0i0o0g0c0
SMP_VALUE=a0l0i0o0g0c0
-------------------------------------------------------------------------
 CCSM BUILDNML SCRIPT STARTING
 - To prestage restarts, untar a restart.tar file into /home/swieneke/cesm1_0_4/EXIT_spinup/run
 - Create modelio namelist input files
 CCSM BUILDNML SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
 CCSM PRESTAGE SCRIPT STARTING
 - CCSM input data directory, DIN_LOC_ROOT_CSMDATA, is /home/swieneke/inputdata
 - Case input data directory, DIN_LOC_ROOT, is /home/swieneke/inputdata
 - Checking the existence of input datasets in DIN_LOC_ROOT
 
The following files were not found, this is informational only
Input Data List Files Found:
/home/swieneke/cesm1_0_4/scripts/EXIT_spinup/Buildconf/cpl.input_data_list
/home/swieneke/cesm1_0_4/scripts/EXIT_spinup/Buildconf/clm.input_data_list
/home/swieneke/cesm1_0_4/scripts/EXIT_spinup/Buildconf/datm.input_data_list
File status unknown: AD_spinup.clm2.r.0601-01-01-00000.nc 
 
 CCSM PRESTAGE SCRIPT HAS FINISHED SUCCESSFULLY
Tue Feb 19 11:03:52 CET 2013 -- CSM EXECUTION BEGINS HERE
Tue Feb 19 11:04:13 CET 2013 -- CSM EXECUTION HAS FINISHED
Model did not complete - see /home/swieneke/cesm1_0_4/EXIT_spinup/run/cpl.log.130219-110326


last lines of the atm.log.130219-110326:

Code:
(datm_comp_init)  flds_strm = strm_swdn:strm_precn:strm_tbot:strm_wind:strm_pbot:strm_shum
(shr_dmodel_readLBUB) reading file: /home/swieneke/inputdata/atm_forcing.datm7.Qian.T62.c080727/Solar6Hrly/clmforc.Qian.c2006.T62.Solr.1972-01.nc       1
(shr_dmodel_readLBUB) reading file: /home/swieneke/inputdata/atm_forcing.datm7.Qian.T62.c080727/Solar6Hrly/clmforc.Qian.c2006.T62.Solr.1972-01.nc       2
(shr_dmodel_readLBUB) reading file: /home/swieneke/inputdata/atm_forcing.datm7.Qian.T62.c080727/Precip6Hrly/clmforc.Qian.c2006.T62.Prec.2004-12.nc     124
(shr_dmodel_readLBUB) reading file: /home/swieneke/inputdata/atm_forcing.datm7.Qian.T62.c080727/Precip6Hrly/clmforc.Qian.c2006.T62.Prec.1972-01.nc       1
(shr_dmodel_readLBUB) reading file: /home/swieneke/inputdata/atm_forcing.datm7.Qian.T62.c080727/TmpPrsHumWnd3Hrly/clmforc.Qian.c2006.T62.TPQW.2004-12.nc     248
(shr_dmodel_readLBUB) reading file: /home/swieneke/inputdata/atm_forcing.datm7.Qian.T62.c080727/TmpPrsHumWnd3Hrly/clmforc.Qian.c2006.T62.TPQW.1972-01.nc       1
(shr_dmodel_readLBUB) reading file: /home/swieneke/inputdata/atm/cam/chem/trop_mozart_aero/aero/aerosoldep_monthly_2000_mean_1.9x2.5_c090421.nc      12
(shr_dmodel_readLBUB) reading file: /home/swieneke/inputdata/atm/cam/chem/trop_mozart_aero/aero/aerosoldep_monthly_2000_mean_1.9x2.5_c090421.nc       1


Iam wondering particularly about the Warning File status unknown: AD_spinup.clm2.r.0601-01-01-00000.nc because I never get that before and this file exists in the run folder.
Here my configuration of the run:

Code:
./create_newcase -case EXIT_spinup -res pt1_pt1 -compset ICN -mach tr32_pgi
cd EXIT_spinup

export SITE=3x3_tr32
./xmlchange -file env_mach_pes.xml -id NTASKS_ATM -val 9
./xmlchange -file env_mach_pes.xml -id NTASKS_LND -val 9
./xmlchange -file env_mach_pes.xml -id NTASKS_ICE -val 9
./xmlchange -file env_mach_pes.xml -id NTASKS_OCN -val 9
./xmlchange -file env_mach_pes.xml -id NTASKS_CPL -val 9
./xmlchange -file env_mach_pes.xml -id NTASKS_GLC -val 9
./xmlchange -file env_mach_pes.xml -id TOTALPES -val 9
./xmlchange -file env_mach_pes.xml -id MAX_TASKS_PER_NODE -val 9
./xmlchange -file env_conf.xml -id CLM_USRDAT_NAME -val $SITE
./xmlchange -file env_conf.xml -id CLM_PT1_NAME -val $SITE
./xmlchange -file env_conf.xml -id CLM_CONFIG_OPTS -val "-sitespf_pt $SITE"
./xmlchange -file env_conf.xml -id CLM_CONFIG_OPTS -val "-bgc cn" -append
./xmlchange -file env_conf.xml -id CLM_CONFIG_OPTS -val "-exit_spinup on" -append
./xmlchange -file env_conf.xml -id RUN_TYPE -val branch
./xmlchange -file env_conf.xml -id RUN_REFCASE -val AD_spinup
./xmlchange -file env_conf.xml -id RUN_REFDATE -val 0601-01-01
./xmlchange -file env_conf.xml -id GET_REFCASE -val FALSE
./configure -case
./EXIT_spinup.tr32_pgi.build

cp ~/cesm1_0_4/output/AD_spinup/rest/0601-01-01-00000/AD_spinup.*.r*.* ~/cesm1_0_4/EXIT_spinup/run
cp ~/cesm1_0_4/output/AD_spinup/rest/0601-01-01-00000/rpointer.atm ~/cesm1_0_4/EXIT_spinup/run
cp ~/cesm1_0_4/output/AD_spinup/rest/0601-01-01-00000/rpointer.drv ~/cesm1_0_4/EXIT_spinup/run
./xmlchange -file env_run.xml -id STOP_OPTION -val nyears
./xmlchange -file env_run.xml -id STOP_N -val 1
./EXIT_spinup.tr32_pgi.run


Hope someone can help.

Thanks
Sebastian
 

slevis

Moderator
Staff member
I think you could bypass this warning by setting up this as a "startup" run and reading the same file using finidat in the clm namelist. This should not be a problem for your spinup.

Sam Levis
 
Thanks for this advice Sam Levis, I was able to run the exit spinup with the "startup" option. But in the next step, the Final_spinup I get a new error:

This is my case:



Code:
./create_newcase -case FINAL_spinup -res pt1_pt1 -compset ICN -mach tr32_pgi
cd FINAL_spinup
export SITE=3x3_tr32
./xmlchange -file env_conf.xml -id CLM_USRDAT_NAME -val $SITE
./xmlchange -file env_conf.xml -id CLM_PT1_NAME -val $SITE
./xmlchange -file env_conf.xml -id CLM_CONFIG_OPTS -val "-sitespf_pt $SITE"
./xmlchange -file env_conf.xml -id CLM_CONFIG_OPTS -val "-bgc cn" -append
./xmlchange -file env_conf.xml -id CLM_FORCE_COLDSTART -val on

echo '&clm_inparm 
finidat = "AD_spinup.clm2.r.0022-01-01-00000.nc" 
hist_nhtfrq = -8760 
/' > user_nl_clm
./configure -case




Code:
Generating resolved namelist, prestage, and build scripts
configure done.
adding clm user file defaults for var domainfile with val /home/swieneke/inputdata/atm/datm7/domain.clm/domain.lnd.3x3_tr32_navy.nc 
adding clm user file defaults for var fatmgrid with val /home/swieneke/inputdata/lnd/clm2/griddata/griddata_3x3_tr32.nc 
adding clm user file defaults for var fatmlndfrc with val /home/swieneke/inputdata/lnd/clm2/griddata/fracdata_3x3_tr32_navy.nc 
adding clm user file defaults for var fsurdat with val /home/swieneke/inputdata/lnd/clm2/surfdata/surfdata_3x3_tr32_simyr2000.nc 
adding use_case 2000_control defaults for var sim_year with val 2000 
adding use_case 2000_control defaults for var sim_year_range with val constant 
adding use_case 2000_control defaults for var stream_year_first_ndep with val 2000 
adding use_case 2000_control defaults for var stream_year_last_ndep with val 2000 
adding use_case 2000_control defaults for var use_case_desc with val Conditions to simulate 2000 land-use 
build-namelist ERROR:: setting finidat is incomptable with using start_type=cold.
ERROR: generate_resolved.csh error for lnd template
configure error: configure generated error in attempting to created resolved scripts


Is it ok for the Spinup when I switch coldstart to off?
 

slevis

Moderator
Staff member
This is a new error check. I think it means that if you set COLDSTART to ON then you must set finidat=' '.
 
Back
Top