Skip to content

externals update broke NEON features #2437

@wwieder

Description

@wwieder

Brief summary of bug

previously we were able to run postad cases using run_neon, but that functionality seems to have broken with externals update

General bug information

CTSM version you are using:
Feature works as intended with dev171, but is broken with dev172

Does this bug cause significantly incorrect results in the model's science? [Yes / No]
Yes, removes a helpful functionality in running neon cases

Configurations affected: [Fill this in if known.]
neon cases, but also potentially testing issues (@slevis-lmwg is noting with the sasu PR)

Details of bug

the same command using dev171 works

[~/CTSM/tools/site_and_regional] (dev172)
$./run_neon --neon-sites TOOL --run-type postad --output-root /glade/derecho/scratch/wwieder/neon_AK
---- building a base case -------
---- creating a base case -------
---- base case created ------
---- base case setup ------
---- base case build ------
--- This may take a while and you may see WARNING messages ---
WARNING: No .input_data_list files found in dir 'Buildconf'
^[[O^[[ITime required to building the base case: 427.0643048286438 s.
using this version: latest
---- cloning the base case in /glade/derecho/scratch/wwieder/neon_AK/TOOL.postad
Traceback (most recent call last):
  File "./run_neon", line 48, in <module>
    main(__doc__)
  File "/glade/u/home/wwieder/CTSM/tools/site_and_regional/../../python/ctsm/site_and_regional/run_neon.py", line 238, in main
    experiment,
  File "/glade/u/home/wwieder/CTSM/tools/site_and_regional/../../python/ctsm/site_and_regional/neon_site.py", line 299, in run_case
    self.set_ref_case(case)
  File "/glade/u/home/wwieder/CTSM/tools/site_and_regional/../../python/ctsm/site_and_regional/neon_site.py", line 356, in set_ref_case
    symlink_force(reffile, os.path.join(rundir, os.path.basename(reffile)))
  File "/glade/u/home/wwieder/CTSM/cime/CIME/utils.py", line 1473, in symlink_force
    raise e
  File "/glade/u/home/wwieder/CTSM/cime/CIME/utils.py", line 1467, in symlink_force
    os.symlink(target, link_name)
FileNotFoundError: [Errno 2] No such file or directory: '/glade/derecho/scratch/wwieder/neon_AK/TOOL.ad/run/TOOL.ad.clm2.r.1018-01-01-00000.nc' -> '/glade/derecho/scratch/wwieder/neon_AK/TOOL.postad/run/TOOL.ad.clm2.r.1018-01-01-00000.nc'

Important output or errors that show the problem

Previously noted in #2433, but creating a new issue here, as it's unrelated to the issue @TeaganKing addressed in #2435.

Metadata

Metadata

Labels

bugsomething is working incorrectlyscienceEnhancement to or bug impacting science

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions