1 / 14

City Cluster Quickstart

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.

symona
Télécharger la présentation

City Cluster Quickstart

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. City Cluster Quickstart Lien-Chi Lai, COLA Lab, Department of Mathematics, NTU2010/05/11

  2. 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

  3. 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

  4. 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

  5. SSH Secure Shell: to transfer files 5 City Cluster Quickstart

  6. SSH Secure Shell: to transfer files 6 City Cluster Quickstart

  7. 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

  8. 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

  9. 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

  10. GCC • gccC and C++ compiler • e.g. $ gcc hello.c -o hello (compile test.c) $ ./hello (execute hello) 10 • City Cluster Quickstart

  11. FORTRAN • Edit “hello.f90” • Compile: • $ ifort hello.f90 • Run • $ ./a.out 11 • City Cluster Quickstart

  12. 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

  13. 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

  14. Reference • http://linux.vbird.org/ 14 • City Cluster Quickstart

More Related