What version of the code are you using?
- CESM staff members will mainly provide answers for supported model versions, as outlined in the CESM support policy, and can only provide limited help for versions that are no longer supported. You may ask questions about unsupported versions, but may need to rely on community answers.
- For CESM2.1.2 onwards run the script ./describe_version from the top level of your CESM clone to find the version
- From older model versions, provide the output from running the following commands from the top level of your CESM clone
> git describe
> ./manage_externals/checkout_externals --status --verbose
cesm3_0_beta05-1-g8e7888c in
/glade/work/raeder/Models/cesm3_0_beta05
Have you made any changes to files in the source tree?
- Describe any changes (code, xml files, etc.)
I installed and then removed a DART_interface (developed using POP as an example), which made and used a components/dart directory.
I modified config_archive.xml files; I haven't reached the point of trying to use them yet.
Describe every step you took leading up to the problem:
On derecho:
Downloaded CESM from ESCOMP and checked out the cesm3_0_beta05 tag
Ran git-fleximod.
$ setenv cesmroot /glade/work/raeder/Models/cesm3_0_beta05
$ setenv CIMEROOT /glade/work/raeder/Models/cesm3_0_beta05/cime
$ /glade/work/raeder/Models/cesm3_0_beta05/cime/scripts/create_newcase
--case /glade/work/raeder/Exp/St_MOM_1inst
--machine derecho
--res f19_g17_r05
--project P86850054
--queue main
--walltime 0:10
--pecount 128x1
--ninst 1
-d
--compset G_JRA_RYF
--run-unsupported # This was left over from previous attempts with other compsets. Could it be a problem?
This appeared to work, and it instructed me to run case.setup:
2025-03-17 11:52:25: case.setup starting
---------------------------------------------------
2025-03-17 11:52:27: case.setup success
When I tried to build the case:
2025-03-17 11:53:30: case.build starting
---------------------------------------------------
2025-03-17 11:53:35: case.build error
'DO_GEOTHERMAL
Describe your problem or question:
I've tracked the problem about as far as I can, and am hoping someone can provide context and maybe point to a "user error".
DO_GEOTHERMAL is successfully read from MOM_input.json in MOM's buildnml:prep_input:
and apparently no default is set to handle that case, despite what 'description' says.
So DO_GEOTHERMAL is not written to the MOM_input namelist and is not available to fill in $DO_GEOTHERMAL variables,
which happens during the recursive processing of namelist entries. That's when the actual failure happens.
When I add DO_GEOTHERMAL to a user_nl_mom file in my CASEROOT, then the build proceeds to the next variable which has value "None".
There are up to several hundred of these, so I'm guessing that there's some sort of missing initialization procedure,
to give these variables default values in a place where they can be found when needed.
- CESM staff members will mainly provide answers for supported model versions, as outlined in the CESM support policy, and can only provide limited help for versions that are no longer supported. You may ask questions about unsupported versions, but may need to rely on community answers.
- For CESM2.1.2 onwards run the script ./describe_version from the top level of your CESM clone to find the version
- From older model versions, provide the output from running the following commands from the top level of your CESM clone
> git describe
> ./manage_externals/checkout_externals --status --verbose
cesm3_0_beta05-1-g8e7888c in
/glade/work/raeder/Models/cesm3_0_beta05
Have you made any changes to files in the source tree?
- Describe any changes (code, xml files, etc.)
I installed and then removed a DART_interface (developed using POP as an example), which made and used a components/dart directory.
I modified config_archive.xml files; I haven't reached the point of trying to use them yet.
Describe every step you took leading up to the problem:
On derecho:
Downloaded CESM from ESCOMP and checked out the cesm3_0_beta05 tag
Ran git-fleximod.
$ setenv cesmroot /glade/work/raeder/Models/cesm3_0_beta05
$ setenv CIMEROOT /glade/work/raeder/Models/cesm3_0_beta05/cime
$ /glade/work/raeder/Models/cesm3_0_beta05/cime/scripts/create_newcase
--case /glade/work/raeder/Exp/St_MOM_1inst
--machine derecho
--res f19_g17_r05
--project P86850054
--queue main
--walltime 0:10
--pecount 128x1
--ninst 1
-d
--compset G_JRA_RYF
--run-unsupported # This was left over from previous attempts with other compsets. Could it be a problem?
This appeared to work, and it instructed me to run case.setup:
2025-03-17 11:52:25: case.setup starting
---------------------------------------------------
2025-03-17 11:52:27: case.setup success
When I tried to build the case:
2025-03-17 11:53:30: case.build starting
---------------------------------------------------
2025-03-17 11:53:35: case.build error
'DO_GEOTHERMAL
Describe your problem or question:
I've tracked the problem about as far as I can, and am hoping someone can provide context and maybe point to a "user error".
DO_GEOTHERMAL is successfully read from MOM_input.json in MOM's buildnml:prep_input:
But the 'value' is 'None' because the grid I'm trying to use is not one of the two listed,'DO_GEOTHERMAL': {'description': '"[Boolean] default = FalsenIf true, apply geothermal heating."n', 'datatype': 'logical', 'units': 'Boolean', 'value': {'$OCN_GRID == "tx2_3v2"': True, '$OCN_GRID == "tx0.25v1"': True}},
and apparently no default is set to handle that case, despite what 'description' says.
So DO_GEOTHERMAL is not written to the MOM_input namelist and is not available to fill in $DO_GEOTHERMAL variables,
which happens during the recursive processing of namelist entries. That's when the actual failure happens.
When I add DO_GEOTHERMAL to a user_nl_mom file in my CASEROOT, then the build proceeds to the next variable which has value "None".
There are up to several hundred of these, so I'm guessing that there's some sort of missing initialization procedure,
to give these variables default values in a place where they can be found when needed.