Skip to content

Updates for NorESM3.0#16

Open
mvdebolskiy wants to merge 49 commits intonoresmfrom
update-wrap-ocn
Open

Updates for NorESM3.0#16
mvdebolskiy wants to merge 49 commits intonoresmfrom
update-wrap-ocn

Conversation

@mvdebolskiy
Copy link
Copy Markdown
Collaborator

@mvertens @mpetrini-norce I've fixed submodules and made the merge. The only thing is that for source_cism you have to checkout the PR branch.

Katetc and others added 30 commits July 25, 2025 13:52
Updates to the namelist to support the new options in the cism_main_2.02.002 external. Also changes defaults for all configurations. Addresses Issue ESCOMP#107
Externals updates and Another rpointer pr
GrIS grid information update to match the ISMIP6 grid.
With the new GrIS grid, the tolerance between the ESMF mesh file and the
lat-lon value in the CISM input file had a difference of about 1.15e-05
which is higher than the default tolerance of 1e-05, leading to an error
and the abort of the simulation. The tolerance was raised to 2e-05 to
circumvent the problem.
New gris4 grid files for CESM3. No tag for this PR, will tag on the next.
@mvertens
Copy link
Copy Markdown

@mvdebolskiy - thanks so much for this.
@mvdebolskiy @mpetrini-norce - can I suggest that @mpetrini-norce fix the restart problems in CISM (see #12) and then once that is fixed and the PR committed we then udpate the .gitmodules here to that tag and merge this PR. Does that sound reasonable?

@mvdebolskiy
Copy link
Copy Markdown
Collaborator Author

mvdebolskiy commented May 4, 2026

@mpetrini-norce I see that you have been using old antarctica grids from ESCOMP. Is this correct? Are we not planning to use 761x761 grid that we have added last May?

Also, did you do any antarctica runs at all with your branch?

@mvdebolskiy
Copy link
Copy Markdown
Collaborator Author

    FAIL ERI_Ly11.ne30pg3_tn14_gris4.TC1850Gg.betzy_gnu.cism-cplhist_nor_ocn2glc RUN time=76
    FAIL ERS_D_Ly11.ne30pg3_tn14_ais8gris4.TC1850Gag.betzy_gnu.cism-cplhist_nor_ocn2glc SHAREDLIB_BUILD time=9
    FAIL ERS_D_Ly11.ne30pg3_tn14_ais8gris4.TC1850Gag.betzy_intel.cism-cplhist_nor_ocn2glc SHAREDLIB_BUILD time=9

@mvdebolskiy
Copy link
Copy Markdown
Collaborator Author

I assume this all is due to the fact that the original PR branch was based on ESCOMP/main from before we added ocn2glc coupling at NorESMhub and those things were reintroduced.

@mvertens
Copy link
Copy Markdown

mvertens commented May 5, 2026

I've fixed some problems - but this wrapper code continues to have problems with the aux_cism tests - particularly for Antarctica.
As an example - the following type of error occurs:

ERS_D_Ly11.ne30pg3_tn14_ais8gris4.TC1850Gag.betzy_gnu.cism-cplhist_nor_ocn2glc
* FATAL ERROR :  Dimension x1 of file /cluster/shared/noresm/inputdata/glc/cism/Antarctica/antarctica_8km_epsg3031_c20250403.nc does not match with config dimension:          761         704

The setting of the icesheet for ais has not change:
glc/cism/Antarctica/antarctica_8km_epsg3031_c20250403.nc

I changed back the following changes in namelist_definition.xml

<entry id="ewn" >
-      <value icesheet="ais"  glc_grid="ais8"   >704</value>
+      <value icesheet="ais"  glc_grid="ais8"   >761</value>
  <entry id="nsn" >
-      <value icesheet="ais"  glc_grid="ais8"   >576</value>
+      <value icesheet="ais"  glc_grid="ais8"   >761</value>
 <entry id="upn" >
-      <value icesheet="ais"  glc_grid="ais8"   >11</value>
+      <value icesheet="ais"  glc_grid="ais8"   >5</value>

The dimension mismatch has gone - but now I am getting the error:

387: At line 630 of file /cluster/projects/nn9560k/mvertens/src/noresm3_0_beta16_pr/components/cism/source_cism/libglissade/glissade_utils.F90
387: Fortran runtime error: Index '3' of dimension 2 of array 'field_2d' above upper bound of 1

@mvertens mvertens force-pushed the update-wrap-ocn branch from 726de02 to bf2711f Compare May 7, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants