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/

Weird problem with compset H running

Hi,I have been trying to run a CICE and OCEAN coupled model forced by CORE2, so I chose 'H' componet sets, shown as below./create_newcase -case test3 -res T62_g37 -compset H -mach cheetahThe model has been built successfully without any warning. However, it always unexpectly terminates after running. I checking log files, and noticed a weird thing: each time I submit the job, the 'ice_in' file under the 'run' directory always update
ice_ic = '/home/shane/CESM/inputdata/ice/cice/iced.0001-01-01.gx3v7_20080212'where /home/shane/CESM/inputdata is the directory I set for automatically downloading necessary grid/atmosphric force data. There is no /ice folder, why the model always asks for this non-exist restart file? It should be 'default' according the explanation of 'ice_ic'.
Therefore, ccsm.log file always reports the error:
--------------------CalcWorkPerBlock: Total blocks:   290 Ice blocks:   113 IceFree blocks:   147 Land blocks:    30
At line 86 of file /home/shane/CESM/cesm1_1_1/models/ice/cice/src/source/ice_read_write.F90 (unit = 83, file = '颧枱?')
Fortran runtime error: File '/home/shane/CESM/inputdata/ice/cice/iced.0001-01-01.gx3v7_20080212' does not exist---------------------
I checked all posible xml files and even change    in env_run.xml file. It doesn't work! Now I am desperate and scratch my head. Did I do anything wrong? Or it is a bug?
Shane


 
Look, what I am going to say is just a guess. Actually I did not find CICE documentation easily on CESM documentation files.Your complaint is just that the comp set H does not bring CICE initial data out of the box using the automated download procedure? It does not seem cesm complains about a missing restart file but a missing initial condition file which seems is the problem disallowing the model to run.
 

dbailey

CSEG and Liaisons
Staff member
A couple things. First, what tag/version are you using? We do not routinely test or look at the H compset. I'm not even sure why it is there. I would highly recommend using the G compset instead. This message simply means that you have not exported this CICE initial file from the inputdata repository. Try re-running the check_input_data script.Dave
 

dbailey

CSEG and Liaisons
Staff member
Actually, there does appear to be a bug in the input_data list generation as of CESM1.1. It is not finding the CICE initial files for some reason. I need to look into this further. For now add the following to cice.input_data_list in Buildconf:grid_file = $DIN_LOC_ROOT/ocn/pop/gx3v7/grid/horiz_grid_20030806.ieeer8kmt_file = $DIN_LOC_ROOT/ocn/pop/gx3v7/grid/topography_20100105.ieeei4ice_ic = $DIN_LOC_ROOT/ice/cice/iced.0001-01-01.gx3v7_20080212Dave
 
Thank you, Dave and Avenger -- Your timely reply saves me a whole night!I'll keep trying CICE+POP model. Version is 1.1.1.Just a quick question: what's the difference b.w. G, GIAF, and H compsets? I tried G first and found the problem and moved to H, but same thing happened.Anyway, the explanation of G and H are quite confusing. On http://www.cesm.ucar.edu/models/cesm1.1/cesm/doc/usersguide_new/x51.html#ccsm_component_sets, it said G needs datm and drof, H only needs datm. Since I don't want drof at this stage, I selected H.However, on http://www.cesm.ucar.edu/models/cesm1.1/cesm/doc/modelnl/compsets.html, G: Coupled ocean ice with COREv2 normal year forcingGIAF: Coupled ocean ice with COREv2 interannual forcingH: Coupled ocean ice slndThese descriptions are not consistant and complete. Also I confused by "interannual forcing" data and "normal year forcing". Any difference?What I want is a coupled CICE+POP model forced by CORE2 data, probably 1900-2000. So which compset is good for me?Shane 
 

dbailey

CSEG and Liaisons
Staff member
I just learned today what the H compset was for. It is meant to be used when one wants zero runoff, i.e. it is supposed to use the stub runoff component (SRNF). However, the H compset in CESM 1.1.1 is identical to G_NORMAL_YEAR or G. I would highly recommend you stick with the G compset. For information on the normal year versus the interannual forcing, I recommend you start here:http://www.cesm.ucar.edu/models/cesm1.1/pop2/doc/faq/
 
Dave, I tried your method to add three items in cice.input_data_list,used G config,  >./create_newcase -case test3 -res T62_g37 -compset G -mach cheetah it doesn't work. Every time I update the file and rebuild the model, this file will automatically become empty files. So I have to download the /ice/cice/iced.0001-01-01.gx3v7_20080212 manually. However, some running error generated in ccsm.log, see the attached txt file.
Please give me some hints how to fix it. Thanks! shane  
 

dbailey

CSEG and Liaisons
Staff member
O.k. we are working on a fix. I was hoping that manually adding the names to the input data list would work. So, go to your inputdata area to $DIN_LOC_ROOT/ice/cice and do the following:svn export https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ice/cice/iced.0001-01-01.gx3v7_20080212Then go to $DIN_LOC_ROOT/ocn/pop/gx3v7/grid and do:svn export https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ocn/pop/gx3v7/grid/topography_20100105.ieeei4svn export https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ocn/pop/gx3v7/grid/horiz_grid_20030806.ieeer8The password is the same as you used to download the code originally.Dave
 

