CCPR Workshop Introduction to the Cluster July 13, 2006.

Slides:



Advertisements
Similar presentations
UNIX Overview. 2 UNIX UNIX is a multi-user and multi-tasking operating system. Multi-tasking: Multiple processes can run concurrently. Example: different.
Advertisements

Chapter One The Essence of UNIX.
Unix. Outline Commands Environment Variables Basic Commands CommandMeaning lslist files and directories ls -alist all files and directories mkdirmake.
NETW-240 Shells Last Update Copyright Kenneth M. Chipps Ph.D. 1.
CCPR Workshop Lexis Cluster Introduction October 19, 2007 David Ash.
Introducing the Command Line CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
Sun Grid Engine Grid Computing Assignment – Fall 2005 James Ruff Senior Department of Mathematics and Computer Science Western Carolina University.
UNIX Chapter 00 A “ Quick Start ” into UNIX Operating System Mr. Mohammad Smirat.
CS1020: Intro Workshop. Topics CS1020Intro Workshop Login to UNIX operating system 2. …………………………………… 3. …………………………………… 4. …………………………………… 5. ……………………………………
Guide To UNIX Using Linux Third Edition
Unix Workshop Aug What is Unix Multitasking, multiuser operating system Often the OS of choice for large servers, large clusters.
UNIX Overview. 2 UNIX UNIX is a multi-user and multi-tasking operating system. Multi-tasking: Multiple processes can run concurrently. Multi-user: different.
1 Some basic Unix commands u Understand the concept of loggin into and out of a Unix shell u Interact with the system in a basic way through keyboard and.
A crash course in njit’s Afs
Introduction to Linux Workshop February Introduction Rob Lane & The HPC Support Team Research Computing Services CUIT.
Introduction to UNIX/Linux Exercises Dan Stanzione.
MCB Lecture #3 Sept 2/14 Intro to UNIX terminal.
UNIT 1 Computing Fundamentals.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
Help session: Unix basics Keith 9/9/2011. Login in Unix lab  User name: ug0xx Password: ece321 (initial)  The password will not be displayed on the.
Welcome to Linux & Shell Scripting Small Group How to learn how to Code Workshop small-group/
 Accessing the NCCS Systems  Setting your Initial System Environment  Moving Data onto the NCCS Systems  Storing Data on the NCCS Systems  Running.
Introduction to Unix/Linux Chapter One The Essence of UNIX.
CIM6400 CTNW (04/05) 1 CIM6400 CTNW Lesson 6 – More on Windows 2000.
Essential Unix at ACEnet Joey Bernard, Computational Research Consultant.
Introduction to Unix – CS 21 Lecture 9. Lecture Overview Shell description Shell choices History Aliases Topic review.
CCPR Workshop Introduction to the Cluster March 2, 2005.
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
COMP1070/2002/lec4/H.Melikian COMP1070 Lecture #4  Unix software architecture  Correcting mistakes  System setups  Useful commands for the beginner.
CIT 140: Introduction to ITSlide #1 CSC 140: Introduction to IT Operating Systems.
Chapter 0 A “Quick-Start” into the UNIX Operating System.
Lesson 2-Touring Essential Programs. Overview Development of UNIX and Linux. Commands to execute utilities. Communicating instructions to the shell. Navigating.
Introduction to C Programming Lecture 2. C Tutor Schedule / 3rd Floor Lab b The lab and tutor schedule is available at the following URL:
Unix and Samba By: IC Labs (Raj Kidambi). What is Unix?  Unix stands for UNiplexed Information and Computing System. (It was originally spelled "Unics.")
1 Remote Access Telnet Telnet FTP FTP. 2 Applications and Communications Telnet Telnet  Program for accessing systems remotely.  Available on Windows.
Introduction to Programming Using C An Introduction to Operating Systems.
CSC190 Introduction to Computing Operating Systems and Utility Programs.
Introduction to SAS/willow (Unix) Sam Gordji Weir 107.
Unix Servers Used in This Class  Two Unix servers set up in CS department will be used for some programming projects  Machine name: eustis.eecs.ucf.edu.
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
Getting Started with Unix Naomi Altman. Connecting to a PSU Linux Cluster click on SSH click on "quick connect" Host Name: lxcluster.tlt.psu.edu User.
1 CSE 390a Lecture 3 bash shell continued: processes; multi-user systems; remote login; editors slides created by Marty Stepp, modified by Jessica Miller.
INTERNET APPLICATIONS CPIT405 Install a web server and analyze packets.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
Introduction to Scripting Workshop February 23, 2016.
Assignprelim.1 Assignment Preliminaries © 2012 B. Wilkinson/Clayton Ferner. Modification date: Jan 16a, 2014.
UNIX Basics Matt Hayward October 18, 2016 LS560 – Information Technology for information professionals.
Advanced Computing Facility Introduction
GRID COMPUTING.
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
A “Quick-Start” into the UNIX Operating System
CS1010: Intro Workshop.
slides created by Marty Stepp, modified by Josh Goodwin
Chapter 11 Command-Line Master Class
Web Programming Essentials:
Andy Wang Object Oriented Programming in C++ COP 3330
Part 3 – Remote Connection, File Transfer, Remote Environments
Assignment Preliminaries
College of Engineering
CSE 390a Lecture 3 bash shell continued: processes; multi-user systems; remote login; editors slides created by Marty Stepp, modified by Jessica Miller.
Web Programming Essentials:
CGS 3175: Internet Applications Fall 2009
Andy Wang Object Oriented Programming in C++ COP 3330
CSE 390a Lecture 3 bash shell continued: processes; multi-user systems; remote login; editors slides created by Marty Stepp, modified by Jessica Miller.
slides created by Marty Stepp, modified by Jessica Miller
CSE 390a Lecture 3 bash shell continued: processes; multi-user systems; remote login; editors slides created by Marty Stepp, modified by Jessica Miller.
CSE 390a Lecture 3 bash shell continued: processes; multi-user systems; remote login; editors slides created by Marty Stepp, modified by Jessica Miller.
CSE 390a Lecture 3 bash shell continued: processes; multi-user systems; remote login; editors slides created by Marty Stepp, modified by Jessica Miller.
Working in The IITJ HPC System
DIBBs Brown Dog Tutorial Setup
Presentation transcript:

