Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
doku:vsc2quickstart [2015/04/09 12:44] – ir | doku:vsc2quickstart [2016/06/21 07:53] – ir | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Quick Start ===== | + | ===== Login ===== |
- | [[doku:win2vsc|How to connect from Windows?]] | + | - Login via SSH: < |
+ | ssh < | ||
+ | </ | ||
- | ==== Login ==== | + | - Transfer your programs and data/input files to your home directory. |
+ | - (Re-)Compile your application. Please use the latest " | ||
- | - Log in to your university' | + | If you have reason to directly connect to a dedicated login server, you may write |
+ | < | ||
+ | ssh < | ||
+ | ... | ||
+ | ssh < | ||
+ | </ | ||
+ | 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 | ||
- | < | + | == Two factor authentication == |
- | ssh < | + | |
- | # TU Wien | + | As usual, you will then be asked to type your // |
- | ssh < | + | |
- | # 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: |
- | ssh < | + | |
+ | === 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 < | ||
+ | - login with ssh-key + otp is only possible at port 27: ssh -p 27 < | ||
+ | - 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 | ||
+ | < | ||
+ | ssh < | ||
</ | </ | ||
+ | This address points to all three login servers l21, l22, or l23. By connecting to //< | ||
- | - Transfer your programs and data/input files to your home directory. | + | ===== Mac ===== |
- | </ | + | |
- | - (Re-)Compile your application. Please use the latest " | + | |
- | For advanced topics see also [[doku: | + | In order to be able to submit jobs on VSC-3 (or VSC-2) the following lines have to be included in your '' |
- | **NOTE**: when the option ''# | + | < |
- | /bin/sh: module: 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: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): |
- | bash: module: line 1: syntax error: unexpected end of file | + | # No such file or directory |
- | bash: error importing function definition for `module'</ | + | # 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 environment. This message | + | # If the following is set, this warning |
- | #$ -v LD_LIBRARY_PATH | + | |
+ | export LC_CTYPE=en_US.UTF-8 | ||
+ | export LC_ALL=en_US.UTF-8 | ||
+ | |||
+ | # Alternatively, | ||
+ | # Terminal -> Preferences... -> Settings -> Advanced - | ||
+ | # - Uncheck the option “Set locale environment variables on startup” | ||
+ | # - Restart Terminal | ||
+ | # see also: https:// | ||
</ | </ | ||
+ | |||
+ | ==== Windows ==== | ||
+ | [[doku: | ||
+ | |||
+ |