1 Short Course on Grid Computing Jornadas Chilenas de Computación 2010 INFONOR-CHILE 2010 November 15th - 19th, 2010 Antofagasta, Chile Dr. Barry Wilkinson.

Slides:



Advertisements
Similar presentations
Secure File Transfer Protocol (SFTP) With Secure Copy (SC) What is a Secure File Transfer Protocol with Secure Copy???
Advertisements

Grid Resource Allocation Management (GRAM) GRAM provides the user to access the grid in order to run, terminate and monitor jobs remotely. The job request.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
1 Workshop 20: Teaching a Hands-on Undergraduate Grid Computing Course SIGCSE The 41st ACM Technical Symposium on Computer Science Education Friday.
Academic Technology Services The UCLA Grid Portal - Campus Grids and the UC Grid Joan Slottow and Prakashan Korambath Research Computing Technologies UCLA.
CSCI 1411 FUNDAMENTALS OF COMPUTING LAB Lab Introduction 1 Shane Transue MSCS.
1 GridNexus © 2007 Clayton S. Ferner GridNexus UNCW GUI for Workflow Management Clayton Ferner
1c.1 Assignment 2 Preliminaries Review Full details in assignment write-up. ITCS 4146/5146 Grid Computing, 2007, UNC-Charlotte, B. Wilkinson. Jan 24, 2007.
AssignPrelim1.1 © 2011 B. Wilkinson/Clayton Ferner. Modification date: Aug 22, 2011 Course Preliminaries.
1 Workshop 20: Teaching a Hands-on Undergraduate Grid Computing Course SIGCSE The 41st ACM Technical Symposium on Computer Science Education Friday.
Slides for Grid Computing: Techniques and Applications by Barry Wilkinson, Chapman & Hall/CRC press, © Chapter 1, pp For educational use only.
1 Short Course on Grid Computing Jornadas Chilenas de Computación 2010 INFONOR-CHILE 2010 November 15th - 19th, 2010 Antofagasta, Chile Dr. Barry Wilkinson.
Tutorial on Distributed High Performance Computing 14:30 – 19:00 (2:30 pm – 7:00 pm) Wednesday November 17, 2010 Jornadas Chilenas de Computación 2010.
AssignPrelim1.1 ITCS 4010 Grid Computing, 2005, UNC-Charlotte, B. Wilkinson. Course Preliminaries.
1-2.1 Grid computing infrastructure software Brief introduction to Globus © 2010 B. Wilkinson/Clayton Ferner. Spring 2010 Grid computing course. Modification.
AssignPrelim1.1 ITCS 4146/5146 Grid Computing, 2007, UNC-Charlotte, B. Wilkinson. Jan 13, 2007 Course Preliminaries.
Sun Grid Engine Grid Computing Assignment – Fall 2005 James Ruff Senior Department of Mathematics and Computer Science Western Carolina University.
Assignment 3 Using GRAM to Submit a Job to the Grid James Ruff Senior Western Carolina University Department of Mathematics and Computer Science.
1 Teaching Grid Computing across North Carolina and Beyond Dr. Clayton Ferner University of North Carolina Wilmington Dr. Barry Wilkinson University of.
1c.1 Assignment 2 Preliminaries Review (Full details in assignment write-up.)‏ © 2010 B. Wilkinson/Clayton Ferner. Spring 2010 Grid computing course. Modification.
1 Workshop 20: Teaching a Hands-on Undergraduate Grid Computing Course SIGCSE The 41st ACM Technical Symposium on Computer Science Education Friday.
GridNexus © 2009 Clayton S. Ferner 1 GridNexus UNCW GUI for Workflow Management Clayton Ferner
1 GridNexus © 2005 Clayton S. Ferner GridNexus UNCW GUI for Workflow Management Clayton Ferner
1 Workshop 20: Teaching a Hands-on Undergraduate Grid Computing Course SIGCSE The 41st ACM Technical Symposium on Computer Science Education Friday.
1 Workshop 20: Teaching a Hands-on Undergraduate Grid Computing Course SIGCSE The 41st ACM Technical Symposium on Computer Science Education Friday.
Outline.1 Grid Computing Spring 2007 Tuesday/Thursday 11:00 am - 12:15 pm Instructors Dr. Barry Wilkinson University of North Carolina, Charlotte and Dr.
1c.1 Assignment 2 Preliminaries Review (Full details in assignment write-up.)‏ © 2011 B. Wilkinson/Clayton Ferner. Fall 2011 Grid computing course. Modification.
1 Short Course on Grid Computing Jornadas Chilenas de Computación 2010 INFONOR-CHILE 2010 November 15th - 19th, 2010 Antofagasta, Chile Dr. Barry Wilkinson.
Tutorial on Distributed High Performance Computing 14:30 – 19:00 (2:30 pm – 7:00 pm) Wednesday November 17, 2010 Jornadas Chilenas de Computación 2010.
Globus Computing Infrustructure Software Globus Toolkit 11-2.
Getting Started with Linux: Novell’s Guide to CompTIA’s Linux+ (Course 3060) Section 2 Use the Linux Desktop.
ITCS 6/8010 CUDA Programming, UNC-Charlotte, B. Wilkinson, Jan 22, 2011assignprelim.1 Assignment Preliminaries ITCS 6010/8010 Spring 2011.
Overview of TeraGrid Resources and Usage Selim Kalayci Florida International University 07/14/2009 Note: Slides are compiled from various TeraGrid Documentations.
1 History and New Developments in State-wide Grid Computing Course NC A & T University Saturday Oct 18, 2008 Dr. Barry Wilkinson University of North Carolina.
ITCS 4/5145 Parallel Programming, UNC-Charlotte, B. Wilkinson, 2012, Jan 18, 2012assignprelim.1 Assignment Preliminaries ITCS 4145/5145 Spring 2012.
 Accessing the NCCS Systems  Setting your Initial System Environment  Moving Data onto the NCCS Systems  Storing Data on the NCCS Systems  Running.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
