This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision |
abstract:farber:transfer [2018-05-23 11:53] – [Copying files to the Cluster] anita | abstract:farber:transfer [2021-12-01 11:10] (current) – anita |
---|
</note> | </note> |
| |
<note warning>For **Windows** clients editing files on Windows desktops and then transferring them back to the cluster, you may find that your file becomes "corrupt" during file transfer process. The symptoms are very subtle because the file appears to be okay, but in fact contains ''CRLF'' line terminators. This causes problems when reading the file on a Unix cluster and generates very strange errors. Some examples might be a file used for submitting a batch job such as ''submit.qs'' and one you have used before and know is correct, will no longer work. Or an input file used for ABAQUS like ''tissue.inp'' which has worked many times before produces an error like ''Abaqus Error: Command line option "input" must have a value.''. | <note warning>For **Windows** clients editing files on Windows desktops and then transferring them back to the cluster, you may find that your file becomes "corrupt" during file transfer process. The symptoms are very subtle because the file appears to be okay, but in fact contains ''CRLF'' line terminators. This causes problems when reading the file on a Linux cluster and generates very strange errors. Some examples might be a file used for submitting a batch job such as ''submit.qs'' and one you have used before and know is correct, will no longer work. Or an input file used for ABAQUS like ''tissue.inp'' which has worked many times before produces an error like ''Abaqus Error: Command line option "input" must have a value.''. |
| |
Use the utility ''file'' to check for ''CRLF'' line terminators and ''dos2unix'' to fix it, like this below | Use the utility ''file'' to check for ''CRLF'' line terminators and ''dos2unix'' to fix it, like this below |
copies the ''fuelcell'' directory in your local current working directory into the ''/home/work/it_css/projects'' directory on the Farber cluster. The ''/home/work/it_css/projects'' directory on the Farber cluster must exist, and ''traine'' must have write access to it. | copies the ''fuelcell'' directory in your local current working directory into the ''/home/work/it_css/projects'' directory on the Farber cluster. The ''/home/work/it_css/projects'' directory on the Farber cluster must exist, and ''traine'' must have write access to it. |
| |
===== Copying files from Farber ===== | ===== Copying files from the cluster ===== |
To copy a file over an SSH connection to a Mac/UNIX/Linux system from any of the cluster's files systems type | To copy a file over an SSH connection to a Mac/UNIX/Linux system from any of the cluster's files systems type |
the generic command | the generic command |