User Tools

Site Tools


exercises:2017_uzh_acpc2:login

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
exercises:2017_uzh_acpc2:login [2017/04/11 10:54] – [The bash terminal] jglanexercises:2017_uzh_acpc2:login [2020/08/21 10:15] (current) – external edit 127.0.0.1
Line 3: Line 3:
 In this exercise you will learn how to login and run commands on our infrastructure. In this exercise you will learn how to login and run commands on our infrastructure.
  
-====== The bash terminal======+ 
 + 
 +===== Part I: Login ===== 
 + 
 +As mentioned in the lecture, you absolutely need 
 + 
 +  * a X11-Server: 
 +    * on Linux: it is enough to be logged-in in a graphical environment (Unity, Gnome, KDE, ...) 
 +    * on Mac OS X/OSX/macOS Sierra: you need [[https://www.xquartz.org/|XQuartz]] 
 +    * on Microsoft Windows: you need [[http://sourceforge.net/projects/xming/files/latest/download|XMing]] 
 +  * a terminal emulator: 
 +    * on Linux: this can be one of Konsole, Gnome Terminal, Terminal, XTerm, ... 
 +    * on Mac OS X/OSX/macOS Sierra: use the X-Windows terminal from XQuartz 
 +    * on Windows: use [[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html|Putty]] 
 + 
 +optionally you may want: 
 + 
 +  * a file transfer tool to copy files from/to the server: 
 +    * on Linux: put ''%%sftp://tcopt3.chem.uzh.ch%%'' as the address in your file browser and you should be able to browse your home directory after logging in 
 +    * on Mac OS X/OSX/macOS Sierra: use [[https://cyberduck.io/|Cyberduck]] 
 +    * one Windows: use [[https://winscp.net/|WinSCP]] or [[https://cyberduck.io/|Cyberduck]] 
 +  * a plain text editor to edit input files if you are uncomfortable with using ''vim'', ''nano'' or ''emacs'' via SSH. Please note: It is important that your editor supports Unix line endings. If in doubt, use one of the mentioned editors on the server, or an advanced plain text editor like [[https://atom.io/|Atom]] (plus the [[https://atom.io/packages/line-ending-selector-unix|line-ending-selector-unix]] plugin) or [[https://notepad-plus-plus.org/|Notepad++]] on your local machine. 
 + 
 +Use the instructions giving in the lecture/available via OLAT to login on the server ''tcopt3.chem.uzh.ch'' using your assigned student account. 
 + 
 +<note important>Change the password of your account after your first login, using: 
 +<code> 
 +$ passwd 
 +</code> 
 +</note> 
 + 
 + 
 +<note important>Login the remote machine using (if you use Linux or MacOS): 
 +<code> 
 +$ ssh -X username@tcopt3.chem.uzh.ch 
 +</code> 
 +</note> 
 + 
 + 
 +===== The bash terminal=====
  
 Many tasks in the following weeks will need to be performed on the terminal (or 'command line'). Many tasks in the following weeks will need to be performed on the terminal (or 'command line').
Line 43: Line 82:
 </code> </code>
  
-(on Mac OS X): In order to take a screen shot, hit ''CMD''+ ''SHIFT'' + ''4''. 
- 
-===== Part I: Login ===== 
- 
-As mentioned in the lecture, you absolutely need 
- 
-  * a X11-Server: 
-    * on Linux: it is enough to be logged-in in a graphical environment (Unity, Gnome, KDE, ...) 
-    * on Mac OS X/OSX/macOS Sierra: you need [[https://www.xquartz.org/|XQuartz]] 
-    * on Microsoft Windows: you need [[http://sourceforge.net/projects/xming/files/latest/download|XMing]] 
-  * a terminal emulator: 
-    * on Linux: this can be one of Konsole, Gnome Terminal, Terminal, XTerm, ... 
-    * on Mac OS X/OSX/macOS Sierra: use the X-Windows terminal from XQuartz 
-    * on Windows: use [[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html|Putty]] 
- 
-optionally you may want: 
- 
-  * a file transfer tool to copy files from/to the server: 
-    * on Linux: put ''%%sftp://tcopt3.chem.uzh.ch%%'' as the address in your file browser and you should be able to browse your home directory after logging in 
-    * on Mac OS X/OSX/macOS Sierra: use [[https://cyberduck.io/|Cyberduck]] 
-    * one Windows: use [[https://winscp.net/|WinSCP]] or [[https://cyberduck.io/|Cyberduck]] 
-  * a plain text editor to edit input files if you are uncomfortable with using ''vim'', ''nano'' or ''emacs'' via SSH. Please note: It is important that your editor supports Unix line endings. If in doubt, use one of the mentioned editors on the server, or an advanced plain text editor like [[https://atom.io/|Atom]] (plus the [[https://atom.io/packages/line-ending-selector-unix|line-ending-selector-unix]] plugin) or [[https://notepad-plus-plus.org/|Notepad++]] on your local machine. 
- 
-Use the instructions giving in the lecture/available via OLAT to login on the server ''tcopt3.chem.uzh.ch'' using your assigned student account. 
- 
-<note important>Change the password of your account after your first login, using: 
-<code> 
-$ passwd 
-</code> 
-</note> 
  
 ===== Part II: Loading and running a program ===== ===== Part II: Loading and running a program =====
Line 143: Line 152:
   --xml             : dumps the whole CP2K input structure as a XML file   --xml             : dumps the whole CP2K input structure as a XML file
                       xml2htm generates a HTML manual from this XML file                       xml2htm generates a HTML manual from this XML file
 +</code>
 +
 +Now you can run cp2k using:
 +<code>
 +$ cp2k.sopt -i cp2k.inp -o cp2k.out &
 </code> </code>
  
exercises/2017_uzh_acpc2/login.1491908043.txt.gz · Last modified: 2020/08/21 10:15 (external edit)