-
Notifications
You must be signed in to change notification settings - Fork 208
the model should not point into the sorc/ directory in production runs #4731
Copy link
Copy link
Labels
nco-bugSomething isn't working in Ops.Something isn't working in Ops.
Description
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
- rename sorc/
- 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
Reactions are currently unavailable
Metadata
Metadata
Labels
nco-bugSomething isn't working in Ops.Something isn't working in Ops.
Type
Projects
Status
In Progress