High Performance Louisiana State University - LONI HPC Enablement Workshop – LaTech University,
The gLite API – PART I Giuseppe LA ROCCA INFN Catania ACGRID-II School 2-14 November 2009 Kuala Lumpur - Malaysia.
Drexel University Software Engineering Research Group 1 Eclipse for SE101.
Instructors begin using McGraw-Hill’s Homework Manager by creating a unique class Web site in the system. The Class Homepage becomes the entry point for.
ITCS 4/5010 CUDA Programming, UNC-Charlotte, B. Wilkinson, Dec 28, 2012assignprelim.1 Assignment Preliminaries ITCS 4010/5010 Spring 2013.
The PROGRESS Grid Service Provider Maciej Bogdański Portals & Portlets 2003 Edinburgh, July 14th-17th.
CPSC 233 Run graphical Java programs remotely on Mac and Windows.
Getting Started with MATLAB 1. Fundamentals of MATLAB 2. Different Windows of MATLAB 1.
Grid NERSC demo Shreyas Cholia Open Software and Programming NERSC User Group Meeting September 19, 2007.
Grid Infrastructure group (Charlotte): Barry Wilkinson Jeremy Villalobos Nikul Suthar Keyur Sheth Department of Computer Science UNC-Charlotte March 16,
1 SIGCSE 2008 Technical Symposium on Computer Science Education Thursday, March 13, 2008 Towards a Top-Down Approach to Teaching an Undergraduate Grid.
ITCS 4/5010 CUDA Programming, UNC-Charlotte, B. Wilkinson Dec 24, 2012outline.1 ITCS 4010/5010 Topics in Computer Science: GPU Programming for High Performance.
1 Short Course on Grid Computing Jornadas Chilenas de Computación 2010 INFONOR-CHILE 2010 November 15th - 19th, 2010 Antofagasta, Chile Dr. Barry Wilkinson.
Outline.1 Grid Computing Fall 2008 Tuesday/Thursday 11:00 am - 12:15 pm Instructors Grid Computing, B. Wilkinson, 2008 Aug Dr. Clayton Ferner.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Outline.1 Grid Computing Fall 2011 Tuesday/Thursday 9:30 am - 10:45 pm Instructors © 2011 B. Wilkinson/Clayton Ferner. Modification date: Aug 22, 2011.
ITCS 4/5145 Parallel Programming, UNC-Charlotte, B. Wilkinson, Dec 26, 2012outline.1 ITCS 4145/5145 Parallel Programming Spring 2013 Barry Wilkinson Department.
1 Introduction to Teaching Grid Computing Dr. Clayton Ferner University of North Carolina Wilmington Dr. Barry Wilkinson University of North Carolina Charlotte.
1 Workshop 9: General purpose computing using GPUs: Developing a hands-on undergraduate course on CUDA programming SIGCSE The 42 nd ACM Technical.
1 Getting Started with C++ Part 2 Linux. 2 Getting Started on Linux Now we will look at Linux. See how to copy files between Windows and Linux Compile.
Manchester Computing Supercomputing, Visualization & eScience Seamless Access to Multiple Datasets Mike AS Jones ● Demo Run-through.
Assignprelim.1 Assignment Preliminaries © 2012 B. Wilkinson/Clayton Ferner. Modification date: Jan 16a, 2014.
Assignprelim.1 Assignment Preliminaries © 2012 B. Wilkinson/Clayton Ferner. Modification date: Aug 10, 2012.
Interacting with the cluster ssh, sftp, & slurm batch scripts
GRID COMPUTING.
Creating and running applications on the NGS
Part 3 – Remote Connection, File Transfer, Remote Environments
Assignment Preliminaries
File Transfer Olivia Irving and Cameron Foss
CCR Advanced Seminar: Running CPLEX Computations on the ISE Cluster
Configuring Internet-related services
CGS 3175: Internet Applications Fall 2009
Grid Computing Software Interface
Presentation transcript:

