-
Notifications
You must be signed in to change notification settings - Fork 66
Description
Describe the bug
We have identified an issue in the apps/wrf/readme.md
file related to the azhpc-scp
command.
The following line is causing errors when attempting to copy files to the Azure HPC cluster.
Line 15 in 4564233
azhpc-scp -r $azhpc_dir/apps/. hpcuser@headnode:. |
The resulting error message indicates that the -r flag is not recognized by azhpc-scp:
azhpc-scp -r $azhpc_dir/apps/. hpcuser@headnode:.
usage: azhpc [-h]
{build,connect,destroy,run_install,get,init,preprocess,run,scp,status,slurm_resume,slurm_suspend}
...
azhpc: error: unrecognized arguments: -r
Solution
After further testing different combinations, we have determined that adding --
before the-r
flag resolves the issue. Therefore, we recommend modifying this command in the README.md file as follows:
azhpc-scp -- -r $azhpc_dir/apps/. hpcuser@headnode:.
To Reproduce
After creating a cluster, following the the app/wrf/README.md file, attempt to copy files to the Azure HPC cluster using the command provided in the README
Additional context
Another way around this is using a simple scp -r
.