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
Next revisionBoth sides next revision
doku:vsc2quickstart [2015/04/09 12:44] irdoku:vsc2quickstart [2016/06/21 07:53] ir
Line 1: Line 1:
-===== Quick Start =====+===== Login =====
  
-[[doku:win2vsc|How to connect from Windows?]]+  - Login via SSH<code> 
 +ssh <username>@vsc2.vsc.ac.at 
 +</code>
  
-==== Login ====+  - Transfer your programs and data/input files to your home directory.    <code>    scp <filename> <username>@vsc2.vsc.ac.at:~/    </code>   
 +  - (Re-)Compile your application. Please use the latest "Intel" MPI-Environment as described in [[doku:mpi|MPI Environment]].
  
-  - Log in to your university's designated login server via SSH: +If you have reason to directly connect to a dedicated login server, you may write 
 +<code> 
 +ssh <username>@l21.vsc.ac.at   
 +... 
 +ssh <username>@l23.vsc.ac.at   
 +</code> 
 +This 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. 
  
-<code># Uni Wien +==  Two factor authentication == 
-ssh <username>@vsc2.univie.ac.at + 
-# TU Wien +As usual, you will then be asked to type your //password//.  
-ssh <username>@vsc2.tuwien.ac.at + 
-# Boku Wien +In addition, you will be asked for your **o**ne **t**ime **p**assword (OTP; sms token which is sent to your mobile phone). This [[faq:account|OTP]] is an additional feature increasing the security of the cluster. 
-ssh <username>@vsc2.boku.ac.at+ 
 +=== Configuration of the ssh login === 
 +  - port 22 is open only for login with password and one-time-password (otp). Since port 22 is the default ssh port, stating a 'ssh <username>@vsc2.vsc.ac.at' will always ask for a password. 
 +  - login with ssh-key + otp is only possible at port 27: ssh -p 27 <username>@vsc2.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. All logins in between will not require an otp. 
 + 
 +===== Linux and Mac ===== 
 +Open a terminal window and type 
 +<code> 
 +ssh <username>@vsc2.vsc.ac.at
 </code> </code>
 +This address points to all three login servers l21, l22, or l23. By connecting to //<username>@vsc2.vsc.ac.at// you are assigned to one of these servers in round robin manner.
  
-  - Transfer your programs and data/input files to your home directory.    <code>    scp <filename> <username>@vsc.univie.ac.at:~/ +===== Mac =====
-    </code>   +
-  - (Re-)Compile your application. Please use the latest "Intel" MPI-Environment as described in [[doku:mpi|MPI Environment]].+
  
-For advanced topics see also [[doku:advanced_topics|Sun grid engine (SGE)]].+In order to be able to submit jobs on VSC-3 (or VSC-2the following lines have to be included in your ''.bashrc'' file
  
-**NOTE**: when the option ''#$ -V'' is specified this error message will be generated in one of the output files of the grid engine:<code> +<code> 
-/bin/shmodule: line 1: syntax error: unexpected end of file +# Connecting from a Mac under OS X Mavericks displays the following warning
-/bin/sh: error importing function definition for `module' +# -bash: warningsetlocaleLC_CTYPEcannot change locale (UTF-8)
-bash: moduleline 1syntax errorunexpected end of file +# No such file or directory 
-basherror importing function definition for `module'</code>  +This will result in an error when submitting jobs to the Grid Engine on VSC-2. 
-This message occurs due to a known bug in the grid engine which cannot handle functions defined in the user environmentThis message can be safely ignored. This error message can be avoided by exporting particular environment variables only in your job-script:<code>#-v PATH +# If the following is set, this warning can be savely ignored
-#-v LD_LIBRARY_PATH+ 
 +export LC_CTYPE=en_US.UTF-
 +export LC_ALL=en_US.UTF-8 
 + 
 +# Alternatively, to suppress this warning, change on the Mac: 
 +#      Terminal -Preferences... -> Settings -> Advanced - 
 +     - Uncheck the option “Set locale environment variables on startup” 
 +     - Restart Terminal 
 +# see also: https://wiki.vsc.ac.at/doku.php?id=doku:osx-mavericks&s[]=locale
 </code> </code>
 +
 +==== Windows ====
 +[[doku:win2vsc|How to connect from Windows?]]
 +
 +
  • doku/vsc2quickstart.txt
  • Last modified: 2014/11/25 08:50
  • by ir