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 [2014/08/12 13:56] – ir | doku:vsc2quickstart [2016/06/21 07:53] – ir | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Quick Start ==== | + | ===== Login ===== |
- | To get started see [[doku:vsc1quickstart|VSC 1 Quick Start]]. | + | - Login via SSH: < |
+ | ssh < | ||
+ | </ | ||
- | For advanced topics see also [[doku:advanced_topics|Sun grid engine (SGE)]]. | + | - Transfer your programs and data/input files to your home directory. |
+ | - (Re-)Compile your application. Please use the latest " | ||
- | **NOTE**: when the option ''# | + | If you have reason to directly connect to a dedicated login server, you may write |
- | /bin/sh: module: line 1: syntax error: unexpected end of file | + | < |
- | /bin/sh: error importing function definition for `module' | + | ssh <username>@l21.vsc.ac.at |
- | bash: module: line 1: syntax error: unexpected end of file | + | ... |
- | bash: error importing function definition for `module' | + | ssh <username>@l23.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:<code>#$ -v PATH | + | |
- | #$ -v LD_LIBRARY_PATH | + | |
</ | </ | ||
+ | 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 == | ||
+ | |||
+ | As usual, you will then be asked to type your // | ||
+ | |||
+ | 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: | ||
+ | |||
+ | === 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 //< | ||
+ | |||
+ | ===== 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: | ||
+ | |||
+ |