CCPR Workshop Lexis Cluster Introduction October 19, 2007 David Ash.

Slides:



Advertisements
Similar presentations
Chapter One The Essence of UNIX.
Advertisements

Linux Workshop Session 1 Khadka, Santosh and Panthi, Sanjeeb Computer Science Department Lamar Univers Lamar Univers ity.
ATS Programming Short Course I INTRODUCTORY CONCEPTS Tuesday, Jan. 27 th, 2009 Essential Unix Commands.
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.
Lesson 22 – Introduction to Linux Systems Administration.
UNIX Chapter 00 A “ Quick Start ” into UNIX Operating System Mr. Mohammad Smirat.
Unix Workshop Aug What is Unix Multitasking, multiuser operating system Often the OS of choice for large servers, large clusters.
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.
Understanding the Basics of Computational Informatics Summer School, Hungary, Szeged Methos L. Müller.
A crash course in njit’s Afs
Linux Commands LINUX COMMANDS.
Introduction to UNIX/Linux Exercises Dan Stanzione.
MCB Lecture #3 Sept 2/14 Intro to UNIX terminal.
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.
Chapter 9 Part II Linux Command Line Access to Linux Authenticated login using a Linux account is required to access a Linux system. The Linux prompt will.
CSE 390a Editing and Moving Files
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.
1 Intro to Linux - getting around HPC systems Himanshu Chhetri.
Essential Unix at ACEnet Joey Bernard, Computational Research Consultant.
COSC513 Project Linux Features Instructor: Prof. Mort Anvari Student: Yingfeng Luo ID: #
Cmsc 312 Operating Systems. UNIX? DOS – PC? VAX/VMS - mainframe Unix – PC, workstation, mainframe 1970 bell Lab For computer scientist? Why popular? Free.
Basic unix commands that everyone should know (Even if you have a mac) Slightly more advanced:
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction Unix-like system is everywhere Linux Android for smartphones Google Chrome OS for Chromebook Web.
CCPR Workshop Introduction to the Cluster March 2, 2005.
TAMU CSCE 313 (the basics). Basic Unix/Linux programming Accessing CS systems  PuTTY (putty.exe) – a Telnet and SSH client  Common hosts: unix.cs.tamu.edu.
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
CCPR Workshop Introduction to the Cluster July 13, 2006.
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Usage of Workstation Lecturer: Yu-Hao( 陳郁豪 ) Date:
Chapter 0 A “Quick-Start” into the UNIX Operating System.
L&T Infotech1 UNIX – Getting Started - Aneesh Ramani.
Introduction to Fortran Welcome to IT’s seminar on Fortran Sam Gordji, Weir 107.
1 Remote Access Telnet Telnet FTP FTP. 2 Applications and Communications Telnet Telnet  Program for accessing systems remotely.  Available on Windows.
Creating Programs on UNIX This term you can create programs on UNIX or you can create programs using a C++ compiler on your PC. This set of slides steps.
Introduction to Programming Using C An Introduction to Operating Systems.
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.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
1 Introduction to Unix. 2 What is UNIX?  UNIX is an Operating System (OS).  An operating system is a control program that helps the user communicate.
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Usage of Workstation Lecturer: Yu-Hao( 陳郁豪 ) Date:
Assignprelim.1 Assignment Preliminaries © 2012 B. Wilkinson/Clayton Ferner. Modification date: Jan 16a, 2014.
Review Why do we use protection levels? Why do we use constructors?
Advanced Computing Facility Introduction
Linux & Joker – An Introduction
Overview of Linux Fall 2016 Dr. Donghyun Kim
GRID COMPUTING.
ENEE150 Discussion 01 Section 0101 Adam Wang.
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.
Chapter 11 Command-Line Master Class
Web Programming Essentials:
How to use the HPCC to do stuff
Andy Wang Object Oriented Programming in C++ COP 3330
Part 3 – Remote Connection, File Transfer, Remote Environments
Assignment Preliminaries
Postdoctoral researcher Department of Environmental Sciences, LSU
College of Engineering
Web Programming Essentials:
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.
Linux Commands LINUX COMMANDS.
Quick Tutorial on MPICH for NIC-Cluster
Working in The IITJ HPC System
DIBBs Brown Dog Tutorial Setup
Maxwell Compute Cluster
Presentation transcript:

CCPR Workshop Lexis Cluster Introduction October 19, 2007 David Ash

Outline What is a cluster? ….two components What is a cluster? ….two components

Outline Continued… How can CCPR’s cluster help you? How can CCPR’s cluster help you? Lexis usage Lexis usage Connecting from Windows Connecting from Windows Unix commands Unix commands Submitting jobs Submitting jobs Managing jobs Managing jobs

Lexis Management System Jobs are submitted via cluster management system Jobs are submitted via cluster management system An advanced batch system An advanced batch system Efficiently allocates resources to jobs Efficiently allocates resources to jobs Remembers node specs and availability Remembers node specs and availability Schedules jobs according to requested resources and priority Schedules jobs according to requested resources and priority Users can easily view jobs Users can easily view jobs

