Skip to content

the model should not point into the sorc/ directory in production runs #4731

@CarlosMDiaz-NCO

Description

@CarlosMDiaz-NCO

What is wrong?

Jobs runs should not have any dependencies on the sorc/ directory. Jobs should complete normally even if the entire sorc/ directory is removed. Currently there are several spots that are looking into sorc/
On a quick grep for "sorc/" I found several ecf scripts in setting PYTHONPATH or LD_LIBRARY_PATH, as well as the following scripts:

modulefiles/gw_upp.wcoss2.lua:6:prepend_path("MODULEPATH", pathJoin(homegfs,"/sorc/ufs_model.fd/UFSATM/upp/modulefiles"))
ush/forecast_predet.sh:248:    local suite_file="${HOMEglobal}/sorc/ufs_model.fd/UFSATM/ccpp/suites/suite_${CCPP_SUITE}.xml"
ush/parsing_ufs_configure.sh:128:    cpreq "${HOMEglobal}/sorc/ufs_model.fd/tests/parm/fd_ufs.yaml" fd_ufs.yaml

What should have happened?

Any needed fixed files should be in fix/ or parm/

Steps to reproduce

  1. rename sorc/
  2. run a cycle

Bugzilla issue

No response

Additional information

grepping the logs the forecasts seems to reference xml and yaml files, e.g.:

gcafs_forecast_00.o105297970:+ parsing_ufs_configure.sh[128]cpreq /lfs/h1/ops/para/packages/gcafs.v1.0.0/sorc/ufs_model.fd/tests/parm/fd_ufs.yaml fd_ufs.yaml
gcafs_forecast_00.o105297970:+ cpreq[3]cp /lfs/h1/ops/para/packages/gcafs.v1.0.0/sorc/ufs_model.fd/tests/parm/fd_ufs.yaml fd_ufs.yaml

Do you have a proposed solution?

move needed files into fix or parm

Metadata

Metadata

Labels

nco-bugSomething isn't working in Ops.

Type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions