Closed jiaruidong2017 closed 2 months ago
@jiaruidong2017
The setup_xml.py
script sources the bash config files and extracts those settings from the underlying user env.
If a key such as HOMEgfs
exists in the underlying user env., it is removed.
This is a known feature/bug (depending on who you ask) of the workflow configuration. If we retain users underlying environment variables, it makes it difficult to trace the source of the configuration.
Thanks for reporting this issue.
What is wrong?
My script can successfully setup the g-w experiment previously. But recently, the script crashed with the error messages below:
What should have happened?
The script crashed and setup failed.
What machines are impacted?
Hera
Steps to reproduce
Run the script on hera:
/scratch1/NCEPDEV/global/Jiarui.Dong/JEDI/GlobalWorkflow/tools/setup_exp_fail.sh
Additional information
NA
Do you have a proposed solution?
Thanks @RussTreadon-NOAA for his suggestion. As suggested, when I changed from "
export HOMEgfs=
" to "HOMEgfs=
", it successfully built the g-w experiment. I open this issue to alert this behavior.