Skip to content

ctsm5.3.022: Bring in changes needed for the ifx compiler#3786

Merged
ekluzek merged 49 commits intomasterfrom
ifx
Mar 4, 2026
Merged

ctsm5.3.022: Bring in changes needed for the ifx compiler#3786
ekluzek merged 49 commits intomasterfrom
ifx

Conversation

@ekluzek
Copy link
Collaborator

@ekluzek ekluzek commented Feb 27, 2026

Description of changes

Updates ccs_config to 1.0.75 which has the new ifx compiler in use for derecho_intel, as well as updating to using ESMF8.9.0. This exposed problems in the code on two fronts when running with DEBUG mode:

  • Reliance on short-circuiting in if statements
  • Problems with NaN's, in datasets especially _FillValue

For the former, we changed code to break up if statements so this would work. And with the latter we point to new datasets with the NaN's handled. mosart and cdeps code also had short-circuiting problems.

Includes updating submodules: ccs_config, cdeps, mosart

Specific notes

Contributors other than yourself, if any: @samsrabin @billsacks

CTSM Issues Fixed (include github issue #):
work on #3764
work on #3775
Fixes #3794

Are answers expected to change (and if so in what way)? Yes!
We expect answers to be roundoff level different. But, there could be compiler bugs that create optimization issues beyond that.
So we do need to evaluate to make sure the climate is the same

Any User Interface Changes (namelist or namelist defaults changes)? Yes
input datasets changed to remove NaN's especially in _FillValue

Does this create a need to change or add documentation? Did you do so? No No

Testing performed, if any: I ran almost all of the test lists on Derecho in the starting PR
There are fails that need to be resolved before this comes in
The CDEPS tag also needs to point to a tag rather than a personal branch

@ekluzek ekluzek self-assigned this Feb 27, 2026
@ekluzek ekluzek added enhancement new capability or improved behavior of existing capability code health improving internal code structure to make easier to maintain (sustainability) science Enhancement to or bug impacting science non-bfb Changes answers (incl. adding tests) labels Feb 27, 2026
@github-project-automation github-project-automation bot moved this to Ready to start (or start again) in CTSM: Upcoming tags Feb 27, 2026
@ekluzek ekluzek moved this from Ready to start (or start again) to In progress - master in CTSM: Upcoming tags Feb 27, 2026
samsrabin added 13 commits March 1, 2026 10:30
…pdata/calendars/processed/sdates_ggcmi_crop_calendar_phase3_v1.01_nninterp-hcru_hcru_mt13.2000-2000.20230728_165845.tweaked_latlons.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/cropdata/calendars/processed/sdates_ggcmi_crop_calendar_phase3_v1.01_nninterp-hcru_hcru_mt13.2000-2000.20230728_165845.tweaked_latlons.no_nan_fill.nc'; new fill values:
    Deleted fill: lat, lat_tweak, lon, lon_tweak, time

Path updated in:
    cime_config/testdefs/testmods_dirs/clm/GddGen/user_nl_clm
    cime_config/testdefs/testmods_dirs/clm/nnStreamMapAlgo/user_nl_clm
…amdata/ctsm60_ceta450_cn30_co2_slope30.c250326.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/paramdata/ctsm60_ceta450_cn30_co2_slope30.c250326.no_nan_fill.nc'; new fill values:
    jmaxb0: -999.0
    jmaxb1: -999.0
    Deleted unused fill from 387 variables

Path updated in:
    cime_config/testdefs/testmods_dirs/clm/leafcn_t_evolving/user_nl_clm
…amdata/ctsm60_ciso_cwd_hr_params.c250311.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/paramdata/ctsm60_ciso_cwd_hr_params.c250311.no_nan_fill.nc'; new fill values:
    jmaxb0: -999.0
    jmaxb1: -999.0
    Deleted unused fill from 387 variables

Path updated in:
    cime_config/testdefs/testmods_dirs/clm/ciso_cwd_hr/user_nl_clm
…amdata/ctsm60_params_cn30.c250311.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/paramdata/ctsm60_params_cn30.c250311.no_nan_fill.nc'; new fill values:
    jmaxb0: -999.0
    jmaxb1: -999.0
    Deleted unused fill from 387 variables

Path updated in:
    cime_config/testdefs/testmods_dirs/clm/clm60_monthly_matrixcn_soilCN30/user_nl_clm
…fdata_esmf/ctsm5.4.0/synthetic/landuse.timeseries_1x1_smallvilleIA_synth_1850-1855_78pfts_dynLakes_c251023.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/surfdata_esmf/ctsm5.4.0/synthetic/landuse.timeseries_1x1_smallvilleIA_synth_1850-1855_78pfts_dynLakes_c251023.no_nan_fill.nc'; new fill values:
    Deleted unused fill from 23 variables

Path updated in:
    cime_config/testdefs/testmods_dirs/clm/smallville_dynlakes_monthly/user_nl_clm
…fdata_esmf/ctsm5.4.0/synthetic/landuse.timeseries_1x1_smallvilleIA_synth_1850-1855_78pfts_dynUrban_c251023.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/surfdata_esmf/ctsm5.4.0/synthetic/landuse.timeseries_1x1_smallvilleIA_synth_1850-1855_78pfts_dynUrban_c251023.no_nan_fill.nc'; new fill values:
    Deleted unused fill from 23 variables

Path updated in:
    cime_config/testdefs/testmods_dirs/clm/smallville_dynurban_monthly/user_nl_clm
…pdata/calendars/processed/20230714_cropcals_pr2_1deg.actually2deg.1980-2009.from_GDDB20.interpd_halfdeg.tweaked_latlons.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/cropdata/calendars/processed/20230714_cropcals_pr2_1deg.actually2deg.1980-2009.from_GDDB20.interpd_halfdeg.tweaked_latlons.no_nan_fill.nc'; fill values:
    All gdd20bl_* variables: -999.0
    Deleted fill: lat, lat_tweak, lon, lon_tweak

Path updated in:
    bld/namelist_files/namelist_defaults_ctsm.xml
…pdata/calendars/processed/360x720_120830_ESMFmesh_c20210507_cdf5.tweaked_latlons.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/cropdata/calendars/processed/360x720_120830_ESMFmesh_c20210507_cdf5.tweaked_latlons.no_nan_fill.nc'; fill values:
    Deleted fill: centerCoords, nodeCoords

Path updated in:
    bld/namelist_files/namelist_defaults_ctsm.xml
…pdata/calendars/processed/cultivar_gdds.c251211.tweaked_latlons.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/cropdata/calendars/processed/cultivar_gdds.c251211.tweaked_latlons.no_nan_fill.nc'; fill values:
    Deleted unused fill from 68 variables

Path updated in:
    bld/namelist_files/namelist_defaults_ctsm.xml
…pdata/calendars/processed/gdd20_baseline.c251120.tweaked_latlons.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/cropdata/calendars/processed/gdd20_baseline.c251120.tweaked_latlons.no_nan_fill.nc'; fill values:
    All gdd20bl_* variables: -999.0
    Deleted fill: lat, lat_tweak, lon, lon_tweak, patches1d_ixy, patches1d_jxy

Path updated in:
    bld/namelist_files/namelist_defaults_ctsm.xml
…pdata/calendars/processed/gdd20bl.copied_from.gdds_20230829_161011.v2.tweaked_latlons.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/cropdata/calendars/processed/gdd20bl.copied_from.gdds_20230829_161011.v2.tweaked_latlons.no_nan_fill.nc'; fill values:
    Deleted unused fill from 68 variables

Path updated in:
    bld/namelist_files/namelist_defaults_ctsm.xml
…pdata/calendars/processed/gdds_20230829_161011.tweaked_latlons.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/cropdata/calendars/processed/gdds_20230829_161011.tweaked_latlons.no_nan_fill.nc'; fill values:
    Deleted unused fill from 68 variables

Path updated in:
    bld/namelist_files/namelist_defaults_ctsm.xml
samsrabin added 17 commits March 1, 2026 13:36
…fdata_esmf/ctsm5.4.0/surfdata_1x1_brazil_hist_1850_78pfts_c251023.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/surfdata_esmf/ctsm5.4.0/surfdata_1x1_brazil_hist_1850_78pfts_c251023.no_nan_fill.nc'; fill values:
    Deleted unused fill from 79 variables

Path updated in:
    bld/namelist_files/namelist_defaults_ctsm.xml
…fdata_esmf/ctsm5.4.0/surfdata_1x1_brazil_hist_2000_78pfts_c251023.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/surfdata_esmf/ctsm5.4.0/surfdata_1x1_brazil_hist_2000_78pfts_c251023.no_nan_fill.nc'; fill values:
    Deleted unused fill from 79 variables

Path updated in:
    bld/namelist_files/namelist_defaults_ctsm.xml
…fdata_esmf/ctsm5.4.0/surfdata_1x1_mexicocityMEX_hist_2000_78pfts_c251023.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/surfdata_esmf/ctsm5.4.0/surfdata_1x1_mexicocityMEX_hist_2000_78pfts_c251023.no_nan_fill.nc'; fill values:
    Deleted unused fill from 79 variables

Path updated in:
    bld/namelist_files/namelist_defaults_ctsm.xml
…fdata_esmf/ctsm5.4.0/surfdata_1x1_numaIA_hist_2000_78pfts_c251023.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/surfdata_esmf/ctsm5.4.0/surfdata_1x1_numaIA_hist_2000_78pfts_c251023.no_nan_fill.nc'; fill values:
    Deleted unused fill from 79 variables

Path updated in:
    bld/namelist_files/namelist_defaults_ctsm.xml
…fdata_esmf/ctsm5.4.0/surfdata_1x1_vancouverCAN_hist_2000_78pfts_c251023.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/surfdata_esmf/ctsm5.4.0/surfdata_1x1_vancouverCAN_hist_2000_78pfts_c251023.no_nan_fill.nc'; fill values:
    Deleted unused fill from 79 variables

Path updated in:
    bld/namelist_files/namelist_defaults_ctsm.xml
…fdata_esmf/ctsm5.4.0/synthetic/landuse.timeseries_1x1_smallvilleIA_synth_1850-1855_78pfts_c251023.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/surfdata_esmf/ctsm5.4.0/synthetic/landuse.timeseries_1x1_smallvilleIA_synth_1850-1855_78pfts_c251023.no_nan_fill.nc'; fill values:
    Deleted unused fill from 27 variables

Path updated in:
    bld/namelist_files/namelist_defaults_ctsm.xml
…fdata_esmf/ctsm5.4.0/synthetic/surfdata_1x1_cidadinhoBR_synth_hist_2000_78pfts_c251023.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/surfdata_esmf/ctsm5.4.0/synthetic/surfdata_1x1_cidadinhoBR_synth_hist_2000_78pfts_c251023.no_nan_fill.nc'; fill values:
    Deleted unused fill from 79 variables

Path updated in:
    bld/namelist_files/namelist_defaults_ctsm.xml
…fdata_esmf/ctsm5.4.0/synthetic/surfdata_1x1_smallvilleIA_synth_hist_1850_78pfts_c251023.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/surfdata_esmf/ctsm5.4.0/synthetic/surfdata_1x1_smallvilleIA_synth_hist_1850_78pfts_c251023.no_nan_fill.nc'; fill values:
    Deleted unused fill from 79 variables

Path updated in:
    bld/namelist_files/namelist_defaults_ctsm.xml
…fdata_esmf/ctsm5.4.0/synthetic/surfdata_1x1_urbanc_alpha_synth_hist_2000_78pfts_c251023.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/surfdata_esmf/ctsm5.4.0/synthetic/surfdata_1x1_urbanc_alpha_synth_hist_2000_78pfts_c251023.no_nan_fill.nc'; fill values:
    Deleted unused fill from 80 variables

Path updated in:
    bld/namelist_files/namelist_defaults_ctsm.xml
…fdata_map/fates-sci.1.68.3_api.31.0.0_tools.1.0.1/LUH2_states_transitions_management.timeseries_4x5_hist_simyr0850-2015_c240216.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/surfdata_map/fates-sci.1.68.3_api.31.0.0_tools.1.0.1/LUH2_states_transitions_management.timeseries_4x5_hist_simyr0850-2015_c240216.no_nan_fill.nc'; fill values:
    c3ann: -999.0
    9 c3ann_to_* vars: -999.0
    c3nfx: -999.0
    9 c3nfx_to_* vars: -999.0
    c3per: -999.0
    9 c3per_to_* vars: -999.0
    c4ann: -999.0
    9 c4ann_to_* vars: -999.0
    c4per: -999.0
    9 c4per_to_* vars: -999.0
    combf: -999.0
    5 crpbf_* vars: -999.0
    5 fertl_* vars: -999.0
    5 fertl_* vars: -999.0
    fharv_c3per: -999.0
    fharv_c4per: -999.0
    flood: -999.0
    fulwd: -999.0
    5 irrig_* vars: -999.0
    pastr: -999.0
    9 pastr_to_* vars: -999.0
    primf: -999.0
    primf_bioh: -999.0
    primf_harv: -999.0
    9 primf_to_* vars: -999.0
    primn: -999.0
    primn_bioh: -999.0
    primn_harv: -999.0
    9 primn_to_* vars: -999.0
    range: -999.0
    9 range_to_* vars: -999.0
    rndwd: -999.0
    secdf: -999.0
    9 secdf_to_* vars: -999.0
    secdn: -999.0
    9 secdn_to_* vars: -999.0
    secma: -999.0
    secmb: -999.0
    secmf_bioh: -999.0
    secmf_harv: -999.0
    secnf_bioh: -999.0
    secnf_harv: -999.0
    secyf_bioh: -999.0
    secyf_harv: -999.0
    stscf: -999.0
    urban: -999.0
    9 urban_to_* vars: -999.0
    Deleted fill: LATIXY, LONGXY, YEAR, lat, lon, time

Path updated in:
    bld/namelist_files/namelist_defaults_ctsm.xml
…fdata_map/fates-sci.1.68.3_api.31.0.0_tools.1.0.1/LUH2_states_transitions_management.timeseries_4x5_hist_simyr1850-2015_c231101.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/surfdata_map/fates-sci.1.68.3_api.31.0.0_tools.1.0.1/LUH2_states_transitions_management.timeseries_4x5_hist_simyr1850-2015_c231101.no_nan_fill.nc'; fill values:
    154 variables: -999.0
    Deleted fill: LATIXY, LONGXY, YEAR, lat, lon, time

Path updated in:
    bld/namelist_files/namelist_defaults_ctsm.xml
…fdata_map/fates-sci.1.77.0_api.36.0.0/fates_landuse_pft_map_4x5_240206.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/surfdata_map/fates-sci.1.77.0_api.36.0.0/fates_landuse_pft_map_4x5_240206.no_nan_fill.nc'; fill values:
    frac_brgnd: -999.0
    frac_csurf: -999.0
    frac_pastr: -999.0
    frac_primr: -999.0
    frac_range: -999.0
    frac_secnd: -999.0
    Deleted fill: lat, lon

Path updated in:
    bld/namelist_files/namelist_defaults_ctsm.xml
…erp-hcru_hcru_mt13.2000-2000.20230728_165845.tweaked_latlons.nc with no-nan-fills version.
…tdata/surfdata_10x15_hist_1850_78pfts_c240216.synth_hillslopes_241001.nc'.

New file '$CESMDATAROOT/cseg/inputdata/lnd/clm2/testdata/surfdata_10x15_hist_1850_78pfts_c240216.synth_hillslopes_241001.no_nan_fill.nc'; fill values:
    Deleted fill: LATIXY, LONGXY

Path updated in:
    cime_config/testdefs/testmods_dirs/clm/Hillslope/shell_commands
@ekluzek ekluzek marked this pull request as ready for review March 3, 2026 20:53
@ekluzek
Copy link
Collaborator Author

ekluzek commented Mar 3, 2026

We will most likely bring this in as it is at this point. There are more changes that will need to come in later, but are needed for specific CTSM configurations and not the coupled model.

@ekluzek
Copy link
Collaborator Author

ekluzek commented Mar 4, 2026

Whoops wrong PR for the last message,

@ekluzek ekluzek merged commit 059d708 into master Mar 4, 2026
7 checks passed
@github-project-automation github-project-automation bot moved this from In progress - master to Done (non release/external) in CTSM: Upcoming tags Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code health improving internal code structure to make easier to maintain (sustainability) enhancement new capability or improved behavior of existing capability non-bfb Changes answers (incl. adding tests) science Enhancement to or bug impacting science

Projects

Status: Done (non release/external)
Status: Done

Development

Successfully merging this pull request may close these issues.

Update to ccs_config1.0.75 with move to ifx compiler

2 participants