1 Short Course on Grid Computing Jornadas Chilenas de Computación 2010 INFONOR-CHILE 2010 November 15th - 19th, 2010 Antofagasta, Chile Dr. Barry Wilkinson University of North Carolina Charlotte Oct 12, 2010 © Barry Wilkinson Session 1 Using a Grid portal, command line, and job schedulers to run Grid jobs

Workshop Grid platform

Users Each dual Xeon processors (3.4Ghz) Four quad-core Xeon processors (2.93Ghz) 64GB main memory 1.2 TB disk coit- grid04 coit-grid01.uncc.edu – coit-grid05.uncc.edu switch coit- grid05 coit- grid02 coit- grid03 coit- grid01 All user’s home directories (NFS) UNC-Charlotte system used for workshop

Grid computing portal Portal provides single sign-on to all grid resources. 4

PURSe registration portlet (select Registration tab from login page)‏ Used for students to register and get their accounts. 5

Registration activities 6 For this workshop, we have setup workshop accounts and user certificates as an expedient.

1-2.7 Grid information tab Once logged into Grid portal, user will see a number of tabs across top, which enable user to perform many basic tasks. 7

1-2.8 Proxies To use many services, you are required to have a proxy certificate (a proxy). Proxy is an electronic document that enables resources to be accessed on user’s behalf. Very convenient to use credential management service called myProxy to hold proxies Usually, Gridsphere automatically obtains a proxy from the myProxy server for you when you log in. 8

Proxy management tab 9 For security reasons, proxies have limited lifetimes, so may need to renew them

File management tab 10

11 Interactive job submission tab

12 Command line access to a Grid platform

13 You will need an ssh client to make a secure shell connection. For Windows, more than one option: Putty ssh client WinSCP sftp client (also includes restricted console interface and simple text editor) (Linux already has an ssh client.) Command line access to a Grid platform

All files are provided for the workshop but you will need an editor such as nano below to edit the files. Control key commands: - Control-O to save, Control-X to exit 14

Each user needs a certificate issued (signed) by a “certificate authority” (CA). A certificate authority is set up on coit- grid02.uncc.edu. Uses Globus simpleCA package. In our course at UNCC, students learn how to get and store their signed certificates and private key in their account (.globus directory) For this workshop, we will use the myProxy server that more conveniently holds users credentials for the user. User “certificates” 15

Now need to get a proxy certificate to delegate authority. Obtain a proxy from the myProxy server by issuing the command: myproxy-logon -s coit-grid02.uncc.edu You will be prompted for a passphase, which will be the same as your portal password. Can check that you got a proxy with the command: grid-proxy-info which will show the proxy subject and time left. Getting a proxy 16

Submit a simple job to the local machine Using globusrun-ws command: globusrun-ws -submit -F localhost:8440 -s -c /bin/hostname Job above is bin/hostname –c option to specify a binary executable –s option to specific streaming output back to the console: 17

