Copying Data Between Hosts
In a HPC environment there is likely to be a shared filesystem, so it is not normally necessary to copy data directly between nodes in the research environment. Users simply need to place the data to be shared in their home-directory on the login node, and it will be available on all compute nodes in the same location.
If necessary, users can use the scp
command to copy files between nodes like:
scp node01:/tmp/myfile.txt . # (1)!
- Copy the file
myfile.txt
stored under/tmp/
onnode01
to thecwd
(.
) of this host
Alternatively, users could login to a host that has unshared data on and copy the data back to the shared filesystem.