Job Management Beijing, 13-15/11/2013. Overview Beijing, 13- 15/11/2013 DIRAC Tutorial2  DIRAC JDL  DIRAC Commands  Tutorial Exercises  What do you.

Slides:



Advertisements
Similar presentations
EGEE is a project funded by the European Union under contract IST EGEE Tutorial Turin, January Hands on Job Services.
Advertisements

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
Riccardo Bruno, INFN.CT Sevilla, 10-14/09/2007 GENIUS Exercises.
DIRAC Tutorial By R. Graciani Lisbon, Nov 8 th 2012.
E-infrastructure shared between Europe and Latin America 12th EELA Tutorial for Users and System Administrators Architecture of the gLite.
Linux+ Guide to Linux Certification, Second Edition
DIRAC API DIRAC Project. Overview  DIRAC API  Why APIs are important?  Why advanced users prefer APIs?  How it is done?  What is local mode what.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Special Jobs Matias Zabaljauregui UNLP.
Enabling Grids for E-sciencE gLite training at Sinaia '06 Victor Penso Kilian Schwarz GSI Darmstadt Germany.
Rsv-control Marco Mambelli – Site Coordination meeting October 1, 2009.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Luciano Díaz ICN-UNAM Based on Domenico.
Week 7 Working with the BASH Shell. Objectives  Redirect the input and output of a command  Identify and manipulate common shell environment variables.
Enabling Grids for E-sciencE EGEE-II INFSO-RI BG induction to GRID Computing and EGEE project – Sofia, 2006 Practical: Porting applications.
K. Harrison CERN, 20th April 2004 AJDL interface and LCG submission - Overview of AJDL - Using AJDL from Python - LCG submission.
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.
:: ::::: ::::: ::::: ::::: ::::: ::::: ::::: ::::: ::::: ::::: ::::: :: GridKA School 2009 MPI on Grids 1 MPI On Grids September 3 rd, GridKA School 2009.
1 Overview of the Application Hosting Environment Stefan Zasada University College London.
Enabling Grids for E-sciencE Workload Management System on gLite middleware Matthieu Reichstadt CNRS/IN2P3 ACGRID School, Hanoi (Vietnam)
Additional UNIX Commands. 222 Lecture Overview  Multiple commands and job control  More useful UNIX utilities.
Nadia LAJILI User Interface User Interface 4 Février 2002.
INFSO-RI Enabling Grids for E-sciencE Workload Management System Mike Mineter
DIRAC Review (13 th December 2005)Stuart K. Paterson1 DIRAC Review Exposing DIRAC Functionality.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks gLite job submission Fokke Dijkstra Donald.
Introduction.  The scripting language most often used for client-side web development.  Influenced by many programming languages, easier for nonprogrammers.
Enabling Grids for E-sciencE EGEE-II INFSO-RI Introduction to Grid Computing, EGEE and Bulgarian Grid Initiatives Plovdiv, 2006.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Using gLite API Vladimir Dimitrov IPP-BAS “gLite middleware Application Developers.
Giuseppe Codispoti INFN - Bologna Egee User ForumMarch 2th BOSS: the CMS interface for job summission, monitoring and bookkeeping W. Bacchi, P.
EGEE-III INFSO-RI Enabling Grids for E-sciencE Feb. 06, Introduction to High Performance and Grid Computing Faculty of Sciences,
Getting started DIRAC Project. Outline  DIRAC information system  Documentation sources  DIRAC users and groups  Registration with DIRAC  Getting.
Job Management DIRAC Project. Overview  DIRAC JDL  DIRAC Commands  Tutorial Exercises  What do you have learned? KEK 10/2012DIRAC Tutorial.
E-infrastructure shared between Europe and Latin America GENIUS PORTAL Valeria Ardizzone INFN-Catania 1° EELA Grid School Itacuruçà Island, State of Rio.
Introduction to Taverna Online and Interaction service Aleksandra Pawlik University of Manchester.
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.
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.
1 DIRAC Job submission A.Tsaregorodtsev, CPPM, Marseille LHCb-ATLAS GANGA Workshop, 21 April 2004.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Moisés Hernández Duarte UNAM FES Cuautitlán.
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 Job Description Language (JDL) Giuseppe La Rocca INFN First gLite tutorial on GILDA Catania,
INFSO-RI Enabling Grids for E-sciencE GILDA Praticals Giuseppe La Rocca INFN – Catania gLite Tutorial at the EGEE User Forum CERN.
Development of test suites for the certification of EGEE-II Grid middleware Task 2: The development of testing procedures focused on special details of.
Enabling Grids for E-sciencE EGEE-II INFSO-RI Porting an application to the EGEE Grid & Data management for Application Rachel Chen.
INFSO-RI Enabling Grids for E-sciencE Using of GANGA interface for Athena applications A. Zalite / PNPI.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Practical using WMProxy advanced job submission.
EGEE 3 rd conference - Athens – 20/04/2005 CREAM JDL vs JSDL Massimo Sgaravatto INFN - Padova.
User Interface UI TP: UI User Interface installation & configuration.
LCG2 Tutorial Viet Tran Institute of Informatics Slovakia.
Client installation Beijing, 13-15/11/2013. DIRAC Client Software Beijing, /11/2013 DIRAC Tutorial2  Many operations can be performed through the.
Istituto Nazionale di Astrofisica Information Technology Unit INAF-SI Job with data management Giuliano Taffoni.
Linux Administration Working with the BASH Shell.
Workload Management Status DIRAC User Meeting Marseille, Oct 2012.
FESR Consorzio COMETA - Progetto PI2S2 Jobs with Input/Output data Fabio Scibilia, INFN - Catania, Italy Tutorial per utenti e.
Enabling Grids for E-sciencE Work Load Management & Simple Job Submission Practical Shu-Ting Liao APROC, ASGC EGEE Tutorial.
Workload Management System on gLite middleware
EGEE tutorial, Job Description Language - more control over your Job Assaf Gottlieb Tel-Aviv University EGEE is a project.
Alexandre Duarte CERN Fifth EELA Tutorial Santiago, 06/09-07/09,2006
Workload Management System
5. Job Submission Grid Computing.
Job Management with DATA
gLite Job Management Christos Theodosiou
Job Description Language
GENIUS Grid portal Hands on
Hands on Session: DAG Job Submission
Job Submission M. Jouvin (LAL-Orsay)
Presentation transcript:

