GRID COMPUTING.

Slides:



Advertisements
Similar presentations
Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
Advertisements

Dayu Zhang 9/8/2014 Lab02. Example of Commands pwd --- show your current directory This is home of venus, not your home directory Tilde: means you are.
ISG We build general capability Job Submission on the Olympus Cluster J. DePasse; S. Brown, PhD; T. Maiden Pittsburgh Supercomputing Center Public Health.
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.
CS1020: Intro Workshop. Topics CS1020Intro Workshop Login to UNIX operating system 2. …………………………………… 3. …………………………………… 4. …………………………………… 5. ……………………………………
Dayu Zhang 9/3/2014 Lab01. Lab Instructor: Dayu Zhang Office Hour Mon/Wed 10:40am – 11:10am Room A201 Lab Website
Virtual Machine and UNIX. What is a VM? VM stands for Virtual Machine. It is a software emulation of hardware. By using a VM, you can have the same hardware.
Understanding the Basics of Computational Informatics Summer School, Hungary, Szeged Methos L. Müller.
L INUX C OMMAND L INE I NTERFACE G UNAANBAN.G
Introduction to Linux Workshop February Introduction Rob Lane & The HPC Support Team Research Computing Services CUIT.
Introduction to UNIX/Linux Exercises Dan Stanzione.
ITCS 4/5145 Parallel Programming, UNC-Charlotte, B. Wilkinson, 2012, Jan 18, 2012assignprelim.1 Assignment Preliminaries ITCS 4145/5145 Spring 2012.
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.
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
Cmsc 312 Operating Systems. UNIX? DOS – PC? VAX/VMS - mainframe Unix – PC, workstation, mainframe 1970 bell Lab For computer scientist? Why popular? Free.
HPC at HCC Jun Wang Outline of Workshop1 Overview of HPC Computing Resources at HCC How to obtain an account at HCC How to login a Linux cluster at HCC.
1 Editing a C Program 01/16/15. 2 Objective Use Linux to edit, compile and execute a C program.
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Usage of Workstation Lecturer: Yu-Hao( 陳郁豪 ) Date:
1 Lab 2 “Hello world” in Unix/Linux #include "std_lib_facilities_4.h" int main(){ cout
Next Unix Topics Tuesday, 2/11 & 18/2014. Change Password (by 2/14/14) ssh to account on – faclinux.cse.ohio-state.edu – stdlinux.cse.ohio-state.edu passwd.
Unix and Samba By: IC Labs (Raj Kidambi). What is Unix?  Unix stands for UNiplexed Information and Computing System. (It was originally spelled "Unics.")
1May 16, 2005 Week 2 Lab Agenda Command Line FTP Commands Review More UNIX commands to learn File name expansion - * Introduction of vi.
Introduction to Programming Using C An Introduction to Operating Systems.
Linux Commands C151 Multi-User Operating Systems.
CS 245 – Part 1 Using Operating Systems and Networks for Programmers Jiang Guo Dept. of Computer Science California State University Los Angeles.
More on Using onyx 8/28/13. Program 1 Due a week from today. See website for details.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
INTRODUCTION TO SHELL SCRIPTING By Byamukama Frank
An Brief Introduction Charlie Taylor Associate Director, Research Computing UF Research Computing.
Bash Scripting CIRC Summer School 2016 Baowei Liu CIRC Summer School 2016 Baowei Liu.
Advanced Computing Facility Introduction
Linux & Joker – An Introduction
Hackinars in Bioinformatics
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.
Tutorial of Unix Command & shell scriptS 5027
Welcome to Indiana University Clusters
CS1010: Intro Workshop.
Development Environment Basics
CIRC Winter Boot Camp 2017 Baowei Liu
Getting started with CentOS Linux
Prepared by: Eng. Maryam Adel Abdel-Hady
Linux 101 Training Module Linux Basics.
Welcome to Indiana University Clusters
Linux Commands Help HANDS ON TRAINING Author: Muhammad Laique
UNIX The Basics Source:
How to use the HPCC to do stuff
Andy Wang Object Oriented Programming in C++ COP 3330
Some Linux Commands.
C151 Multi-User Operating Systems
Shell Script Assignment 1.
Assignment Preliminaries
Practice #0: Introduction
Ubuntu Working in Terminal
Tutorial of Unix Command & shell scriptS 5027
Postdoctoral researcher Department of Environmental Sciences, LSU
Tutorial of Unix Command & shell scriptS 5027
Intro to UNIX System and Homework 1
Web Programming Essentials:
Tutorial of Unix Command & shell scriptS 5027
Run Java file with Window cmd
High Performance Computing in Bioinformatics
Getting started with CentOS Linux
Andy Wang Object Oriented Programming in C++ COP 3330
Tutorial Unix Command & Makefile CIS 5027
Module 6 Working with Files and Directories
Lab 2: Terminal Basics.
Working in The IITJ HPC System
Presentation transcript:

GRID COMPUTING

What IS grid ? Interconnected computer systems where the machines utilize the same resources collectively. Grid computing usually consists of one main computer that distributes information and tasks to a group of networked computers to accomplish a common goal. Grid computing is often used to complete complicated or tedious mathematical or scientific calculations.

Wayne State university grid Grid handles projects requiring high speed computation, parallel and distributed computing, data management, and computationally intensive applications. Enabling users to utilize numerous processors in different systems simultaneously. High speed networks Processing power of 8,212 cores 56TB of RAM 1.2PB of disk space

Connecting to grid Double-click on Putty application Enter 'grid.wayne.edu' as 'Host Name‘ Click on Window option on the left and change the count of number of lines to scroll back as per requirement Click on Open Enter your access id when asked for ‘login as’ followed by your academica password

Basic linux commands After logging in to the grid, try these basic linux commands: 1. ls - listing files in the current directory 2. pwd - to check the present working directory 3. vi test - vi is a file editor. Opens file ‘test’ Press i - change to insert mode Enter text Press [ESC] and then :wq to exit out of vi editor 4. cat test - to display the contents of the file test 5. cp test test1 - to copy contents of test to test1 6. cat test1 7. mv test test2 - to rename the file test to test2 8. cat test2 - check the contents of test2 to be same as test 9. mkdir dir - to make a directory named dir 10. mv test1 test2 dir - to move the files test1 and test2 to directory dir 11. cd dir - to change the current directory to dir 12. pwd - check that your pwd before had given different path 13. ls 14. rm test1 - to delete the file test1 15. ls 16. cd .. - change to parent directory 17. rm -rf dir - to delete directory dir and its contents

Running a Simple Job Log in to the Grid. Copy the script from the destination to home directory as follows : cp /wsu/apps/scripts/tutorial/simple_job . Run the simple job script by typing: qsub simple_job Check to see that your job is running by typing the following command : qme You can login to the node that your job is running on by typing: ssh $HOSTNAME When your job is finished you should have an error and an output file in your home directory, check by typing: ls The job script can be viewed in the file simple_job by typing 'vim simple_job'. This is the simple_job script: #!/bin/bash ## Script is submitted to this Queue: #PBS -q wsuq ## One core and 1GB of RAM selected: #PBS -l select=1:ncpus=1:mem=1GB ## Commands to be executed: ## Sleep for 5 minutes: sleep 300

Running an interactive job Provides a shell prompt, which allows users to execute commands and scripts as they would on the login nodes  Usually used to debug the script and understand the errors Command to start : qsub -I Creates a single ssh session with 1 core and 1GB of RAM To use one node and 2 processors on that one node with queue as wsuq we type as follows: qsub -I -q wsuq -l nodes=1:ppn=2

Running an interactive job (Example) Following are the steps to follow to run an interactive job. Type ‘echo $HOSTNAME’ to notice output as ‘commodore.grid.wayne.edu’ 1. To use one node and 2 processors on that one node with queue as wsuq we type as follows: qsub -I -q wsuq -l nodes=1:ppn=2 2. You should now be on a node in the wsuq. Type these commands: date  will prompt today’s date echo $HOSTNAME  will prompt hostname which is different from ‘commodore.grid.wayne.edu’ , ensuring you are on other node. 3. ls command is used to list all files in current directory. Even if you are on different node, access to home directory still exists. Verify that using ‘ls –al’ 4. Type ‘exit’ to exit the node Following is the script we will be trying to run interactively. #!/bin/bash #PBS -l -q wsuq -l nodes=1:ppn=2 date echo $HOSTNAME

Running a Multicore Job Log in to the Grid. Copy the script from the destination to home directory as follows : cp /wsu/apps/scripts/tutorial/multicore_job . Run the multicore job script by typing: qsub multicore_job Check to see that your job is running by typing the following command : qme You can login to the node that your job is running on by typing: ssh $HOSTNAME When your job is finished you should have an error and an output file in your home directory, check by typing: ls The job script can be viewed in the file multicore_job by typing 'vim multicore_job'. This is the multicore_job script: #!/bin/bash ## Script is submitted to this Queue: #PBS -q wsuq ## Eight cores and 1GB of RAM selected: #PBS -l select=1:ncpus=8:mem=1GB:mpiprocs=8 ## Commands to be executed: ## Provides date: echo Date job ran: date ## Provides hostname: echo Host: echo $HOSTNAME ## Provides location of processes: echo Location of processes: cat $PBS_NODEFILE ## Sleep for 5 minutes: sleep 300

Running a LS-DYNA Job Log in to the Grid. Copy the script from the destination to home directory as follows : cp /wsu/apps/scripts/tutorial/tensile.k . Also copy the jobscript by typing the following: cp /wsu/apps/scripts/tutorial/jobfile.txt . Create a jobfile by typing as follows: vi jobfile.txt Make sure your jobfile.txt and tensile.k are in same directory Press the Escape key and type :wq to save and quit. To submit the job type `qsub jobfile.txt` Check to see that your job is running by typing the following command : qme The output can be found in the file named ‘outputfile.txt’ Following are the contents of jobfile.txt #!/bin/bash #PBS -N tensile #PBS -l select=1:cpu_type=Intel:ncpus=4 #PBS -j oe #PBS -m ea #PBS -M AccessID@wayne.edu module load ls-dyna-r8.0.0 ls-dyna_smp_s_r8_0_0_x64_redhat59_ifort131 i=tensile.k ncpus=4 > outputfile.txt

You can always find this information on our grid website. WWW. GRID You can always find this information on our grid website. WWW.GRID.WAYNE.EDU