This version is outdated by a newer approved version.DiffThis version (2017/10/19 13:27) is a draft.
Approvals: 0/1

This is an old revision of the document!


Login and data transfer

  • Article written by Irene Reichl (VSC Team)
    (last update 2017-10-10 by ir).

If, e.g., you have an US keyboard layout, the following lines have to be included in your .bashrc file on the VSC-3 login node in order to be able to submit jobs:

export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8

Alternatively, you can change the same directly on your Mac in

Terminal ➠ Preferences ➠ Profiles ➠ Advanced ➠ International

Uncheck the option “Set locale environment variables on startup” and ➠ restart the terminal, see also OSX: locale settings.

Open a terminal window and type (in OSX you open the program called terminal which you can find clicking on the loupe in the upper right corner of your screen and typing terminal in the window which opens then.):

VSC-2

[...]$ ssh <username>@vsc2.vsc.ac.at
 
# or login to dedicated server :
[...]$ ssh <username>@l21.vsc.ac.at
                ..
[...]$ ssh <username>@l23.vsc.ac.at  

VSC-3

[...]$ ssh <username>@vsc3.vsc.ac.at
 
# or login to dedicated server :
[...]$ ssh <username>@l31.vsc.ac.at  
                ..
[...]$ ssh <username>@l35.vsc.ac.at

The address <username>@vsc2.vsc.ac.at points to all three login servers of VSC-2:, l21, l22, and l23; <username>@vsc3.vsc.ac.at points to all five login servers of VSC-3: l31, l32, l33, l34, and l35. Connections to one of these addresses are assigned to one of the respective servers in round robin manner. The direct login to a dedicated login server can be used for troubleshooting. E.g., in order to resolve specific questions, it may be useful that the support team can test your jobs on the same login server as you.

First, you will be asked to type your password. Then, you will be asked for your one time password (OTP; sms token which is sent to your mobile phone). This OTP is an additional feature increasing the security of the cluster.

[...]$ ssh <username>@l31.vsc.ac.at  
Password:
sms sent; please enter otp:
  • Omitting the port in ssh <username>@vsc2.vsc.ac.at or ssh <username>@vsc3.vsc.ac.at the default ssh port 22 is taken which always requires password and one-time-password (otp).
  • Login with ssh-key + otp is only possible at port 27: ssh -p 27 <username>@vsc2.vsc.ac.at or ssh -p 27 <username>@vsc3.vsc.ac.at
  • Currently, the lifetime of the otp is set to 12 hours, ie. every 12 hours a new otp has to be entered. Logins during the first 12 hours after the last successful login with otp do not require an otp.

Transfer your program code, data and input files to your home directory: Please use the latest “Intel” MPI-Environment as described in MPI Environment.

copy data to VSC:

[...]$ scp <filename> <username>@vsc2.vsc.ac.at:~/   # VSC-2 OR
[...]$ scp <filename> <username>@vsc3.vsc.ac.at:~/   # VSC-3
  • reduces amount of data sent over the network
    • “quick check” algorithm ➠ only changes sent
  • rsync options:rsync -av
    • recursive, copies symlinks, preserves permissions, modification times, group, special files, owner
NFS and BeeGFS resists failure of
RAID-5 (VSC-2) one disk
RAID-6 (VSC-3) two disks

disk controller failure
filesystem software faults
➠ might lead to data loss

 Backup Policy: no backup of user data on VSC ➠ backup is solely the responsibility of each user 

Alternatively, data can be copied using, e.g., either FileZilla or winscp, see figures:

  • pandoc/introduction-to-vsc/02_connecting_to_vsc/connecting_to_vsc.1508419635.txt.gz
  • Last modified: 2017/10/19 13:27
  • by ir