Enabling Grids for E-sciencE www.eu-egee.org Work Load Management & Simple Job Submission Practical Shu-Ting Liao APROC, ASGC EGEE Tutorial.

Slides:



Advertisements
Similar presentations
Workload Management David Colling Imperial College London.
Advertisements

EGEE is a project funded by the European Union under contract IST EGEE Tutorial Turin, January Hands on Job Services.
EU 2nd Year Review – Jan – Title – n° 1 WP1 Speaker name (Speaker function and WP ) Presentation address e.g.
Workload management Owen Maroney, Imperial College London (with a little help from David Colling)
INFSO-RI Enabling Grids for E-sciencE Workload Management System and Job Description Language.
The Grid Constantinos Kourouyiannis Ξ Architecture Group.
Job Submission The European DataGrid Project Team
E-infrastructure shared between Europe and Latin America 12th EELA Tutorial for Users and System Administrators Architecture of the gLite.
SEE-GRID-SCI Hands-On Session: Workload Management System (WMS) Installation and Configuration Dusan Vudragovic Institute of Physics.
INFSO-RI Enabling Grids for E-sciencE EGEE Middleware The Resource Broker EGEE project members.
1 Architecture of the gLite WMS Esther Montes Prado CIEMAT 10th EELA Tutorial Madrid,
E-infrastructure shared between Europe and Latin America Architecture of the WMS Manuel Rubio del Solar CETA-CIEMAT EELA Tutorial, Mérida,
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Job Submission Fokke Dijkstra RuG/SARA Grid.
Special Jobs Claudio Cherubino INFN - Catania. 2 MPI jobs on gLite DAG Job Collection Parametric jobs Outline.
Basic Grid Job Submission Alessandra Forti 28 March 2006.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Architecture of the WMS Yaodong Cheng CC-IHEP, Chinese Academy of Sciences.
Glite WMS overview Alessandra Forti Computing Seminar Manchester 20th November 2008.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Special Jobs Matias Zabaljauregui UNLP.
Enabling Grids for E-sciencE EGEE-II INFSO-RI BG induction to GRID Computing and EGEE project – Sofia, 2006 Practical: Porting applications.
The gLite API – PART I Giuseppe LA ROCCA INFN Catania ACGRID-II School 2-14 November 2009 Kuala Lumpur - Malaysia.
INFSO-RI Enabling Grids for E-sciencE GILDA Praticals GILDA Tutors INFN Catania ICTP/INFM-Democritos Workshop on Porting Scientific.
Computational grids and grids projects DSS,
Enabling Grids for E-sciencE Workload Management System on gLite middleware Matthieu Reichstadt CNRS/IN2P3 ACGRID School, Hanoi (Vietnam)
Nadia LAJILI User Interface User Interface 4 Février 2002.
INFSO-RI Enabling Grids for E-sciencE Workload Management System Mike Mineter
1 Esther Montes Prado CIEMAT 10th EELA Tutorial Madrid, Hands-on on WMS (Review and Summary)
- Distributed Analysis (07may02 - USA Grid SW BNL) Distributed Processing Craig E. Tull HCG/NERSC/LBNL (US) ATLAS Grid Software.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks gLite job submission Fokke Dijkstra Donald.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Using gLite API Vladimir Dimitrov IPP-BAS “gLite middleware Application Developers.
INFSO-RI Enabling Grids for E-sciencE The gLite Workload Management System Elisabetta Molinari (INFN-Milan) on behalf of the JRA1.
EGEE-III INFSO-RI Enabling Grids for E-sciencE Feb. 06, Introduction to High Performance and Grid Computing Faculty of Sciences,
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Job Submission Fokke Dijkstra RuG/SARA Grid.
Jan 31, 2006 SEE-GRID Nis Training Session Hands-on V: Standard Grid Usage Dušan Vudragović SCL and ATLAS group Institute of Physics, Belgrade.
EGEE is a project funded by the European Union under contract IST Job Description Language - more control over your Job Assaf Gottlieb University.
EGEE is a project funded by the European Union under contract IST EGEE Tutorial Turin, January Job Services Emidio.
INFSO-RI Enabling Grids for E-sciencE Workflow Management in Giuseppe La Rocca INFN – Catania ICTP/INFM-Democritos Workshop on Porting.
E-infrastructure shared between Europe and Latin America 1 Workload Management System-WMS Luciano Diaz Universidad Nacional Autónoma de México - UNAM Mexico.
FP7-INFRA Enabling Grids for E-sciencE EGEE Induction Grid training for users, Institute of Physics Belgrade, Serbia Sep. 19, 2008.
INFSO-RI Enabling Grids for E-sciencE Claudio Cherubino, INFN Catania Grid Tutorial for users Merida, April 2006 Special jobs.
INFSO-RI Enabling Grids for E-sciencE Αthanasia Asiki Computing Systems Laboratory, National Technical.
Enabling Grids for E-sciencE Workload Management System on gLite middleware - commands Matthieu Reichstadt CNRS/IN2P3 ACGRID School, Hanoi.
High-Performance Computing Lab Overview: Job Submission in EDG & Globus November 2002 Wei Xing.
INFSO-RI Enabling Grids for E-sciencE Job Workflows with gLite Emidio Giorgio INFN NA4 Generic Applications Meeting 10 January 2006.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Workload management in gLite 3.x - MPI P. Nenkova, IPP-BAS, Sofia, Bulgaria Some of.
INFSO-RI Enabling Grids for E-sciencE Job Submission Tutorial (material from INFN Catania)
Workload Management System Jason Shih WLCG T2 Asia Workshop Dec 2, 2006: TIFR.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks WMPROXY usage Álvaro Fernández IFIC (CSIC)
EGEE-II INFSO-RI Enabling Grids for E-sciencE Command Line Grid Programming Spiros Spirou Greek Application Support Team NCSR “Demokritos”
INFSO-RI Enabling Grids for E-sciencE GILDA Praticals Giuseppe La Rocca INFN – Catania gLite Tutorial at the EGEE User Forum CERN.
EGEE is a project funded by the European Union under contract IST Job Description Language – How to control your Job Nadav Grossaug IsraGrid.
Enabling Grids for E-sciencE EGEE-II INFSO-RI Porting an application to the EGEE Grid & Data management for Application Rachel Chen.
Enabling Grids for E-sciencE Sofia, 17 March 2009 INFSO-RI Introduction to Grid Computing, EGEE and Bulgarian Grid Initiatives –
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks WMS tricks & tips – further scripting Giuseppe.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Practical using WMProxy advanced job submission.
Biomed tutorial 1 Enabling Grids for E-sciencE INFSO-RI EGEE is a project funded by the European Union under contract IST JDL Flavia.
User Interface UI TP: UI User Interface installation & configuration.
LCG2 Tutorial Viet Tran Institute of Informatics Slovakia.
GRID commands lines Original presentation from David Bouvet CC/IN2P3/CNRS.
Introduction to Computing Element HsiKai Wang Academia Sinica Grid Computing Center, Taiwan.
EGEE-III INFSO-RI Enabling Grids for E-sciencE Job management with gLite Gergely Sipos Training and.
Workload Management System on gLite middleware
Workload Management System ( WMS )
EGEE tutorial, Job Description Language - more control over your Job Assaf Gottlieb Tel-Aviv University EGEE is a project.
Introduction to Grid Technology
Workload Management System
5. Job Submission Grid Computing.
The gLite Workload Management System
gLite Job Management Christos Theodosiou
Job Description Language
Job Submission M. Jouvin (LAL-Orsay)
Presentation transcript:

