EGEE-II INFSO-RI-031688 Enabling Grids for E-sciencE www.eu-egee.org Command Line Grid Programming Spiros Spirou Greek Application Support Team NCSR “Demokritos”

Slides:



Advertisements
Similar presentations
SARA Reken- en NetwerkdienstenToPoS | 3 juni 2007 More efficient job submission Evert Lammerts SARA Computing and Networking Services High Performance.
Advertisements

INFSO-RI Enabling Grids for E-sciencE Workload Management System and Job Description Language.
FP7-INFRA Enabling Grids for E-sciencE EGEE Induction Grid training for users, Institute of Physics Belgrade, Serbia Sep. 19, 2008.
Job Submission The European DataGrid Project Team
Riccardo Bruno, INFN.CT Sevilla, 10-14/09/2007 GENIUS Exercises.
INFSO-RI Enabling Grids for E-sciencE EGEE Middleware The Resource Broker EGEE project members.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Grid Services Abderrahman El Kharrim
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.
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.
Ninth EELA Tutorial for Users and Managers E-infrastructure shared between Europe and Latin America LFC Server Installation and Configuration.
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.
EGEE-II INFSO-RI Enabling Grids for E-sciencE gLite Demo Yaodong Cheng CC-IHEP, Chinese Academy of Sciences The.
Computational grids and grids projects DSS,
Nadia LAJILI User Interface User Interface 4 Février 2002.
INFSO-RI Enabling Grids for E-sciencE Workload Management System Mike Mineter
Group 1 : Grid Computing Laboratory of Information Technology Supervisors: Alexander Ujhinsky Nikolay Kutovskiy.
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 Nov. 18, EGEE and gLite are registered trademarks gLite Middleware Usage Dusan.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE middleware: gLite Data Management EGEE Tutorial 23rd APAN Meeting, Manila Jan.
INFSO-RI Enabling Grids for E-sciencE The gLite Workload Management System Elisabetta Molinari (INFN-Milan) on behalf of the JRA1.
June 24-25, 2008 Regional Grid Training, University of Belgrade, Serbia Introduction to gLite gLite Basic Services Antun Balaž SCL, Institute of Physics.
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.
Job Management DIRAC Project. Overview  DIRAC JDL  DIRAC Commands  Tutorial Exercises  What do you have learned? KEK 10/2012DIRAC Tutorial.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks The GILDA t-Infrastructure Roberto Barbera.
Glite. Architecture Applications have access both to Higher-level Grid Services and to Foundation Grid Middleware Higher-Level Grid Services are supposed.
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.
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.
INFSO-RI Enabling Grids for E-sciencE Job Workflows with gLite Emidio Giorgio INFN NA4 Generic Applications Meeting 10 January 2006.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Alexandre Duarte CERN IT-GD-OPS UFCG LSD 1st EELA Grid School.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Workload management in gLite 3.x - MPI P. Nenkova, IPP-BAS, Sofia, Bulgaria Some of.
SEE-GRID-SCI Hands-On Session: Using Grid Vladimir Slavnic Institute of Physics, Belgrade Serbia The SEE-GRID-SCI initiative.
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-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Grid2Win : gLite for Microsoft Windows Roberto.
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.
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.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks gLite – UNICORE interoperability Daniel Mallmann.
User Interface UI TP: UI User Interface installation & configuration.
INFSO-RI Enabling Grids for E-sciencE Αthanasia Asiki Computing Systems Laboratory, National Technical.
LCG2 Tutorial Viet Tran Institute of Informatics Slovakia.
12th EELA Tutorial for Users and Managers E-infrastructure shared between Europe and Latin America LFC Server Installation and Configuration.
Istituto Nazionale di Astrofisica Information Technology Unit INAF-SI Job with data management Giuliano Taffoni.
GRID commands lines Original presentation from David Bouvet CC/IN2P3/CNRS.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America LFC Server Installation and Configuration.
Introduction to Computing Element HsiKai Wang Academia Sinica Grid Computing Center, Taiwan.
Enabling Grids for E-sciencE Work Load Management & Simple Job Submission Practical Shu-Ting Liao APROC, ASGC EGEE Tutorial.
Create an script to print “hello world” in an output file with also the information of an input file. The input file should be previously register in the.
EGI-InSPIRE RI EGI Hands On Training for AEGIS Users EGI-InSPIRE N G I A E G I S EGI Hands On Training for AEGIS Users Institute of Physics.
Workload Management System
5. Job Submission Grid Computing.
Job Management with DATA
EGEE Middleware: gLite Information Systems (IS)
gLite Job Management Christos Theodosiou
GENIUS Grid portal Hands on
Job Submission M. Jouvin (LAL-Orsay)
Presentation transcript:

