abstract:farber:transfer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
abstract:farber:transfer [2018-05-23 11:41] anitaabstract:farber:transfer [2021-12-01 11:10] (current) anita
Line 1: Line 1:
-====== Transfer Files to/from Farber ======+====== Transferring files to/from Farber ====== 
 + 
 +//The following sections use the wiki's [[:#documentation-conventions|documentation conventions]].//
  
 <note important>Be careful about modifications you make to your startup files (e.g. ''.bash*''). Commands that produce output such as VALET commands may cause your file transfer command or application to not work. Log into the cluster with ''ssh'' to check what happens during login, and modify your startup files accordingly to remove any commands which are producing output and try again.</note> <note important>Be careful about modifications you make to your startup files (e.g. ''.bash*''). Commands that produce output such as VALET commands may cause your file transfer command or application to not work. Log into the cluster with ''ssh'' to check what happens during login, and modify your startup files accordingly to remove any commands which are producing output and try again.</note>
Line 34: Line 36:
 </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
Line 64: Line 66:
  
 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.
- 
-//This section uses the wiki's [[:#documentation-conventions|documentation conventions]].// 
  
 ===== Copying files from the cluster ===== ===== Copying files from the cluster =====
Line 85: Line 85:
  
 will copy the directory ''fuelcell'' on the Farber cluster into a new ''fuelcell'' directory in your local system's current working directory. (Note the final period in the command.) will copy the directory ''fuelcell'' on the Farber cluster into a new ''fuelcell'' directory in your local system's current working directory. (Note the final period in the command.)
- 
-//This section uses the wiki's [[:#documentation-conventions|documentation conventions]].// 
 ===== Copying files between clusters ===== ===== Copying files between clusters =====
  
Line 113: Line 111:
 will copy the directory ''fuelcell'' from Mills to a new ''fuelcell'' directory on Farber. will copy the directory ''fuelcell'' from Mills to a new ''fuelcell'' directory on Farber.
  
-//This section uses the wiki's [[:#documentation-conventions|documentation conventions]].// 
  • abstract/farber/transfer.1527090064.txt.gz
  • Last modified: 2018-05-23 11:41
  • by anita