lecture2 - Getting started: Basics Outline: I. II. III. IV....

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
Getting started: Basics Outline: I. Connecting to cluster: ssh II. Connecting outside UCF firewall: VPN client III. Introduction to Linux IV. Introduction to vi text editor-- other options V. Basics of F90 programming VI. Start for class project #1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
I. Connecting to cluster: ssh 1. MAC OSX-- Unix environment! 2. Windows-- putty utility a) http://www.putty.org/ b) Download and install putty c) Use putty to ssh to cluster, IP address above
Background image of page 2
II. Connecting outside UCF firewall: VPN client http://www.noc.ucf.edu/VPN/default.htm 1. First go to the NOC page 2. Then log on to the NOC intranet with your PID and myucf password 3. Click on VPN link to download and install VPN client Then…. 1. First open VPN client, and then log on to VPN server 2. Finally you can ssh to cluster as in preceding slide
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
http://www.computerlabs.ucf.edu/ III. UCF resources BA 148 8:00am-10:00pm CC II-104 (West Computer Lab) 8:00am-12:00am CCII-113 (East Computer Lab) 8:00am-8:00pm CL-101 (Classroom Computer Lab) 8:00am-7:00pm Putty, SSH secure shell, ssh secure ftp, microsoft Office 2007
Background image of page 4
III. Introduction to Linux 1. Linux is an operating system similar to UNIX 2. Graphical interfaces exist, but we will just use text-based 3. After ssh to cluster… 4. The ls command shows the contents of the directory group1 group2 group3 group4 group5 group6 rs.f [student@odin student]$ cd group1 [student@odin group1]$ ls [student@odin group1]$ Directory is empty! It has no files or subdirectories.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Creating a new directory… 1. Let’s create a new directory for project #1 2. From your bash shell [student@odin group1]$mkdir proj1 [student@odin group1]$ ls proj1 [student@odin group1]$ cd proj1 [student@odin proj1]$ ls [student@odin proj1]$ Again new directory is empty! We will place source code for project #1 here.
Background image of page 6
Moving files around… copying 1. Rather than clicking and dragging, we need the cp command to create duplicate files 2. In the student top directory, you will need rs.f for the first project 3. Copy this file to student/group1/proj1 in the following way: [student@odin proj1]$ cd . ./. ./ [student@odin student]$ ls group1 group2 group3 group4 group5 group6 rs.f [student@odin student]$ cp rs.f group1/proj1 [student@odin proj1]$ cd group1/proj1 [student@odin proj1]$ ls rs.f [student@odin proj1]$ The subroutine rs.f is where you need it for your first project!
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Moving files around… moving 1. Like cp , the mv command is for manipulating files 2. The mv command eliminates the original file however Uses…moving to a new directory [student@odin student]$ mv rs.f . ./ [patrick@odin patrick]$ ls [patrick@odin patrick]$ cd . ./ [patrick@odin patrick]$ ls proj1 rs.f [patrick@odin patrick]$ mv rs.f proj1 [patrick@odin patrick]$ cd proj1 [patrick@odin patrick]$ ls rs.f
Background image of page 8
Moving files around… moving Uses…renaming a file [student@odin proj1]$ mv rs.f rs1.f [student@odin proj1]$ ls rs1.f [student@odin proj1]$ mv rs1.f rs.f [student@odin proj1]$ ls rs.f In contrast, if we had used cp [student@odin proj1]$ cp rs.f rs1.f [student@odin proj1]$ ls rs1.f rs.f [student@odin proj1]$
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Removing files… and being careful! [student@odin proj1]$ rm rs1.f
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 34

lecture2 - Getting started: Basics Outline: I. II. III. IV....

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online