Download presentation
Presentation is loading. Please wait.
Published byTobias Craig Modified over 9 years ago
1
City Cluster Quickstart Lien-Chi Lai, COLA Lab, Department of Mathematics, NTU 2010/05/11
2
To Login “City Cluster” City Cluster Quickstart2 On Mac: Launch “ 終端機 ” $ ssh user@city.math.ntu.edu.tw $ ssh –X user@city.math.ntu.edu.tw (to enable X11 forwarding)
3
To Transfer Files City Cluster Quickstart3 $ 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.
4
SSH Secure Shell (on Windows) : to Login City Cluster Quickstart4 Download and install “SSH Secure Shell” http://www.colorado.edu/its/security/SSHSecureSHellClient.exe
5
SSH Secure Shell: to transfer files City Cluster Quickstart5
6
SSH Secure Shell: to transfer files City Cluster Quickstart6
7
Basic Linux Commands City Cluster Quickstart7 pwd print current working directory man on-line reference manuals e.g. $ man pwd mkdir make directories e.g. $ mkdir dir_name ls list directory contents e.g. $ ls or ls dir_name/ cd change directory e.g. $ cd dir_name/ rm remove files or directories e.g. $ rm -r dir_name/ cp copy files and directories e.g. $ cp file_scr file_dst
8
MATLAB City Cluster Quickstart8 Graphic User Interface (GUI) $ ssh -X user@city.math.ntu.edu.tw $ matlab No GUI ssh user@city.math.ntu.edu.tw $ matlab -nojvm
9
Editors City Cluster Quickstart9 vi a programmers text editor $ vi filename emacs a programmers text editor $ emacs filename gedit simple text editor for GNOME $ gedit or gedit filename
10
GCC City Cluster Quickstart10 gcc C and C++ compiler e.g. $ gcc hello.c -o hello (compile test.c) $./hello (execute hello) // C programming for Hello World #include int main(){ printf(“Hello World!!\n”); return 0; }
11
FORTRAN City Cluster Quickstart11 Edit “hello.f90” Compile: $ ifort hello.f90 Run $./a.out Program Hello implicit none write (*,*) ‘Hello, World.’ end
12
Virtual Network Computing (VNC) City Cluster Quickstart12 VNC 可將遠端平台的畫面顯示至本地端,並可遙控操作。 遠端與本地端的平台作業系統無須相同, Linux, Windows,… 等皆可。 參考網址: http://www.uk.research.att.com/vnc/ http://www.realvnc.org/ http://www.vnc.org/
13
VNC City Cluster Quickstart13 On server side (e.g. city.math.ntu.edu.tw) vncserver :2 launch VNC server with port 5802 vncpasswd change VNC password vncserver -kill :2 close 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
14
Reference City Cluster Quickstart14 http://linux.vbird.org/
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.