slide1 n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
City Cluster Quickstart PowerPoint Presentation
Download Presentation
City Cluster Quickstart

Loading in 2 Seconds...

play fullscreen
1 / 14

City Cluster Quickstart - PowerPoint PPT Presentation


  • 139 Views
  • Uploaded on

City Cluster Quickstart. Lien-Chi Lai , COLA Lab, Department of Mathematics, NTU 2010/05/11. To Login “City Cluster”. On Mac: Launch “ 終端機 ” $ ssh user@city.math.ntu.edu.tw $ ssh –X user@city.math.ntu.edu.tw (to enable X11 forwarding). 2. City Cluster Quickstart. To Transfer Files.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'City Cluster Quickstart' - symona


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
slide1

City Cluster Quickstart

Lien-Chi Lai, COLA Lab, Department of Mathematics, NTU2010/05/11

slide2

To Login “City Cluster”

  • On Mac: Launch “終端機”
  • $ ssh user@city.math.ntu.edu.tw
  • $ ssh –X user@city.math.ntu.edu.tw(to enable X11 forwarding)

2

City Cluster Quickstart

slide3

To Transfer Files

  • $ sftp user@city.math.ntu.edu.tw
    • download files:
      • get filename
      • mget foo*.c
    • upload files:
      • put foo1
      • mput foo*.c
  • scp secure remote file copy program
    • $ scp user@city.math.ntu.edu.tw:~/filepath .

3

City Cluster Quickstart

slide4

SSH Secure Shell (on Windows) : to Login

  • Download and install “SSH Secure Shell” http://www.colorado.edu/its/security/SSHSecureSHellClient.exe

4

City Cluster Quickstart

slide5

SSH Secure Shell: to transfer files

5

City Cluster Quickstart

slide6

SSH Secure Shell: to transfer files

6

City Cluster Quickstart

slide7

Basic Linux Commands

  • pwd print current working directory
  • man on-line reference manuals
    • e.g. $ man pwd
  • mkdirmake directories
    • e.g. $ mkdir dir_name
  • ls list directory contents
    • e.g. $ ls or ls dir_name/
  • cdchange directory
    • e.g. $ cd dir_name/
  • rmremove files or directories
    • e.g. $ rm -r dir_name/
  • cpcopy files and directories
    • e.g. $ cp file_scr file_dst

7

City Cluster Quickstart

slide8

MATLAB

  • Graphic User Interface (GUI)
    • $ ssh -X user@city.math.ntu.edu.tw
    • $ matlab
  • No GUI
    • ssh user@city.math.ntu.edu.tw
    • $ matlab -nojvm

8

  • City Cluster Quickstart
slide9

Editors

  • vi a programmers text editor
    • $ vi filename
  • emacs a programmers text editor
    • $ emacs filename
  • gedit simple text editor for GNOME
    • $ gedit or gedit filename

9

City Cluster Quickstart

slide10

GCC

  • gccC and C++ compiler
    • e.g. $ gcc hello.c -o hello (compile test.c)

$ ./hello (execute hello)

10

  • City Cluster Quickstart
slide11

FORTRAN

  • Edit “hello.f90”
  • Compile:
    • $ ifort hello.f90
  • Run
    • $ ./a.out

11

  • City Cluster Quickstart
slide12

Virtual Network Computing (VNC)

  • VNC 可將遠端平台的畫面顯示至本地端,並可遙控操作。
  • 遠端與本地端的平台作業系統無須相同,Linux, Windows,… 等皆可。
  • 參考網址:
    • http://www.uk.research.att.com/vnc/
    • http://www.realvnc.org/
    • http://www.vnc.org/

12

  • City Cluster Quickstart
slide13

VNC

  • On server side (e.g. city.math.ntu.edu.tw)
    • vncserver :2launch VNC server with port 5802
    • vncpasswdchange VNC password
    • vncserver -kill :2close VNC server at port 5802
  • On local side
    • Go to http://city.math.ntu.edu.tw:5802
    • Use VNC Viewer to connect city.math.ntu.edu.tw:5802

13

  • City Cluster Quickstart
slide14

Reference

  • http://linux.vbird.org/

14

  • City Cluster Quickstart