Job Management Beijing, 13-15/11/2013

Overview Beijing, /11/2013 DIRAC Tutorial2  DIRAC JDL  DIRAC Commands  Tutorial Exercises  What do you have learned?

Job Description Language (JDL) Beijing, /11/2013 DIRAC Tutorial3  JDL is the language used to specify the characteristics and resources required by the job.  For example:  Executable to run and its parameters.  Files to be moved to and from the Worker Node  Input files  Grid files  and any requirements.

Differences with gLite JDLs Beijing, /11/2013 DIRAC Tutorial4  DIRAC is not using JDLs internally, DIRAC transforms the user JDL to DIRAC internal conventions.  Using DIRAC specific matching mechanism for job to resources mapping  Not all the JDLs attributes are allowed in DIRAC.  In particular, there is no Requirements JDL attribute.  Some attributes are interpreted as requirements  E.g. Site, CPUTime

JDLs Beijing, /11/2013 DIRAC Tutorial5  The JDL syntax consists of statements ended by a semicolon, like: attribute = value;  Literal strings (for values) are enclosed in double quotes. Site = “EGI.CPPM.fr”;

JDLs Beijing, /11/2013 DIRAC Tutorial6

Example Simple JDL Beijing, /11/2013 DIRAC Tutorial7 JobName = "Simple_Job"; Executable = "/bin/ls"; * Arguments = "-ltr"; StdOutput = "StdOut"; * StdError = "StdErr"; * OutputSandbox = {"StdOut","StdErr"}; * * Mandatory attributes

Example Simple JDL Beijing, /11/2013 DIRAC Tutorial8

Job Monitoring Beijing, /11/2013 DIRAC Tutorial9

