Part Five: Globus Job Management - PowerPoint PPT Presentation

1 / 18
About This Presentation
Title:

Part Five: Globus Job Management

Description:

globus-job-run hostX/jobmanager-condor /bin/hostname. You will do this for most real work ... Jaime Frey, Condor Group, UW-Madison ... – PowerPoint PPT presentation

Number of Views:16
Avg rating:3.0/5.0
Slides: 19
Provided by: davidg69
Category:
Tags: condor | five | globus | job | management | part

less

Transcript and Presenter's Notes

Title: Part Five: Globus Job Management


1
(No Transcript)
2
Part FiveGlobus Job Management
3
Part Five Globus Job Management
  • A GRAM
  • B Globus Job Commands
  • C Laboratory globusrun

4
A GRAM
5
GRAM What is it?
  • Given a job specification
  • Create an environment for a job
  • Stage files to/from the environment
  • Submit a job to a local scheduler
  • Monitor a job
  • Send job state change notifications
  • Stream a jobs stdout/err during execution

6
GRAM Some Terminology
  • We speak loosely most of the time, but
  • Globus Job Management Service
  • Starts up and monitors jobs
  • Stages data in and out
  • GRAM
  • Protocol to communicate with the job management
    service
  • We often say GRAM as a shorthand for either of
    these

7
GRAM How Does it Work?
Head Node a.k.a Gatekeeper
Compute Resource
Gatekeeper (Authenticates Authorizes)
GRAM
Client
Results
Job Manager (Submits job Monitors job)
8
GRAM What is a Local Resource Manager?
  • Its usually a batch system that allows you to
    run jobs across a cluster of computers
  • Examples
  • Condor
  • PBS
  • LSF
  • Sun Grid Engine
  • Most systems allow you to access fork
  • Its the default
  • It runs on the gatekeeper a bad idea in general,
    but okay for testing

9
GRAM RSL
  • The client describes the job with the Resource
    Specification Language (RSL)
  • (executable a.out)
  • (directory /home/nobody )
  • (arguments arg1 "arg 2")
  • You dont usually need to specify RSL directly,
    unless you have special needs.
  • http//www.globus.org/gram/rsl_spec1.html

10
GRAM Security
  • GRAM uses GSI for security
  • Submitting a job requires a full proxy
  • The remote system your job will get a limited
    proxy
  • The job will runyou had a full proxy when you
    submitted
  • But your job cannot submit other jobs

11
Making your job batch ready
  • Must be able to run in the background no
    interactive input, windows, GUI, etc.
  • Can still use STDIN, STDOUT, and STDERR (the
    keyboard and the screen), but files are used for
    these instead of the actual devices
  • Organize data files
  • Must be able to be run multiple times, sometimes
    incomplete

12
GRAM Basic Usage
  • globus-job-run hostX /bin/hostname
  • This runs /bin/hostname on hostX
  • It expects /bin/hostname to already be there
  • globusrun -o -r hostX (executable/bin/echo)
    (argumentsHello Grid)
  • This is the RSL
  • We could specify lots of things here, but we
    didnt
  • These just ran with the fork job manager, not an
    interesting batch system

13
GRAM Running on a Batch System
  • Append the batch system to the hostname
  • globus-job-run hostX/jobmanager-condor
    /bin/hostname
  • You will do this for most real work
  • The batch system can handle many more jobs
  • Batch systems are reliable and track your jobs
  • Fork is not reliable, and your job may be lost

14
B Globus Job Commands
15
Globus Job Commands
  • globus-job-run contact-string command
  • globus-job-submit contact-string command
  • globus-job-status contact-string
  • globus-job-get-output contact-string
  • globus-job-clean contact-string
  • globusrun

16
Lab 5 globusrun
17
Lab 5 globusrun
  • In this lab, youll
  • Set up your environment for job submission
  • Submit simple jobs with globus-job-run and
    globus-job-submit
  • Use globus RSL
  • Stage data with globusrun RSL

18
Credits
  • NSF disclaimer
  • Portions of this presentation were adapted from
    the following sources
  • Jaime Frey, Condor Group, UW-Madison
Write a Comment
User Comments (0)
About PowerShow.com