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
doku:vsc2quickstart [2016/06/21 07:53] irdoku:vsc2quickstart [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-===== Login =====+==== Quick Start ====
  
-  - Login via SSH<code> +[[doku:win2vsc|How to connect from Windows?]]
-ssh <username>@vsc2.vsc.ac.at +
-</code>+
  
-  - Transfer your programs and data/input files to your home directory.    <code>    scp <filename> <username>@vsc2.vsc.ac.at:~/    </code>   +To get started see the  [[doku:vsc1quickstart|introduction to VSC 1]]. 
-  - (Re-)Compile your application. Please use the latest "Intel" MPI-Environment as described in [[doku:mpi|MPI Environment]]. +Compared to this introduction, the login is modified: 
- +<code># Uni Wien 
-If you have reason to directly connect to a dedicated login server, you may write +ssh <username>@vsc2.univie.ac.at 
-<code> +# TU Wien 
-ssh <username>@l21.vsc.ac.at   +ssh <username>@vsc2.tuwien.ac.at 
-... +# Boku Wien 
-ssh <username>@l23.vsc.ac.at  +ssh <username>@vsc2.boku.ac.at
 </code> </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.  
  
-==  Two factor authentication ==+For advanced topics see also [[doku:advanced_topics|Sun grid engine (SGE)]].
  
-As usual, you will then be asked to type your //password//.  +**NOTE**: when the option ''#$ -V'' is specified this error message will be generated in one of the output files of the grid engine:<code> 
- +/bin/sh: module: line 1: syntax error: unexpected end of file 
-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. +/bin/sh: error importing function definition for `module
- +bashmodule: line 1: syntax error: unexpected end of file 
-=== Configuration of the ssh login === +bash: error importing function definition for `module'</code>  
-  - 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. +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 ignoredThis error message can be avoided by exporting particular environment variables only in your job-script:<code>#$ -v PATH 
-  - login with ssh-key + otp is only possible at port 27ssh -p 27 <username>@vsc2.vsc.ac.at +#$ -v LD_LIBRARY_PATH
-  - currently the lifetime of the otp is set to 12 hours, ieevery 12 hours a new otp has to be enteredAll 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. 
- 
-===== Mac ===== 
- 
-In order to be able to submit jobs on VSC-3 (or VSC-2) the following lines have to be included in your ''.bashrc'' file 
- 
-<code> 
-# Connecting from a Mac under OS X Mavericks displays the following warning: 
-# -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): 
-# No such file or directory 
-# This will result in an error when submitting jobs to the Grid Engine on VSC-2. 
-# If the following is set, this warning can be savely ignored: 
- 
-export LC_CTYPE=en_US.UTF-8 
-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> 
- 
-==== Windows ==== 
-[[doku:win2vsc|How to connect from Windows?]] 
- 
- 
  • doku/vsc2quickstart.1466495597.txt.gz
  • Last modified: 2016/06/21 07:53
  • by ir