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

Introduction to Eclipse. Start Eclipse Click and then click Eclipse from the menu: Or open a shell and type eclipse after the prompt.
Grid Computing, Barry Wilkinson, 2004A3.1 Assignment 3 Simple Job Submission Using GRAM.
A3.1 Assignment 3 Simple Job Submission Using GT 4 GRAM.
1 Workshop 20: Teaching a Hands-on Undergraduate Grid Computing Course SIGCSE The 41st ACM Technical Symposium on Computer Science Education Friday.
CSCI 1411 FUNDAMENTALS OF COMPUTING LAB Lab Introduction 1 Shane Transue MSCS.
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.
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.
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.
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 Short Course on Grid Computing Jornadas Chilenas de Computación 2010 INFONOR-CHILE 2010 November 15th - 19th, 2010 Antofagasta, Chile Dr. Barry Wilkinson.
1 Workshop 20: Teaching a Hands-on Undergraduate Grid Computing Course SIGCSE The 41st ACM Technical Symposium on Computer Science Education Friday.
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.
Agenda What is Computer Programming? The Programming Process
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.
CSE 390a Editing and Moving Files
 Accessing the NCCS Systems  Setting your Initial System Environment  Moving Data onto the NCCS Systems  Storing Data on the NCCS Systems  Running.
December 8 & 9, 2005, Austin, TX SURA Cyberinfrastructure Workshop Series: Grid Technology: The Rough Guide Grid Technology: The Rough Guide Grid Building.
The gLite API – PART I Giuseppe LA ROCCA INFN Catania ACGRID-II School 2-14 November 2009 Kuala Lumpur - Malaysia.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
ITCS 4/5010 CUDA Programming, UNC-Charlotte, B. Wilkinson, Dec 28, 2012assignprelim.1 Assignment Preliminaries ITCS 4010/5010 Spring 2013.
National Computational Science National Center for Supercomputing Applications National Computational Science NCSA-IPG Collaboration Projects Overview.
CPSC 233 Run graphical Java programs remotely on Mac and Windows.
Grid Infrastructure group (Charlotte): Barry Wilkinson Jeremy Villalobos Nikul Suthar Keyur Sheth Department of Computer Science UNC-Charlotte March 16,
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
Security Planning and Administrative Delegation Lesson 6.
APST Internals Sathish Vadhiyar. apstd daemon should be started on the local resource Opens a port to listen for apst client requests Runs on the host.
1 Introduction to Teaching Grid Computing Dr. Clayton Ferner University of North Carolina Wilmington Dr. Barry Wilkinson University of North Carolina Charlotte.
Unix Machine In Computer Science for Teaching Cliff Zou Spring 2015.
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 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.
FTP COMMANDS OBJECTIVES. General overview. Introduction to FTP server. Types of FTP users. FTP commands examples. FTP commands in action (example of use).
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
1 P-GRADE Portal hands-on Gergely Sipos MTA SZTAKI Hungarian Academy of Sciences.
LCG2 Tutorial Viet Tran Institute of Informatics Slovakia.
SSH. 2 SSH – Secure Shell SSH is a cryptographic protocol – Implemented in software originally for remote login applications – One most popular software.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
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.
Reading e-Science Centre
CNIT131 Internet Basics & Beginning HTML
Creating and running applications on the NGS
Part 3 – Remote Connection, File Transfer, Remote Environments
FTP - File Transfer Protocol
Assignment Preliminaries
File Transfer Olivia Irving and Cameron Foss
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
slides borrowed and adapted from Alex Mariakis and CSE 390a
Configuring Internet-related services
CGS 3175: Internet Applications Fall 2009
Grid Computing Software Interface
DIBBs Brown Dog Tutorial Setup
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 13, 2010 © Barry Wilkinson Session 2 Using a command line to run Grid jobs

2 Remote connection to servers 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 and command.

Traditional way from a Windows system is to use PuTTY for a command line remote access. Download from above. PuTTY coit-grid01.uncc.edu or torvalds.cis.uncw.edu depending upon which server you wish to connect to Select ssh Can save entry and reload 3

WinSCP 4 Commands

5 Log onto server Use given ssh password (NOT portal password)

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

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 class assignment, students learn how to get and store their signed certificates and private key in their account (.globus directory) For Session 2, as with Session 1, we will use the myProxy server that more conveniently holds users credentials for the user. User “certificates” 7

Now need to get a proxy certificate to delegate authority. For session 2, we will 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 8

Task 1 Submit a simple job to the local machine Asks you to submit a job (hostname) using the –c option (to specify a binary executable and –s option to specific streaming output back to the console: globusrun-ws -submit -F localhost:8440 -s -c /bin/hostname This should simply work. You are asked to check the output. 9

Task 2 Submit a simple job to remote machine Asks you to submit job to a remote machine: globusrun-ws -submit -F torvalds.uncw.edu -s -c /bin/hostname This should simply work. You are asked to check the output. 10

Next you are asked to submit the mulch job from Session 1 but using commands and XML job description files. 11 Task 3 Submit a job with a job description document Compute area of flower bed torvaldscoit-grid01 area_ output Compute volume and cost of mulch globus-url-copy mulch_ output globus-url-copy mulch_ output area_ output

12 Provided files on coit-grid01.uncc.edu myIntegral.classJava class file for the myIntegral.java program that computes the area of the flowerbed. The instructions call for the output to be redirected to a file called area_output. myIntegral.xmlJob description file to execute myIntegral.class. myMulch.xmlJob description file to execute myMulch.class. mulch2.xmlGeneric job description file to execute myMulch.class with input and output file staging on torvalds.cis.uncw.edu, and file clean-up. myIntegral.java and myMulch.java are also provided for completeness although you do not need to use it.

13 Provided files on torvalds.cis.uncw.edu myMulch.classJava class file for myMulch.java program that computes volume and cost of mulch over flowerbed, given the area of the flowerbed in the file named as the first and only argument (area_output)

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

Submit job using: globusrun-ws -submit -F localhost:8440 -f myIntegral.xml 15 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.cis.uncw.edu/home/grid/ / Note first URL is source and second is destination. Use your ssh username in command 16 Note three /// to indicate localhost

17 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 18 Submit a job to run on a different computer

19 Task 4 File staging Modify job description file to include moving area file to torvalds and moving result back automatically rather than use globus-url-copy, and also add file clean-up

20 /usr/local/java/bin/java ${GLOBUS_USER_HOME} myMulch area_output ${GLOBUS_USER_HOME}/mulch_output ${GLOBUS_USER_HOME}/mulch_error 1 gsiftp://coit-grid01.uncc.edu:2811/nfs- home/ /area_output file:///home/grid/ /. File staging job description file

21 file:///home/grid/ /mulch_output gsiftp://coit-grid01.uncc.edu:2811/nfs- home/ / file:///home/grid/ /area_output file:///home/grid/ /mulch_output file:///home/grid/ /mulch_error File staging job description file cont.

22 Questions