CCPR Workshop Introduction to the Cluster July 13, 2006

Outline What is a cluster? How can CCPR’s cluster help you? Using the cluster Connecting from Windows Unix commands Submitting jobs Managing jobs

What is a cluster? Think of a cluster as having two parts: Hardware: a collection of computers Cluster management system: software for coordinating hardware with a collection of computational tasks (batch jobs)

CCPR’s Cluster: Management System Jobs are submitted to the cluster via the cluster management system An advanced batch system Efficiently allocates resources to jobs Remembers job requirements Remembers node specs and availability Schedules jobs according to requested resources and priority Users can easily view jobs

How does this help your research? Easy access to software and data Faster processors More RAM Easy to share data, programs, etc. with colleagues via the cluster More advanced users: parallel processing, compilers, etc. Your pc is available for other work when you submit a job to the cluster Submit a job and forget about it

Using the Cluster Connecting from Windows Unix Commands Submitting jobs Managing jobs

Secure Shell Secure Shell software (2 pieces) 1. SSH Secure Shell Client (Telnet) 2. SSH Secure File Transfer Client (FTP). Download software from  Computing  Security

Secure Shell: Connecting to lexis from Windows Connect to lexis via SSH Secure Shell Client Startup SSH Secure Shell/File Transfer Click Quick Connect Enter: Host Name: lexis.ccpr.ucla.edu User Name: your lexis account name Port Number: 22 Click connect and enter password Can add “profile” for repeated use Same process for SSH Secure File Transfer Client

Samba: Transferring files from pc to lexis Analagous to “mapping a drive” Allows user to view lexis files via Windows Explorer interface Must use vpn when you’re off campus. Download from Step-by-step instructions:

Samba: Transferring files from pc to lexis Open Windows Explorer on the local machine. Select Tools->Map Network Drive In the "Folder" text box enter: \\lexis.ccpr.ucla.edu\your-user-name Click "Reconnect at login" if you want the drive to be mounted each time the computer starts up. Click the "different user name" link to enter your user name and password for the connection. Click "OK" then click the "Finish" button on the Map Network Drive window.

Unix commands passwdChange lexis password smbpasswdChange samba password pwdPrint working directory cdChange directory mv filename1 filename2Rename/move filename1 to filename2 cp filename1 filename2Copy filename1 to filename2

More Unix Commands cat fileDisplay contents of file to screen cat file1 >> file2Concatenate file1 and file2 more fileDisplay contents of file to screen lsList files ls –lahList files in current directory (options l=LONG, a=ALL, h = HUMAN- READABLE

More Unix commands du –hDisk usage (option h=HUMAN- READABLE).forwardforward mail to another account gzipCompress file gunzipExpand compressed file ln –s actual linkCreate symbolic link which namesearch for name

Getting help in Unix man commandlist help for command man –k command keyword search for command whatis commandbrief description of command apropos keyword list commands with keyword in their description

Unix Commands: Using Aliases Alias Create an alias for commonly used commands Example: alias ls=“ls –lah” Anytime you type ls, you will see the ls command with options lah (l=long, a=all, h=human-readable) Edit.aliases file to create and remove aliases

Unix commands: Pipes and grep historydisplays a “history” of previously entered commands history | morehistory, but one page at a time history | grep catsends output of history to commnd “grep cat”, which displays only lines containing “cat” history | wcCounts number of newlines, words, and bytes contained in output of history

Editing Files on Lexis Pico – easiest editor. Open and type. Commands listed at bottom of editor. Vi – more advanced. You can move around quickly, do copy/paste, search, etc, but keystrokes required for everything. Emacs – most advanced

Submitting Stata and SAS jobs Submit jobs by typing qjob, qstata, qsas, qmatlab at Unix prompt You will then be prompted for: filename memory (number in megs, ex. 1050) if memory > 1 gig -> Over 2 hours (y/n), job type (for qjob only) submit (y/n) Alternatively, submit all options without being prompted: qstata sample.do 500 y

Files produced by qstata filename.log - This is the log file from Stata. The output of your entire Stata job is caputured in this file. filename.do.cmd - This is the Command file that is submitted to the cluster. filename.do.joblog - This file will capture the output of your CMD file and any errors that may occur (Stata output is not captured by this log.)

Job Management RAMCompute time requested Job sent to… <1 GBn/aAny node, no time constraints >2 GBn/a>4-GB node 1-2 GB<2 hours“2-hour” node, terminates after 2 hours 1-2 GB>2 hours>4-GB node

Job Management qstat or qstatus to view overall cluster usage qstat –j jobnumber for information particular to your job qdel jobnumber to kill your job

Working interactively - qinteractive To work interactively, type “qinteractive” at prompt Default RAM allotted is 256 Request x megs by typing “qinteractive x” Please use interactive nodes responsibly Limited number of spaces Testing only Logoff promptly

Questions/Comments