Job Management DIRAC Project. Overview  DIRAC JDL  DIRAC Commands  Tutorial Exercises  What do you have learned? KEK 10/2012DIRAC Tutorial.

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
SEE-GRID-SCI User Interface (UI) Installation and Configuration Branimir Ackovic Institute of Physics Serbia The SEE-GRID-SCI.
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.
INFSO-RI Enabling Grids for E-sciencE EGEE Middleware The Resource Broker EGEE project members.
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.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Luciano Díaz ICN-UNAM Based on Domenico.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) WMPROXY API Python & C++ Diego Scardaci
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.
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.
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.
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.
EGEE-III INFSO-RI Enabling Grids for E-sciencE Feb. 06, Introduction to High Performance and Grid Computing Faculty of Sciences,
Architecture of the gLite WMS (Workload Management System) Hands-on Paola Celio Universita’ Roma TRE INFN Roma TRE Sevilla Septembre 2007.
Getting started DIRAC Project. Outline  DIRAC information system  Documentation sources  DIRAC users and groups  Registration with DIRAC  Getting.
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 Α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.
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.
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.
Istituto Nazionale di Astrofisica Information Technology Unit INAF-SI Job with data management Giuliano Taffoni.
Linux Administration Working with the BASH Shell.
Job Management Beijing, 13-15/11/2013. Overview Beijing, /11/2013 DIRAC Tutorial2  DIRAC JDL  DIRAC Commands  Tutorial Exercises  What do you.
Workload Management Status DIRAC User Meeting Marseille, Oct 2012.
GRID commands lines Original presentation from David Bouvet CC/IN2P3/CNRS.
Introduction to Computing Element HsiKai Wang Academia Sinica Grid Computing Center, Taiwan.
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
gLite Job Management Mario Reale GARR
5. Job Submission Grid Computing.
Job Management with DATA
The gLite Workload Management System
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 DIRAC Project

Overview  DIRAC JDL  DIRAC Commands  Tutorial Exercises  What do you have learned? KEK 10/2012DIRAC Tutorial

Job Description Language (JDL) KEK 10/2012DIRAC Tutorial  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 KEK 10/2012DIRAC Tutorial  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 KEK 10/2012DIRAC Tutorial  The JDL syntax consists of statements ended by a semicolon, like: attribute = value;  Literal strings (for values) are enclosed in double quotes. Site = “LCG.KEK.jp”;

JDLs KEK 10/2012DIRAC Tutorial

Example Simple JDL KEK 10/2012DIRAC Tutorial JobName = "Simple_Job"; Executable = "/bin/ls"; * Arguments = "-ltr"; StdOutput = "StdOut"; * StdError = "StdErr"; * OutputSandbox = {"StdOut","StdErr"}; * * Mandatory attributes

Example Simple JDL KEK 10/2012DIRAC Tutorial

Sandboxes vs. Data KEK 10/2012DIRAC Tutorial  Sandbox files are stored in the DIRAC Workload Management Service and are only available for the time of life of the corresponding job.  Volatile storage.  Some grace period, typically 1 week for keeping sandboxes to allow their retrieval.  Data are stored in the Grid Storage  Permanent storage  The size of the Sandboxes is limited to ~10MG per job  Submitting a job with a large sandbox will result as an error  Large output sandboxes are stored in the Grid Storage  This is the user responsibility to clean up this storage

Example Input and Output Sandbox KEK 10/2012DIRAC Tutorial  Simple.jdl Executable = "testJob.sh"; StdOutput = "StdOut"; StdError = "StdErr"; InputSandbox = {"testJob.sh"}; OutputSandbox = {"StdOut","StdErr"};  testJob.sh #!/bin/bash /bin/hostname /bin/date

Example Input and Output Data KEK 10/2012DIRAC Tutorial  testJob.jdl Executable = "testJob.sh"; StdOutput = "StdOut"; StdError = "StdErr"; InputSandbox = {"testJob.sh”,”LFN:/vo.formation.idgrilles.fr/user/v/vham ar/test.txt"}; OutputSandbox = {"StdOut","StdErr"}; OutputSE = "M3PEC-disk";  testJob.sh #!/bin/bash /bin/hostname cat test.txt

Example Input and Output Data KEK 10/2012DIRAC Tutorial

Job Monitoring KEK 10/2012DIRAC Tutorial

DIRAC Commands KEK 10/2012DIRAC Tutorial  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 KEK 10/2012DIRAC Tutorial 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 KEK 10/2012DIRAC Tutorial 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 KEK 10/2012DIRAC Tutorial  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 KEK 10/2012DIRAC Tutorial  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 KEK 10/2012DIRAC Tutorial  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 KEK 10/2012DIRAC Tutorial  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 KEK 10/2012DIRAC Tutorial

Tutorial  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 KEK 10/2012DIRAC Tutorial