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:45] – 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 |
- | ssh < | + | < |
- | # TU Wien | + | ssh < |
- | ssh < | + | ... |
- | # Boku Wien | + | 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 as you. | ||
- | - Transfer your programs and data/input files to your home directory. | + | == Two factor authentication == |
- | </ | + | |
- | - (Re-)Compile your application. Please use the latest " | + | |
- | For advanced topics see also [[doku: | + | As usual, you will then be asked to type your // |
- | **NOTE**: when the option ''# | + | 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]] |
- | /bin/sh: module: line 1: syntax error: unexpected end of file | + | |
- | /bin/sh: error importing function definition | + | === Configuration |
- | bash: module: line 1: syntax error: unexpected end of file | + | - 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 < |
- | bash: error importing function definition for `module' | + | - login with ssh-key + otp is only possible at port 27: ssh -p 27 <username>@vsc2.vsc.ac.at |
- | This message occurs due to a known bug in the grid engine which cannot handle functions defined in the user environment. This message can be safely ignored. This error message can be avoided by exporting particular environment variables only in your job-script:< | + | - currently |
- | #$ -v LD_LIBRARY_PATH | + | |
+ | ===== 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 //< | ||
+ | |||
+ | ===== Mac ===== | ||
+ | |||
+ | In order to be able to submit jobs on VSC-3 (or VSC-2) the following lines have to be included in your '' | ||
+ | |||
+ | < | ||
+ | # 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, | ||
+ | # Terminal -> Preferences... -> Settings -> Advanced - | ||
+ | # - Uncheck the option “Set locale environment variables on startup” - | ||
+ | # - Restart Terminal | ||
+ | # see also: https:// | ||
+ | </ | ||
+ | |||
+ | ==== Windows ==== | ||
+ | [[doku: | ||
+ | |||
+ |