EGEE-II INFSO-RI Enabling Grids for E-sciencE Command Line Grid Programming Spiros Spirou Greek Application Support Team NCSR “Demokritos”

Enabling Grids for E-sciencE EGEE-II INFSO-RI Overview Application definition Environment configuration Information discovery Data management Program definition Program execution Summary

Enabling Grids for E-sciencE EGEE-II INFSO-RI Roadmap Application definition Environment configuration Information discovery Data management Program definition Program execution Summary

Enabling Grids for E-sciencE EGEE-II INFSO-RI Application definition original image compression algorithm compressed image Image Compression

Enabling Grids for E-sciencE EGEE-II INFSO-RI Application parallelization data decomposition parallel processing data composition

Enabling Grids for E-sciencE EGEE-II INFSO-RI Programming prerequisites UI accountVO membership 123 CA certificate You must already have…

Enabling Grids for E-sciencE EGEE-II INFSO-RI Roadmap Application definition Environment configuration Information discovery Data management Program definition Program execution Summary

Enabling Grids for E-sciencE EGEE-II INFSO-RI Virtual Organization Membership Service (VOMS) Authentication UIGrid certificate proxy certificate create (w/ password) service 1 service 2 authenticate VO, Groups, Roles

Enabling Grids for E-sciencE EGEE-II INFSO-RI VOMS commands Command (voms-proxy-) Description initCreates VOMS proxy infoPrints VOMS proxy information destroyDestroys VOMS proxy listLists VOMS server attributes - gLite 3.0 User’s Guide - VOMS Core Services User’s Guide

Enabling Grids for E-sciencE EGEE-II INFSO-RI VOMS example Contact VOMS server and create proxy certificate > voms-proxy-init –voms=see Check proxy certificate > voms-proxy-info -all

Enabling Grids for E-sciencE EGEE-II INFSO-RI Roadmap Application definition Environment configuration Information discovery Data management Program definition Program execution Summary

Enabling Grids for E-sciencE EGEE-II INFSO-RI Berkeley Database Information Index server (BDII) Information service UIGrid query user Computing Element (CE) Storage Element (SE) information

Enabling Grids for E-sciencE EGEE-II INFSO-RI Information service command CommandDescription lcg-infositesPrints Grid service information Attributes --voVO name (mandatory) --isBDII server name

Enabling Grids for E-sciencE EGEE-II INFSO-RI lcg-infosites options OptionsDescription cePrints CE names sePrints SE names closeSEPrints CE and “close” SE names allPrints CE and SE names lfcPrints File Catalog (LFC) name - gLite 3.0 User’s Guide - lcg-infosites -help

Enabling Grids for E-sciencE EGEE-II INFSO-RI lcg-infosites example Get CE and SE names for VO > lcg-infosites --vo see all Get LFC name for VO > lcg-infosites --vo see lfc

Enabling Grids for E-sciencE EGEE-II INFSO-RI Roadmap Application definition Environment configuration Information discovery Data management Program definition Program execution Summary

Enabling Grids for E-sciencE EGEE-II INFSO-RI Grid file (ref: LFN) Grid files UIGrid file SE 1 File Catalog (LFC) store register SE 2 store register