Enabling Grids for E-sciencE Work Load Management & Simple Job Submission Practical Shu-Ting Liao APROC, ASGC EGEE Tutorial

Enabling Grids for E-sciencE 2 Outline Workload Management –Introduction –User Interface –JDL (Job Description Language) –Job work flow –Demo of Job submission –Practical

Enabling Grids for E-sciencE 3 Workload Management System The purpose of the Workload Management System (WMS): - To accept user jobs - To assign them to the most appropriate Computing Element - To record their status - To retrieve their output. The WMS used to be called Resource Broker (RB). new service is called gLite-WMS.

Enabling Grids for E-sciencE 4 Scope U I WMS File catalog I S S E C E & W N UI JDL Input Sandbox Output Sandbox

Enabling Grids for E-sciencE 5 User Interface Node The user’s interface to the Grid. The basic functionalities are for User to: -list the computing resources -submit a job, -get the job status, -cancel a job, -retrieve the output of a job. UI JDL

Enabling Grids for E-sciencE 6 Example JDL file Type = "Job"; JobType = "Normal"; Executable = "/bin/hostname"; StdOutput = "hostname.out"; StdError = "hostname.err"; OutputSandbox = {"hostname.err","hostname.out"}; Arguments = "-f"; Using a Job Description Language (JDL) to describe a job. Job Description Language (JDL)

