Skip to content

Long output filename being truncated #72

Description

@fischer-ncar

Description of the issue:

Ran into an issue during testing where long output filenames for pop.dd, pop.do, pop.dt, and pop.dv are being
truncated.
ERS_Vmct.f09_g17.1850_CAM60_CLM50%BGC-CROP_CICE5_POP2%ECO_MOSART_CISM2%GRIS-NOEVOLVE_WW3_BGC%BDRD.cheyenne_intel.allactive-defaultio.GC_D_c2_3_a09c_intel.pop.dd.0001-01-0
ERS_Vmct.f09_g17.1850_CAM60_CLM50%BGC-CROP_CICE5_POP2%ECO_MOSART_CISM2%GRIS-NOEVOLVE_WW3_BGC%BDRD.cheyenne_intel.allactive-defaultio.GC_D_c2_3_a09c_intel.pop.do.0001-01-0
ERS_Vmct.f09_g17.1850_CAM60_CLM50%BGC-CROP_CICE5_POP2%ECO_MOSART_CISM2%GRIS-NOEVOLVE_WW3_BGC%BDRD.cheyenne_intel.allactive-defaultio.GC_D_c2_3_a09c_intel.pop.dt.0001-01-0
ERS_Vmct.f09_g17.1850_CAM60_CLM50%BGC-CROP_CICE5_POP2%ECO_MOSART_CISM2%GRIS-NOEVOLVE_WW3_BGC%BDRD.cheyenne_intel.allactive-defaultio.GC_D_c2_3_a09c_intel.pop.dv.0001-01-0

There should be 0001-01-0000 at the end of the files.

These files are in

/glade/scratch/fischer/t/cesm2_3_alpha09c_alpha_intel/ERS_Vmct.f09_g17.1850_CAM60_CLM50%BGC-CROP_CICE5_POP2%ECO_MOSART_CISM2%GRIS-NOEVOLVE_WW3_BGC%BDRD.cheyenne_intel.allactive-defaultio.GC_D_c2_3_a09c_intel/run

So combine the filename and the directory, you get a string of 383 characters.

The command used to create the test is

./create_test ERS_Vmct.f09_g17.1850_CAM60_CLM50%BGC-CROP_CICE5_POP2%ECO_MOSART_CISM2%GRIS-NOEVOLVE_WW3_BGC%BDRD.cheyenne_intel.allactive-defaultio --test-root /glade/scratch/fischer/t/cesm2_3_alpha09c_alpha_intel/ --output-root /glade/scratch/fischer/t/cesm2_3_alpha09c_alpha_intel/ --test-id GC_D_c2_3_a09c_intel

Which is very similar to a prealpha test.

Version:

  • CESM: cesm2_3_alpha09c
  • POP2: cesm_pop_2_1_20220322

Machine/Environment Description:

cheyenne_intel

Any xml/namelist changes or SourceMods:

allactive-defaultio test mods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions