You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a clear and concise description of the requested feature/capability.
From NCO SPA: Improve the HAFS scripts to use cpreq and cpfs production utilities at the next upgrade.
Most of the HAFS v1.0 scripts are using $NCP defined in the ush/hafs_runcmd.sh.inc to copy the data files. Suggest to define the define of NCP as the following that allows $NCP to be redefined and used in different scripts -
NCP=${NCP:-"/bin/cp -p "}
For example, allow jobs to use "cpreq" utility to copy needed input data or use "cpfs" to copy output data files to $COMOU. For example, define NCP="cpfs" in jhafs_gempak.ecf file.
Please refer to WCOSS implementaion doc, page 8 for usage of cpreq and cpfs -
cpreq is used to copy files that are essential to an application.
cpfs is used to copy files while ensuring that the whole file has been copied before it becomes accessible so that downstream applications will not attempt to copy or read a partial file.
Proposed solution
How should the new feature/capability be added? If you have thoughts on the implementation strategy, please share them here.
Status (optional)
Do you (or a colleague) plan to work on adding this feature?
Related to (optional)
Directly reference any related issues or PRs in this or other repositories, and describe how they are related. Examples:
fixed by hafs-community/hafs/pull/<pr_number>
The text was updated successfully, but these errors were encountered:
Based on the NCO SPA's suggestion, the NCP and FCP variables are defined in ush/hafs_runcmd.sh.inc. Under NCO environment, NCP is set as cpreq, FCP is set as cpfs. If desired, they can be easily override at ecf or jjob levels. Meanwhile, the jobs/scripts/ush scripts were improved to use the NCP and FCP commands properly. Please see commit: e4cf12a.
Description
Provide a clear and concise description of the requested feature/capability.
From NCO SPA: Improve the HAFS scripts to use cpreq and cpfs production utilities at the next upgrade.
Most of the HAFS v1.0 scripts are using $NCP defined in the ush/hafs_runcmd.sh.inc to copy the data files. Suggest to define the define of NCP as the following that allows $NCP to be redefined and used in different scripts -
NCP=${NCP:-"/bin/cp -p "}
For example, allow jobs to use "cpreq" utility to copy needed input data or use "cpfs" to copy output data files to $COMOU. For example, define NCP="cpfs" in jhafs_gempak.ecf file.
Please refer to WCOSS implementaion doc, page 8 for usage of cpreq and cpfs -
Proposed solution
How should the new feature/capability be added? If you have thoughts on the implementation strategy, please share them here.
Status (optional)
Do you (or a colleague) plan to work on adding this feature?
Related to (optional)
Directly reference any related issues or PRs in this or other repositories, and describe how they are related. Examples:
The text was updated successfully, but these errors were encountered: