BIOSTAT LINUX CLUSTER By Helen Wang October 11, 2012.

Slides:



Advertisements
Similar presentations
Linux, it's not Windows A short introduction to the sub-department's computer systems Gareth Thomas.
Advertisements

Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
CCPR Workshop Lexis Cluster Introduction October 19, 2007 David Ash.
Cosc 4750 Getting Started in UNIX Don’t be afraid of the prompt, in linux it can be your best friend. In some cases, the only way to do certain things.
Southgreen HPC system Concepts Cluster : compute farm i.e. a collection of compute servers that can be shared and accessed through a single “portal”
VIPBG LINUX CLUSTER By Helen Wang Sept. 10, 2014.
ATS Programming Short Course I INTRODUCTORY CONCEPTS Tuesday, Jan. 27 th, 2009 Essential Unix Commands.
ECT 250: Survey of e-commerce technology Publishing pages on a Unix system.
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.
UNIX Chapter 00 A “ Quick Start ” into UNIX Operating System Mr. Mohammad Smirat.
Unix Basics. Systems Programming: Unix Basics 2 Unix Basics  Unix directories  Important Unix file commands  File and Directory Access Rights through.
Understanding the Basics of Computational Informatics Summer School, Hungary, Szeged Methos L. Müller.
A crash course in njit’s Afs
L INUX C OMMAND L INE I NTERFACE G UNAANBAN.G
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
Systems Programming Concepts
Introduction to Linux Workshop February Introduction Rob Lane & The HPC Support Team Research Computing Services CUIT.
Introduction to UNIX/Linux Exercises Dan Stanzione.
BIOSTAT LINUX CLUSTER By Helen Wang October 10, 2013.
ITCS 4/5145 Parallel Programming, UNC-Charlotte, B. Wilkinson, 2012, Jan 18, 2012assignprelim.1 Assignment Preliminaries ITCS 4145/5145 Spring 2012.
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.
Unix Primer. Unix Shell The shell is a command programming language that provides an interface to the UNIX operating system. The shell is a “regular”
CHAPTER 1 UNIX FOR NONPROGRAMMERS By U ğ ur Halıcı.
Welcome to Linux & Shell Scripting Small Group How to learn how to Code Workshop small-group/
1 Intro to Linux - getting around HPC systems Himanshu Chhetri.
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
Essential Unix at ACEnet Joey Bernard, Computational Research Consultant.
Unix Basics Chapter 4.
Introduction to Computer Organization & Systems Topics: Intro to UNIX COMP John Barr.
VIPBG LINUX CLUSTER By Helen Wang March 29th, 2013.
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.
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:
Lesson 2-Touring Essential Programs. Overview Development of UNIX and Linux. Commands to execute utilities. Communicating instructions to the shell. Navigating.
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.
Second edition Your UNIX: The Ultimate Guide Das © 2006 The McGraw-Hill Companies, Inc. All rights reserved. UNIX Commands cal – will print a calendar.
Introduction to UNIX Geraint Vaughan. What is UNIX? Command-line operating system (not point- and click) Designed for ‘experts’ Lots of different variants.
Introduction to Programming Using C An Introduction to Operating Systems.
Linux Commands C151 Multi-User Operating Systems.
Portable Batch System – Definition and 3 Primary Roles Definition: PBS is a distributed workload management system. It handles the management and monitoring.
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Usage of Workstation Lecturer: Yu-Hao( 陳郁豪 ) Date:
Introduction to LINUX command line Allegra Via IBBE, National Research Council, Italy Sapienza Università di Roma, Italy EMBO Practical Course on Computational.
INTRODUCTION TO SHELL SCRIPTING By Byamukama Frank
Assignprelim.1 Assignment Preliminaries © 2012 B. Wilkinson/Clayton Ferner. Modification date: Jan 16a, 2014.
Introduction to the Linux Command Line Interface Research Computing Systems Bob Torgerson July 19, 2016.
BIOSTAT LINUX CLUSTER By Helen Wang October 6, 2016.
Advanced Computing Facility Introduction
Overview of Linux Fall 2016 Dr. Donghyun Kim
Hackinars in Bioinformatics
GRID COMPUTING.
PARADOX Cluster job management
INTRODUCTION TO VIPBG LINUX CLUSTER
INTRODUCTION TO VIPBG LINUX CLUSTER
Chapter 11 Command-Line Master Class
Web Programming Essentials:
Linux 101 Training Module Linux Basics.
How to use the HPCC to do stuff
Andy Wang Object Oriented Programming in C++ COP 3330
BIOSTAT LINUX CLUSTER By Helen Wang October 29, 2015.
Part 3 – Remote Connection, File Transfer, Remote Environments
Assignment Preliminaries
Practice #0: Introduction
Introduction to UNIX.
Web Programming Essentials:
Andy Wang Object Oriented Programming in C++ COP 3330
Introduction to High Performance Computing Using Sapelo2 at GACRC
Working in The IITJ HPC System
Presentation transcript:

BIOSTAT LINUX CLUSTER By Helen Wang October 11, 2012

Basic Beowulf Cluster Structure

A brief look of our cluster

Biostat Beowulf Cluster Server Name: Merlot.bis.vcu.edu IP: nd server as failover: blanc.bis.vcu.edu IP: (invisible on mission) Software recommended to access servers: PC USERS: 1. MobaXtermhttp://mobaxterm.mobatek.net/ 2. ssh /open ssh / putty / winscp 3. x-windowshttp:// with license codehttp:// MAC USERS: Mac Terminal

Access Merlot from your computer How to use MobaXterm or ssh to access server Outside of VCU, use webvpn.vcu.edu to connect to server Open new session then SSH to add the server name Open “SSH settings” to fill the information remote hostname: username: YOUR_ACCOUNT_NAME port number: 22 Open session settings to put merlot in Session Name ssh –X for graphical access Select the server to test the connection and exchange keys by giving password Create profile or bookmark for the easy access every time

Access Cluster What you need to do to access to server? get username and password change your password to be qualified password: $passwd Get webvpn.vcu.edu to install VCU webvpn on your PC so you can access it from anywhere. send your home IP to administrator in order to access it from home ( not preferred) set up necessary variables to customize your personal console templates: /home/huan/.cshrc /home/huan/.login change the identity to be your name Make temp and bin directory under your home dir $mkdir tmp $mkdir bin

Access Cluster Server and nodes Master node (master1 / master2): merlot.bis.vcu.edu Running CentOS ( redhat kenrnel)Version 5.5, x86-64 Open source or Software download – choose 64 bits CentOS or RHEL 5 if possible Purposes: front-end user interface; slow; - not for running jobs – testing jobs running for 1 hour and will be terminated by system. accessible from outside by permission; Slave nodes (nodes): node1.biocl.vcu.edu – node22.biocl.vcu.edu (dual quart core Xeon processors with 64 GB RAM) Node15-22 has large memory capacity for running memory hunger jobs (96GB) Purposes: computation; not prefer to access user interface, accessible via master and managed by portable batch management ( PBS ); fast; internal network; X, not accessible directly from outside

Accessing Cluster Software available on master and nodes R 2.15 with CRAN libraries and bio_conductor libraries C++/G++ compiler, Fortran compiler ( f77/f90) Perl Python/Biopython compilers Common Open sources needed by users ( PLINK, MERLIN, IMPUTE etc.) Upon users requests SAS 9.3 is on all nodes /usr/local/bin/sas

Commands to be used on cluster Submitting R jobs on normal queue $qR MYSCRIPT ( if the script name is MYSCRIPT.R, submit it with no.R extension) each users is allowed to run jobs simultaneously Submitting jobs on large memory queue large memory queue is on node1 for memory intensive jobs ( limited 8 totally) $qRL MYSCRIPT

Template used on cluster Modify template to create your own pbs script for running programs #!/bin/bash #PBS -q serial #PBS -N MYSCRIPT # echo "******STARTING****************************" # # cd to the directory from which I submitted the job. Otherwise it will execute in my home directory. # set WORKDIR = ~/YOURWORDIR #PBS -V #echo “PBS batch job id is $PBS_JOBID“ echo "Working directory of this job is: " $WORKDIR # echo "Beginning to run job“ Command line you need to execute the job ( /home/huan/bin/calculate - PARAMETEERS) SAVE IT IN AN FILE MYSCRIPT $qsub MYSCRIPT

Commands used on cluster Submitting interactive job when there is no script command for submitting jobs using new application $qsub -I to get on a node NODE7$plink –script PLKSCRIPT Checking job status “R” Running; “E” Exiting “H” Holding “Q” Queued $qstat $qstat –n ( show which node your job is on)

Commands to be used on group Change into nodes to check the status $ssh NODE# NODE#$ top NODE#$ exit Quit or cancel job submission $qstat ( to get the jobID) #qdel YOURJOBID Limitation for the name of the SCRIPT No more than 10 characters no space in between no special characters. use a temporary name if necessary and change it back when the job is done.

General commands used in Linux List files $ls lists the files in the current directory. $ls -F shows the difference between directories and ordinary files. $ls -a lists all files, even those that are normally invisible in UNIX (files whose names start with a period, i.e..xstartup). $ls -lt |more lists files sorted by time, pipe more give you page by page display Make directory and change directory $mkdir DIR1 $cd DIR1 $cd.. Go back to upper level directory $cd Go back to your home directory Remotely copy between servers scp

General commands used in Linux Copy file or directory $cp PATH1/FILE1 PATH2/FILE2 copies the contents of FILE1 into the file FILE2 $cp –r PATH1/DIR1 PATH2/DIR2 copies the contents of DIR1 into the file DIR2 use. Instead of FILE2/DIR2 if you keep the same file/dir name. $cp PATH1/FILE1./ copies FILE1 from PATH1 to current directory with the same file name Move file or directory $mv file_name dir_name moves the file file_name from the current directory into the directory dir_name, where dir_name is a subdirectory of the current directory $mv old_file new_file renames old_file and calls it new_file.

General commands used in Linux Delete files and directory $rm my_file deletes my_file $rm –r my_dir deletes my_dir use wild card * to delete multiple files/directories $rm PLK* deletes all files start with PLK System monitoring $pslist all processes you own on system $ps guxlists only your processes. $ps aux lists all processes running on your machine $kill my_process sends a terminate signal to the process specified by the process id (PID) my_process

General commands used in Linux Display a file $more my_file displays the text of my_file one page at a time. To see the next page, hit the space bar; to see the previous page, type b; to quit paging the file, type q $less my_file similar as more but faster and has more functions Retrieve string from file $grep string filename searches filename for string. It outputs every line which contains string. $grep -v string filename outputs every line which does not contain string Display manual of a command $man COMMAND

General commands used in Linux **Printing $lpr print_file sends print_file to the default printer $lpr -Pother_printer print_file sends print_file to other_printer. Aliases for printing jobs a2psp7, a2psl7, a2psp7d, a2psl7d $aliaes print_filesends the print_file to default printer in font size 7 in portait or landscape with single or double sided Changing permissions for file and directory default permission rwx which forbids other users to view or copy $chmod 750 my_file $chmod 750 my_dir to change the permission so your group member can read copy or execute my_file /my_dir

At Last Edit file using nano or vi use samba connection to map a network drive on PC, recommending to use “EditPad Lite” Transferring files between windows and server use sftp windows to transfer use samba connection to transfer Useful links