Enabling Grids for E-sciencE 7 Relevant JDL attributes JobType –Normal (sequential batch job), Collection, DAG, Parametric, Interactive, MPICH, Checkpointable Executable –The name of the executable (absolute path) Arguments –Job command line arguments StdInput, StdOutput, StdError –Standard input/output/error of the job Environment List of environment variables to be set for the binary

Enabling Grids for E-sciencE 8 Relevant JDL attributes 2. InputSandbox –List of files on the UI local disk needed by the job for running –The listed files will be staged to the remote resource OutputSandbox –List of files, generated by the job, which have to be retrieved –Files will be transfered back Requirements –Required CE caracteristics Rank –“Goodness” value for compatible CEs ShallowRetryCount – In case of grid error, retry job this many times (“Shallow”: before job is running)

Enabling Grids for E-sciencE INFSO-RI Job Control Commands WMS version LCG-2 WMS gLite WMS via NS gLite 3.0 gLite WMS via WMProxy gLite 3.1+ Delegate proxy glite-wms-job-delegate- proxy -d delegID Submit edg-job-submit [-o joblist]jdlfile glite-job-submit [-o joblist] jdlfile glite-wms-job-submit [-d delegID] [-a] [-o joblist] jdlfile Status edg-job-status [-v verbosity] [-i joblist] jobIDs glite-job-status [-v verbosity] [-i joblist] jobIDs glite-wms-job-status [-v verbosity] [-i joblist] jobIDs Logging edg-job-get-logging- info [-v verbosity] [-i joblist] jobIDs glite-job-logging-info [-v verbosity] [-i joblist] jobIDs glite-wms-job-logging- info [-v verbosity] [-i joblist] jobIDs Output edg-job-get-output [-dir outdir] [-i joblist] jobIDs glite-job-output [-dir outdir] [-i joblist] jobIDs glite-wms-job-output [-dir outdir] [-i joblist] jobIDs Cancel edg-job-cancel [-i joblist] jobID glite-job-cancel [-i joblist] jobID glite-wms-job-cancel [-i joblist] jobID Compatible resources edg-job-list-match jdlfile glite-job-list-match jdlfile glite-wms-job-list-match [-d delegID] [-a] jdlfile Recommended

Enabling Grids for E-sciencE 10 UI WM Proxy Job Contr. - CondorG Workload Manager LFC Inform. Service Computing Element Storage Element CE characts & status SE characts & status RB storage Input Sandbox files Job submitted WMS glite-wms-job-submit myjob.jdl WMProxy responsible for accepting incoming requests

Enabling Grids for E-sciencE 11 UI WM Proxy Job Contr. - CondorG Workload Manager LFC Inform. Service Computing Element Storage Element CE characts & status SE characts & status RB storage waiting submitted Job Status WM: responsible to take the appropriate actions to satisfy the request Job WMS

Enabling Grids for E-sciencE 12 UI WM Proxy Job Contr. - CondorG Workload Manager LFC Inform. Service Computing Element Storage Element CE characts & status SE characts & status RB storage waiting submitted Match- Maker/ Broker Where must this job be executed ? WMS Matchmaker: responsible to find the “best” CE where to submit a job