Enabling Grids for E-sciencE EGEE-II INFSO-RI lcg-utils Command (lcg-) Description cpCopies file from Grid to UI crCopies file from UI to Grid repCreates replica of file lrLists replicas of file delDeletes file (and replicas) - gLite 3.0 User’s Guide - lcg-utils man pages

Enabling Grids for E-sciencE EGEE-II INFSO-RI lcg-utils example Upload data (sub-images) to Grid > lcg-cr --vo see -l lfn:/grid/see/subimg1 file:/users/johndoe/subimg1 > lcg-cr --vo see -l lfn:/grid/see/subimg2 file:/users/johndoe/subimg2 […] Locate data (sub-image1) > lcg-lr --vo see lfn:/grid/see/subimg1 Replicate data (sub-image1) to specific SE > lcg-rep --vo see -d se01.ariagni.hellasgrid.gr lfn: /grid/see/subimg1

Enabling Grids for E-sciencE EGEE-II INFSO-RI Roadmap Application definition Environment configuration Information discovery Data management Program definition Program execution Summary

Enabling Grids for E-sciencE EGEE-II INFSO-RI Job Description Language (JDL) Grid jobs original sub-image compression algorithm compressed sub-image input dataprogramoutput data

Enabling Grids for E-sciencE EGEE-II INFSO-RI JDL attributes (1/2) AttributeDescription ExecutableProgram to run on Grid ArgumentsArguments of program InputSandboxFiles to copy from UI to Grid StdOutputFile to save program stdout StdErrorFile to save program stderr OutputSandboxFiles to copy from Grid to UI

Enabling Grids for E-sciencE EGEE-II INFSO-RI JDL attributes (2/2) AttributeDescription DataRequirements InputData Grid files needed by program DataCatalogType Type of catalog referencing Grid files DataAccessProtocolProtocol for accessing Grid files RequirementsProgram resource requirements - gLite 3.0 User’s Guide - JDL Attributes Specification

Enabling Grids for E-sciencE EGEE-II INFSO-RI JDL Example [ Executable = “compress.sh”; Arguments = “subimg1”; InputSandbox = {“file:///users/johndoe/compress.sh”}; StdOutput = “std.out”; StdError = “std.err”; OutputSandbox = {“std.out”, “std.err”, subimg1”}; DataRequirements = { [InputData = {“lfn:/grid/cms/subimg1”}; DataCatalogType = “DLI”;] }; DataAccessProtocol = {“gsiftp”}; ]

Enabling Grids for E-sciencE EGEE-II INFSO-RI Roadmap Application definition Environment configuration Information discovery Data management Program definition Program execution Summary

Enabling Grids for E-sciencE EGEE-II INFSO-RI Job execution Workload Management System (WMS) (WMProxy interface) UIGrid job user SE CE LFC VOMS BDII

Enabling Grids for E-sciencE EGEE-II INFSO-RI Job management commands Command (glite-wms-job-) Description delegate-proxyDelegates VOMS proxy to WMProxy submitSubmits a job cancelCancels a submitted job outputCopies OutputSandbox to UI glite-job-statusPrints submitted job status - gLite 3.0 User’s Guide - WMProxy Service User’s Guide

Enabling Grids for E-sciencE EGEE-II INFSO-RI Job management example Delegate proxy and set delegation id > glite-wms-job-delegate-proxy -d del_id Submit job and save job id > glite-wms-job-submit -d del_id -o job_id compress.jdl Check job status > glite-job-status -i job_id Get job output when done > glite-wms-job-output -i job_id

Enabling Grids for E-sciencE EGEE-II INFSO-RI Roadmap Application definition Environment configuration Information discovery Data management Program definition Program execution Summary

Enabling Grids for E-sciencE EGEE-II INFSO-RI Summary Parallelize application Authenticate with VOMS Get information with lcg-infosites Upload data with lcg-utils Describe application with JDL Execute application with glite-wms-job-* The Grid is fast, simple, and free. So, use it!

EGEE-II INFSO-RI Enabling Grids for E-sciencE Questions? Spiros Spirou Greek Application Support Team NCSR “Demokritos”