DIRAC Commands Beijing, /11/2013 DIRAC Tutorial10  In the directory scripts of your DIRAC installation there are a lot of commands that can be used for different purposes:  Job Management  Data Management  Proxy Management  Administration of the system

DIRAC Commands Beijing, /11/2013 DIRAC Tutorial11 DIRAC ADMIN DIRAC WMS dirac-wms-job-attributes dirac-wms-job-delete dirac-wms-job-get-input dirac-wms-job-get-jdl dirac-wms-job-get-output dirac-wms-job-get-output-data dirac-wms-job-kill dirac-wms-job-logging-info dirac-wms-job-parameters dirac-wms-job-peek dirac-wms-job-reschedule dirac-wms-job-status dirac-wms-job-submit dirac-wms-jobs-select-output-search dirac-wms-select-jobs dirac-admin-add-group dirac-admin-add-host dirac-admin-add-site dirac-admin-add-user dirac-admin-allow-catalog dirac-admin-allow-se dirac-admin-allow-site dirac-admin-ban-catalog dirac-admin-ban-se dirac-admin-ban-site dirac-admin-bdii-ce dirac-admin-bdii-site dirac-admin-ce-info dirac-admin-delete-user dirac-admin-externals-versions

DIRAC Commands Beijing, /11/2013 DIRAC Tutorial12 DIRAC PROXY DIRAC DMS DIRAC UTILITIES dirac-dms-catalog-metadata dirac-dms-change-replica-status dirac-dms-check-file-integrity dirac-dms-clean-directory dirac-dms-data-size dirac-dms-filecatalog-cli dirac-dms-fts-monitor dirac-dms-fts-submit dirac-dms-get-file dirac-dms-get-storage-directories dirac-dms-lfn-accessURL dirac-dms-lfn-logging-info dirac-dms-lfn-metadata dirac-dms-lfn-replicas dirac-dms-pfn-accessURL dirac-dms-pfn-metadata dirac-dms-remove-catalog-files dirac-proxy-get-uploaded-info dirac-proxy-info dirac-proxy-init dirac-proxy-upload dirac-platform dirac-rss-reassign-token dirac-rss-renew-token dirac-service

DIRAC Commands: Sending Jobs Beijing, /11/2013 DIRAC Tutorial13  The command used to submit jobs using DIRAC is: dirac-wms-job-submit $ dirac-wms-job-submit Simple.jdl JobID = 11 Job ID

DIRAC Commands: Common options Beijing, /11/2013 DIRAC Tutorial14  All the DIRAC commands are following the UNIX notation for passing arguments to the command  Some options are common to all the commands: -o to pass any configuration option, e.g. -o /DIRAC/Setup=DIRAC-Production -d, -dd, -ddd to choose various levels of the output verbosity -h to show help message for the command  In the following there are some examples of commonly used commands

Dirac Commands: Job Status Beijing, /11/2013 DIRAC Tutorial15  The command used to get the job status is: dirac-wms-job-status $ dirac-wms-job-status 11 JobID=11 Status=Waiting; MinorStatus=Pilot Agent Submission; Site=ANY;

Dirac Commands: Job Retrieval Beijing, /11/2013 DIRAC Tutorial16  To retrieve job outputs use the command: dirac-wms-job-get-output [ --dir output_dir] [ ] $ dirac-wms-job-get-output --dir this_dir $ ls -la this_dir/ total 20 drwxr-xr-x 5 hamar dirac 4096 Oct 26 19:02. drwxr-xr-x 3 hamar dirac 4096 Oct 26 19:02.. drwxr-xr-x 2 hamar dirac 4096 Oct 26 19: drwxr-xr-x 2 hamar dirac 4096 Oct 26 19: drwxr-xr-x 2 hamar dirac 4096 Oct 26 19:02 470

Dirac Commands: Job Retrieval Beijing, /11/2013 DIRAC Tutorial17

Tutorial Beijing, /11/2013 DIRAC Tutorial18  Submit “Hello World” job with Web Launchpad  Monitor it  Get results in the Web browser  Submit “Hello World” job with command line tools  Edit JDL  Monitor it  Get results with command line tools  Goals  Understand job description  Understanding job Web monitoring and manipulation tools