Submit a simple job to remote machine globusrun-ws command: globusrun-ws -submit -F torvalds.uncw.edu -s -c /bin/hostname 18

19 Using a graphical workflow editor to construct and run distributed Grid jobs

GridNexus GridNexus is a graphical workflow editor that allows the user to create/edit/run workflows, developed by University of North Carolina at Wilmington. Based on Ptolemy II which provides GUI and workflow features. Has been extended to provide Grid computing functionality including to create distributed job and web/grid service workflows Freely available for download 20

GridNexus User Interface Main frame on right is palette for building workflows Upper left frame provides library of modules Lower left frame is a thumbnail of entire workflow 21 Select and drag workflow components and interconnect them Run workflow

Sources, sinks, and transformers Sources produce data without needing input Sinks consume data but may have side effects (such as displaying results) All workflows must start with sources and end with sinks. Transformers take inputs and produce outputs 22

Simple Example 1 A link (or relation) is created between the two modules The output of Const is consumed by the JxplDisplay 23

Simple Example 1 Click on the run button ( ) JxplDisplay* evaluates the input and produces a display window to show the results. *JXMP is a Lisp-based XML language designed for Grid Nexus 24

Simple Example 2 Transformers are modules that take input, transform it, and produce new output This example computes the express: (23 + 6) ∙ -2 25

The Prog Prog (short for Program) module allows one to execute separate workflows Prog primitive evaluates each of its inputs in turn It returns the results of the last one evaluated 26

GridExec (GRAM Client) The GridExec module will run an application on a service using GRAM The Factory Contact is the URL of the server If a Simple command is given, GridExec will construct an RSL file to run it 27 /bin/echo Hello world from GridNexus ${GLOBUS_USER_HOME}/stdout ${GLOBUS_USER_HOME}/stderr

28 Hands-on practice sessions on Grid platform

29 Hands-on practice sessions on Grid platform A distributed job will first be executed using the portal and then the same job will be executed on the command line. Then it will be executed using a graphical workflow editor Although at first sight, one would think a portal is best, we shall see how present-day portals can be restrictive.

30 Task – Mulch on a Flowerbed Add 4 inches of mulch. How much mulch? Uses both UNC-C servers and UNC-W cluster. Compute the volume/cost of mulch to cover a flowerbed 4 inches thick.

31 Two programs myIntegral.java Program to compute the area of the flowerbed To be executed on coit-grid01.uncc.edu myMulch.java Program to compute the volume and cost of mulch given the area of the flowerbed computed above. To be executed on torvalds.uncw.edu As an expedient, we will provide the programs.

32 Compute area of flower bed torvaldscoit-grid01 area_ output Compute volume and cost of mulch globus-url-copy mulch_ output copy mulch_ output area_ output Note- this is a pipeline computation – increased performance would only result if multiple jobs could be submitted in succession.

33 Using Portal Interactive job submission window File management window

34 Now an XML job description file will be used, which describes the job (executable, input and outfiles, etc.) More powerful way than simply specifying an executable with –c option in globusrun-ws. Job Description Files Using Command Line

/usr/local/java/bin/java ${GLOBUS_USER_HOME} myIntegral ${GLOBUS_USER_HOME}/area_output ${GLOBUS_USER_HOME}/area_error 1 35 Java program to execute myIntegral job description file

Submit job using: globusrun-ws -submit -F localhost:8440 -f myIntegral.xml 36 Submit a job with a job description document

Transfer the output to torvalds Use globus-url-copy command: globus-url-copy file:///nfs-home/ /area_output gsiftp://torvalds.uncw.edu/home/grid/ / 37

38 myMulch job description /usr/local/java/bin/java ${GLOBUS_USER_HOME} myMulch area_output ${GLOBUS_USER_HOME}/mulch_output ${GLOBUS_USER_HOME}/mulch_error 1 Java program to execute

Next step is run second program, myMulch.java, from coit-grid01 but to run on remote machine torvalds.cis.uncw.edu Command: globusrun-ws -submit -F torvalds.uncw.edu -f myMulch.xml 39 Submit a job to run on a different computer

40 File staging Job description file can be modified to include moving area file to torvalds and moving result back automatically rather than use globus-url- copy, and also add file clean-up.

41 Using GridNexus Workflow of complete computation across two servers (Grid nodes), one at UNC-C and one at UNC-W

42 Questions