dbailey

CSEG and Liaisons
Staff member
O.k. we are working on a fix. I was hoping that manually adding the names to the input data list would work. So, go to your inputdata area to $DIN_LOC_ROOT/ice/cice and do the following:svn export https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ice/cice/iced.0001-01-01.gx3v7_20080212Then go to $DIN_LOC_ROOT/ocn/pop/gx3v7/grid and do:svn export https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ocn/pop/gx3v7/grid/topography_20100105.ieeei4svn export https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ocn/pop/gx3v7/grid/horiz_grid_20030806.ieeer8The password is the same as you used to download the code originally.Dave
 

dbailey

CSEG and Liaisons
Staff member
O.k. we are working on a fix. I was hoping that manually adding the names to the input data list would work. So, go to your inputdata area to $DIN_LOC_ROOT/ice/cice and do the following:svn export https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ice/cice/iced.0001-01-01.gx3v7_20080212Then go to $DIN_LOC_ROOT/ocn/pop/gx3v7/grid and do:svn export https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ocn/pop/gx3v7/grid/topography_20100105.ieeei4svn export https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ocn/pop/gx3v7/grid/horiz_grid_20030806.ieeer8The password is the same as you used to download the code originally.Dave
 
I did it last night, seems the file can be found, but the model failed due to some 'divide by zero' errors! Please see my last attached log file. Our server guy thought it could be a model program problem?--------------------------------Also I report that when using D compset (I'm trying a CICE model only for fun), it keeps asking two files that do not exist:$ ./check_input_data -inputdata /home/xin.miao/CESM/inputdata -export
Input Data List Files Found:
./Buildconf/cpl.input_data_list
./Buildconf/datm.input_data_list
./Buildconf/cice.input_data_list
./Buildconf/docn.input_data_list
./Buildconf/drof.input_data_list
svn: URL 'https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ocn/docn7/SOM/UNSET' non-existent in that revision
File was not found in svn repo: https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ocn/docn7/SOM/UNSET
svn: URL 'https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ocn/docn7/SOM/UNSET' non-existent in that revision
File was not found in svn repo: https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ocn/docn7/SOM/UNSET

Shane
 
I did it last night, seems the file can be found, but the model failed due to some 'divide by zero' errors! Please see my last attached log file. Our server guy thought it could be a model program problem?--------------------------------Also I report that when using D compset (I'm trying a CICE model only for fun), it keeps asking two files that do not exist:$ ./check_input_data -inputdata /home/xin.miao/CESM/inputdata -export
Input Data List Files Found:
./Buildconf/cpl.input_data_list
./Buildconf/datm.input_data_list
./Buildconf/cice.input_data_list
./Buildconf/docn.input_data_list
./Buildconf/drof.input_data_list
svn: URL 'https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ocn/docn7/SOM/UNSET' non-existent in that revision
File was not found in svn repo: https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ocn/docn7/SOM/UNSET
svn: URL 'https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ocn/docn7/SOM/UNSET' non-existent in that revision
File was not found in svn repo: https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ocn/docn7/SOM/UNSET

Shane
 
I did it last night, seems the file can be found, but the model failed due to some 'divide by zero' errors! Please see my last attached log file. Our server guy thought it could be a model program problem?--------------------------------Also I report that when using D compset (I'm trying a CICE model only for fun), it keeps asking two files that do not exist:$ ./check_input_data -inputdata /home/xin.miao/CESM/inputdata -export
Input Data List Files Found:
./Buildconf/cpl.input_data_list
./Buildconf/datm.input_data_list
./Buildconf/cice.input_data_list
./Buildconf/docn.input_data_list
./Buildconf/drof.input_data_list
svn: URL 'https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ocn/docn7/SOM/UNSET' non-existent in that revision
File was not found in svn repo: https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ocn/docn7/SOM/UNSET
svn: URL 'https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ocn/docn7/SOM/UNSET' non-existent in that revision
File was not found in svn repo: https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/ocn/docn7/SOM/UNSET

Shane
 

dbailey

CSEG and Liaisons
Staff member
The D compset is a whole other issue. This involves using the data ocean slab model. I recommend starting here for that:http://www.cesm.ucar.edu/models/cesm1.1/data8/doc/x362.htmlI will talk to some of the software engineers about your other issue, but this looks like an MPI/OpenMP issue.Dave
 

dbailey

CSEG and Liaisons
Staff member
This does appear to be a POP initialization problem, perhaps in the overflow parameterization. What are the init_ts_nml variables set to in CaseDocs/pop2_in? Also, do you have all of the appropriate initial files for POP in $DIN_LOC_ROOT/ocn/pop/gx3v7/ic?Dave
 
I have the same problem with compset BG1850CN. It doesn't create and download the cice directory and iced.0001-01-01.gx3v7_20080212 file, but the above lines could sovle the problem. But again, that's something I have to do each time I'm setting up a similar run.
 
Top