rsnt_translations
53,464
edits
mNo edit summary |
No edit summary |
||
Line 527: | Line 527: | ||
==== Avoid hidden characters in job scripts ==== <!--T:43--> | ==== Avoid hidden characters in job scripts ==== <!--T:43--> | ||
Preparing a job script with a ''word processor'' instead of a ''text editor'' is a common cause of trouble. Best practice is to prepare your job script on the cluster using an | Preparing a job script with a ''word processor'' instead of a ''text editor'' is a common cause of trouble. Best practice is to prepare your job script on the cluster using an editor such as nano, vim, or emacs. If you prefer to prepare or alter the script off-line, then: | ||
* '''Windows users:''' | * '''Windows users:''' | ||
** Use a text editor such as Notepad or [https://notepad-plus-plus.org/ Notepad++]. | ** Use a text editor such as Notepad or [https://notepad-plus-plus.org/ Notepad++]. | ||
** After uploading the script, use <code>dos2unix</code> to change Windows end-of-line characters to Linux end-of-line characters. | ** After uploading the script, use <code>dos2unix</code> to change Windows end-of-line characters to Linux end-of-line characters. | ||
* '''Mac users:''' | * '''Mac users:''' | ||
** Open a terminal window and use an | ** Open a terminal window and use an editor such as nano, vim, or emacs. | ||
==== Cancellation of jobs with dependency conditions which cannot be met ==== <!--T:109--> | ==== Cancellation of jobs with dependency conditions which cannot be met ==== <!--T:109--> |