Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
doku:win2vsc [2016/06/21 11:32] – [The job file: text editors on the Cluster] ir | doku:win2vsc [2021/09/29 13:05] (current) – [The job file: text editors on the Cluster] goldenberg | ||
---|---|---|---|
Line 7: | Line 7: | ||
==== File transfer ==== | ==== File transfer ==== | ||
- | Files can be transferred to your home directory on the cluster using the tool [[https:// | + | Files can be transferred to your home directory on the cluster using the tool [[https:// |
- | * server name (VSC 2: vsc2.vsc.ac.at, | + | * server name (VSC 3: vsc3.vsc.ac.at, |
- | * user name: which you have created on VSC, | + | * port: 22 |
+ | * user name: which you have created on VSC, and | ||
+ | * Logon Type needs to be set to: interactive | ||
+ | have to be specified. After clicking the button " | ||
* password: which you have created on VSC, | * password: which you have created on VSC, | ||
- | * port: 22. | + | * and the OTP. |
Alternatively, | Alternatively, | ||
- | * host name (VSC 2: vsc2.vsc.ac.at, | + | * host name (VSC 3: vsc3.vsc.ac.at, |
* port: 22, | * port: 22, | ||
- | * user name and password: can be skipped here and provided later. | + | * user name and password can be skipped here and provided later together with the OTP. |
- | {{ : | + | {{ : |
- | **Figure 1.a:** [[https:// | + | **Figure 1.a:** [[https:// |
{{ : | {{ : | ||
Line 28: | Line 31: | ||
A terminal connection to the cluster opens on your windows machine by taking advantage of the tool [[http:// | A terminal connection to the cluster opens on your windows machine by taking advantage of the tool [[http:// | ||
- | * host name (VSC 2: vsc2.vsc.ac.at, VSC 3: vsc3.vsc.ac.at), | + | * host name (VSC 3: vsc3.vsc.ac.at, VSC 4: vsc4.vsc.ac.at), |
* port: 22, | * port: 22, | ||
* connection type: SSH, | * connection type: SSH, | ||
- | * after clicking //open// you will be asked for your user name and password. | + | after clicking //open// you will be asked for your user name, password, and OTP. |
Here, the usual linux commands apply, e.g., | Here, the usual linux commands apply, e.g., | ||
Line 43: | Line 46: | ||
In this terminal, your application can be (re-)compiled. | In this terminal, your application can be (re-)compiled. | ||
- | Please use the latest " | + | Batch jobs are submitted under [[doku: |
{{ : | {{ : | ||
Line 53: | Line 56: | ||
==== The job file: text editors on the Cluster ==== | ==== The job file: text editors on the Cluster ==== | ||
- | Create a job file as described | + | Create a job file as described in the section [[doku: |
You have to submit a remote job, it is not allowed to run your application directly on the login nodes. | You have to submit a remote job, it is not allowed to run your application directly on the login nodes. | ||
- | Editors in //Windows// may add additional invisible characters to the job file which render it unreadable and, thus, it is not executed. It can be quite cumbersome to find and remove these additional characters. Therefore, it is advisable to write the job file directly on the VSC linux cluster. Available editors on the VSC 2 include [[http:// | + | Editors in //Windows// may add additional invisible characters to the job file which render it unreadable and, thus, it is not executed. It can be quite cumbersome to find and remove these additional characters. Therefore, it is advisable to write the job file directly on the VSC linux cluster. Available editors on the VSC include [[http:// |
< | < | ||
- | [< | + | [< |
</ | </ | ||
on the command line. This editor works similar to //ms windows// applications. | on the command line. This editor works similar to //ms windows// applications. | ||
+ | **Note:** You have to connect via X-forwarding to use it | ||
The **&** is used to open the application in the background and to be able to continue to work in the terminal. Alternatively to //NEdit// the [[http:// | The **&** is used to open the application in the background and to be able to continue to work in the terminal. Alternatively to //NEdit// the [[http:// | ||
< | < | ||
- | [< | + | [< |
</ | </ | ||
calls the application //vim// and the file < | calls the application //vim// and the file < |