Fix -np warning by RUN_CMD_FCST#633
Conversation
|
I ran into this as well. I found the easy fix is to put double-quotes around the value of RUN_CMD_FCST in var_defns.sh. To do that, I changed the line in setup.sh that writes RUN_CMD_FCST to var_defns.sh from
to
The single quotes around ${RUN_CMD_FCST} are so that ${PE_MEMBER01} is not expanded before writing to var_defns.sh. This is something that @mkavulich would like to be implemented in var_defns.sh, i.e. defining variables in terms of already-defined variables in that file. @chan-hoo, can you try just changing this one line (without making any other changes) and seeing if the tests work? Thanks. |
|
@gsketefian , it worked on wcoss, too. |
|
Great, thanks! Approving now. |
DESCRIPTION OF CHANGES:
Since RUN_CMD_FCST causes the warning of "-np: command not found", its expression in 'setup.sh' is changed.
TESTS CONDUCTED:
WE2E tests on WCOSS Dell:
ISSUE:
Fixes issue mentioned in #632