How does this help your research? Remote access to software and data from anywhere! Remote access to software and data from anywhere! Incredible machines – faster processors and more memory Incredible machines – faster processors and more memory Flexible system to share data and programs with colleagues Flexible system to share data and programs with colleagues Opens up your home/office PC for other things, instead of grinding away on a Stata job Opens up your home/office PC for other things, instead of grinding away on a Stata job Advanced users: parallelization, fast compilers Advanced users: parallelization, fast compilers

Connecting to Lexis Secure Shell Software Secure Shell Software SSH (command line access) SSH (command line access) SFTP (file transferring access) SFTP (file transferring access) Obtain from: Obtain from: Alternative Client Software Alternative Client Software PuTTY (SSH) PuTTY (SSH) winSCP (SFTP) winSCP (SFTP)

Connecting to Lexis: Secure Shell Directions for SSH Secure Shell: Directions for SSH Secure Shell: Click Quick Connect Click Quick Connect Enter: Enter: Host Name: lexis.ccpr.ucla.edu Host Name: lexis.ccpr.ucla.edu User Name: your lexis account name User Name: your lexis account name Port Number: 22 Port Number: 22 Click connect and enter password Click connect and enter password Can “Add Profile” for repeat usage Can “Add Profile” for repeat usage Same for SSH Secure File Transfer Same for SSH Secure File Transfer

Mapping Lexis as a Drive using Samba Creating Lexis as a drive in Windows Explorer Creating Lexis as a drive in Windows Explorer Must use the VPN to do this action off campus! Must use the VPN to do this action off campus! Instructions I’m going to show are at: Instructions I’m going to show are at: Step-by-step instructions: Step-by-step instructions:

Mapping Lexis Open Windows Explorer Open Windows Explorer Select Tools -->Map Network Drive Select Tools -->Map Network Drive At "Folder" text box enter: At "Folder" text box enter:\\lexis.ccpr.ucla.edu\your-user-name Click "Reconnect at login" if you want the drive to be connected each time the computer starts Click "Reconnect at login" if you want the drive to be connected each time the computer starts Click the "different user name" link to enter your user name and password for the connection. 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. Click "OK" then click the "Finish" button on the Map Network Drive window.

Linux Commands passwd Change your Lexis SSH/SFTP password smbpasswd Change your Samba password pwd Print your current directory ls List files (can take arguments) ls –lah L = long, A = all, H = human readable cd AND cd.. Change directory AND Go up one directory mkdir foldername Create a directory cp file1 file2 Copy file1 to file2 mv file1 file2 Rename/Move file1 to file2 more file OR cat file Display file to screen du –h Disk Usage (-h = human readable) tar –cvf AND tar -xvf Compress a file/directory / Expand.tar gzip AND gunzip Compress a file (.gz extension) / Expand.gz ln –s actual link Creates a symbolic link/shortcut

Getting Help in Linux man command list help for command man –k command keyword search for command whatis command brief description of command which name search for name apropos keyword list commands with keyword in their description Bryan and myself.

Linux File Editors Pico – easiest editor. Open and type. Commands listed at bottom of editor. 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. Vi – more advanced. You can move around quickly, do copy/paste, search, etc, but keystrokes required for everything. Emacs – most advanced Emacs – most advanced OR edit files over Samba from Windows. OR edit files over Samba from Windows.

Submitting Stata and SAS jobs Submit jobs to the Cluster using ONE of the following commands: qjob, qstata, qsas, qmatlab Submit jobs to the Cluster using ONE of the following commands: qjob, qstata, qsas, qmatlab Will be prompted for: Will be prompted for: Job type (for qjob only!) Job type (for qjob only!) Filename Filename Amount of Memory (number in megs, ex. 1050) Amount of Memory (number in megs, ex. 1050) If memory > 1 gig --> Over 2 hours (y/n) If memory > 1 gig --> Over 2 hours (y/n) Confirmation to submit (y/n) Confirmation to submit (y/n) Quick Method: Quick Method: qstata sample.do 500 y qstata sample.do 500 y

Qstata example output Two Logs are created Two Logs are created filename.log - This is the log file from Stata. The output of your entire Stata job is captured in this file. filename.log - This is the log file from Stata. The output of your entire Stata job is captured in this file. filename.do.joblog - This file will capture the output of your cluster command file and any errors that may occur (Stata output is NOT captured by this log.) filename.do.joblog - This file will capture the output of your cluster command file and any errors that may occur (Stata output is NOT captured by this log.) filename.do.cmd - This is the command file that is submitted to the cluster. filename.do.cmd - This is the command file that is submitted to the cluster. Quick TIP: qsub filename.do.cmd Quick TIP: qsub filename.do.cmd

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

Interactive Sessions Interactive Usage Interactive Usage Meant for testing before submitting to cluster Meant for testing before submitting to cluster Limited spots Limited spots Logoff promptly when finished Logoff promptly when finished Non-GUI Interactive Session Non-GUI Interactive Session Type “qinteractive”, can also specify memory after command. Default 256mb. Type “qinteractive”, can also specify memory after command. Default 256mb. GUI Interactive Session GUI Interactive Session Login with XliveCD Login with XliveCD Type “qlive” – Run sas/matlab/xstata Type “qlive” – Run sas/matlab/xstata

Questions / Comments?