Enabling Grids for E-sciencE 13 WMS UI WM Proxy Job Contr. - CondorG Workload Manager LFC Inform. Service Computing Element Storage Element CE characts & status SE characts & status RB storage waiting submitted Information supermarket Responsible of resource information available to Matchmaker Match- Maker/ Broker

Enabling Grids for E-sciencE 14 UI WM Proxy Job Contr. - CondorG Workload Manager LFC Inform. Service Computing Element Storage Element CE characts & status SE characts & status RB storage waiting submitted Match- Maker/ Broker WMS Information supermarket CE choice

Enabling Grids for E-sciencE 15 UI WM Proxy Job Contr. - CondorG Workload Manager LFC Inform. Service Computing Element Storage Element CE characts & status SE characts & status RB storage JC: responsible for the actual job management operations (done via CondorG) Job submitted waiting ready WMS Task Queue

Enabling Grids for E-sciencE 16 WMS UI WM Proxy Job Contr. - CondorG Workload Manager LFC Inform. Service Computing Element Storage Element CE characts & status SE characts & status RB storage Job Input Sandbox files submitted waiting ready scheduled Task Queue

Enabling Grids for E-sciencE 17 UI WM Proxy Job Contr. - CondorG Workload Manager LFC Inform. Service Computing Element Storage Element RB storage Input Sandbox submitted waiting ready scheduled running “Grid enabled” data transfers/ accesses Job WMS Task Queue

Enabling Grids for E-sciencE 18 UI WM Proxy Job Contr. - CondorG Workload Manager LFC Inform. Service Computing Element Storage Element RB storage Output Sandbox files submitted waiting ready scheduled running done WMS Task Queue

Enabling Grids for E-sciencE 19 UI WM Proxy Job Contr. - CondorG Workload Manager LFC Inform. Service Computing Element Storage Element RB storage Output Sandbox submitted waiting ready scheduled running done glite-wms-get-output WMS Task Queue

Enabling Grids for E-sciencE 20 UI WM Proxy Job Contr. - CondorG Workload Manager LFC Inform. Service Computing Element Storage Element RB storage Output Sandbox files submitted waiting ready scheduled running done cleared WMS Task Queue

Enabling Grids for E-sciencE 21 Job monitoring UI Logging & Bookkeeping WM Proxy Job Contr. - CondorG Workload Manager Computing Element LB: receives and stores job events; processes corresponding job status Log of job events Job status glite-wms-job-status glite-wms-job-logging-info WMS LB proxy

Enabling Grids for E-sciencE 22 Job Submission - Demo 1 Create a simple JDL file Delegate proxy : glite-wms-job-delegate-proxy -d $USER

Enabling Grids for E-sciencE 23 Job Submission - Demo 2 List the CEs that can accept it: glite-wms-job-list-match -d $USER hostname.jdl

Enabling Grids for E-sciencE 24 Job Submission - Demo 3 Submit it : glite-wms-job-submit -d $USER -o jobid hostname.jdl

Enabling Grids for E-sciencE 25 Job Submission - Demo 4 Check its status until its done : glite-wms-job-status -i jobid

Enabling Grids for E-sciencE 26 Possible job states job aborted by middleware, check reasonABORT job output retrievedCLEARED job terminated without grid errorsDONE job executing on a WN of the selected CE queueRUNNING job scheduled in the CE queue managerSCHEDULED job being sent to executing CEREADY job match making for resourcesWAIT submission logged in the LBSUBMITTED Meaning Flag

Enabling Grids for E-sciencE 27 Job Submission - Demo 5 Retrieve output : glite-wms-job-output -i jobid

Enabling Grids for E-sciencE 28 Practical Follow links on the agenda page: mpleJobSubmission User Interface: glite-tutor2.ct.infn.it Before submit job, We need to Create a VOMS proxy $ voms-proxy-init -voms gilda pass phrase :

Enabling Grids for E-sciencE 29 Reference Job submit explains step-by-step how to submit your job Job Description language How To. Document.pdfhttp://server11.infn.it/workload-grid/docs/DataGrid-01-TEN _2- Document.pdf Resource Broker Resource Broker Achitecture and APIs WMS WP1 Workload Management Software - Administrator and User Guide. WP1 internal documents - more complete list of documents