1 MTA SZTAKI Hungarian Academy of Sciences Grid application support by the P-GRADE Portal Peter Kacsuk.

Slides:



Advertisements
Similar presentations
1 CEOS WGISS Meeting, May 8-12, 2006, Budapest MTA SZTAKI Computer and Automation Research Institute Hungarian Academy of Sciences
Advertisements

1 P-GRADE Portal and GEMLCA Legacy Code Architecture Peter Kacsuk MTA SZTAKI
Legacy code support for commercial production Grids G.Terstyanszky, T. Kiss, T. Delaitre, S. Winter School of Informatics, University.
P. Kacsuk, G. Sipos, A. Toth, Z. Farkas, G. Kecskemeti and G. Hermann P. Kacsuk, G. Sipos, A. Toth, Z. Farkas, G. Kecskemeti and G. Hermann MTA SZTAKI.
1 MTA SZTAKI Application development on EGEE with P-GRADE Portal Gergely Sipos
EGEE-II INFSO-RI Enabling Grids for E-sciencE Grid application development with gLite and P-GRADE Portal Miklos Kozlovszky MTA SZTAKI.
MTA SZTAKI Hungarian Academy of Sciences Grid Computing Course Porto, January Introduction to Grid portals Gergely Sipos
WS-PGRADE: Supporting parameter sweep applications in workflows Péter Kacsuk, Krisztián Karóczkai, Gábor Hermann, Gergely Sipos, and József Kovács MTA.
Globus Toolkit 4 hands-on Gergely Sipos, Gábor Kecskeméti MTA SZTAKI
Visual Solution to High Performance Computing Computer and Automation Research Institute Laboratory of Parallel and Distributed Systems
Grid Execution Management for Legacy Code Applications Exposing Application as Grid Services Porto, Portugal, 23 January 2007.
Porto, January Grid Computing Course Summary of day 2.
1 P-GRADE Portal and GEMLCA: A workflow-oriented portal and application hosting environment Miklos Kozlovszky.
1 Application Specific Module for P-GRADE Portal 2.7 Application Specific Module overview Akos Balasko MTA-SZTAKI LPDS
EUROPEAN UNION Polish Infrastructure for Supporting Computational Science in the European Research Space Cracow Grid Workshop’10 Kraków, October 11-13,
1 portal.p-grade.hu További lehetőségek a P-GRADE Portállal Gergely Sipos MTA SZTAKI Hungarian Academy of Sciences.
1 P-GRADE Portal: Towards a User-friendly Grid Environment Tamas Kiss Centre for Parallel Computing.
AHM /09/05 AHM 2005 Automatic Deployment and Interoperability of Grid Services G.Kecskemeti, Yonatan Zetuny, G.Terstyanszky,
1 portal.p-grade.hu Further information on P-GRADE Gergely Sipos MTA SZTAKI Hungarian Academy of Sciences.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Grid application development with gLite and P-GRADE Portal Miklos Kozlovszky MTA SZTAKI.
From P-GRADE to SCI-BUS Peter Kacsuk, Zoltan Farkas and Miklos Kozlovszky MTA SZTAKI - Computer and Automation Research Institute of the Hungarian Academy.
INFSO-RI Enabling Grids for E-sciencE Supporting legacy code applications on EGEE VOs by GEMLCA and the P-GRADE portal P. Kacsuk*,
Introduction to WS-PGRADE and gUSE Tutorial Akos Balasko 04/17/
WS-PGRADE portal and its usage in the CancerGrid project M. Kozlovszky, P. Kacsuk Computer and Automation Research Institute of the Hungarian Academy of.
1 Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.
Grid Execution Management for Legacy Code Applications Grid Enabling Legacy Code Applications Tamas Kiss Centre for Parallel.
Migrating Desktop Marcin Płóciennik Marcin Płóciennik Kick-off Meeting, Santander, Graphical.
1 P-GRADE Portal tutorial MTA SZTAKI Gergely Sipos
Holding slide prior to starting show. A Portlet Interface for Computational Electromagnetics on the Grid Maria Lin and David Walker Cardiff University.
EGEE-III INFSO-RI Enabling Grids for E-sciencE Application Porting Support in EGEE Gergely Sipos MTA SZTAKI EGEE’08.
MTA SZTAKI Hungarian Academy of Sciences Introduction to Grid portals Gergely Sipos
P-GRADE and GEMLCA.
1 P-GRADE Portal: a workflow-oriented generic application development portal Peter Kacsuk MTA SZTAKI, Hungary Univ. of Westminster, UK.
Getting started DIRAC Project. Outline  DIRAC information system  Documentation sources  DIRAC users and groups  Registration with DIRAC  Getting.
EGEE-II INFSO-RI Enabling Grids for E-sciencE The GILDA training infrastructure.
Grid Execution Management for Legacy Code Applications Grid Enabling Legacy Applications.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Services for advanced workflow programming.
1 P-GRADE Portal: An easy to use graphical interface for Globus and EGEE Grids.
Miklos Kozlovszky - EGEE and EDGeS Summer School on Grid Application Support ‘09 June July 2009 P-GRADE Portal tutorial part 1.: Managing workflow.
1 P-GRADE Portal tutorial at EGEE’09 Introduction to hands-on Gergely Sipos MTA SZTAKI EGEE.
The SEE-GRID-SCI initiative is co-funded by the European Commission under the FP7 Research Infrastructures contract no Workflow repository, user.
1 Practical information for the GEMLCA / P-GRADE hands-on Gergely Sipos On behalf of: MTA.
1 Practical information for the GEMLCA / P-GRADE hands-on Tamas Kiss University of Westminster.
SHIWA and Coarse-grained Workflow Interoperability Gabor Terstyanszky, University of Westminster Summer School Budapest July 2012 SHIWA is supported.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Introduction to P-GRADE Portal hands-on Miklos Kozlovszky MTA SZTAKI
1 portal.p-grade.hu Workflow and parameter study management by P-GRADE Portal Gergely Sipos MTA SZTAKI Hungarian Academy of Sciences.
EGEE-II INFSO-RI Enabling Grids for E-sciencE P-GRADE overview and introduction: workflows & parameter sweeps (Advanced features)
1 Other features and next steps Gergely Sipos MTA SZTAKI Hungarian Academy of Sciences.
1 Support for Parameter Study applications in the P-GRADE Portal Cevat Şener Dept. Of Computer Engineering, METU.
1 Egrid portal Stefano Cozzini and Angelo Leto. 2 Egrid portal Based on P-GRADE Portal 2.3 –LCG-2 middleware support: broker, CEs, SEs, BDII –MyProxy.
1 P-GRADE Portal hands-on Gergely Sipos MTA SZTAKI Hungarian Academy of Sciences.
1 Porting applications to the NGS, using the P-GRADE portal and GEMLCA Peter Kacsuk MTA SZTAKI Hungarian Academy of Sciences Centre for.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Practical using WMProxy advanced job submission.
1 Further information and next steps Further information and next steps Gergely Sipos MTA SZTAKI
Grid Execution Management for Legacy Code Architecture Exposing legacy applications as Grid services: the GEMLCA approach Centre.
1 P-GRADE Portal and Developer Alliance Gergely Sipos MTA SZTAKI Hungarian Academy of Sciences portal.p-grade.hu.
27/10/2006, Catania EGEE Industry Day Filling the gaps: Advanced Grid portal and desktop grid technologies for industry Robert Lovas MTA SZTAKI Laboratory.
1 Support for parameter study applications in the P-GRADE Portal Gergely Sipos MTA SZTAKI (Hungarian Academy of Sciences)
InSilicoLab – Grid Environment for Supporting Numerical Experiments in Chemistry Joanna Kocot, Daniel Harężlak, Klemens Noga, Mariusz Sterzel, Tomasz Szepieniec.
Grid Execution Management for Legacy Code Applications Grid Enabling Legacy Applications.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Grid Introduction Salma Saber Electronic.
Converting P-GRADE Grid Portal into E-Science Gateways A. Balasko, M. Kozlovszky, K. Varga, A. Schnautigel, K. Karóckai, I. Márton, T. Strodl, P. Kacsuk.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Application specific portlet other portal features and next steps Miklos Kozlovszky.
Tamas Kiss University Of Westminster
P-GRADE Portal tutorial
Introduction to P-GRADE Portal hands-on
P-GRADE and GEMLCA.
Application development on EGEE with P-GRADE Portal
Introduction to the SHIWA Simulation Platform EGI User Forum,
Workflow level parametric study support by the P-GRADE portal
Presentation transcript:

1 MTA SZTAKI Hungarian Academy of Sciences Grid application support by the P-GRADE Portal Peter Kacsuk

2 Contents Motivation of creating P-GRADE portal P-GRADE Portal in a nutshell Application development with the Portal Application execution with the Portal

3 Context Basic Grid services: AA, job submission, info, … Higher-level grid services (brokering,…) Application toolkits, standards Application Grid middleware Command line tools P-GRADE Portal and GEMLCA Graphical interface

4 Current situation and trends in Grid computing Fast evolution of Grid systems and middleware: –GT2, OGSA, GT3 (OGSI), GT4 (WSRF), LCG-2, gLite, … Many production Grid systems are built with them –EGEE (LCG-2  gLite), UK NGS (GT2), Open Science Grid (GT2  GT4), NorduGrid (~GT2) Although the same set of core services are available everywhere, they are implemented in different ways –Data services –Computation services –Security services (single sign-on) –(Brokers)

5 E-scientists’ concerns The P-GRADE Grid Portal gives you the answers! How to concentrate own my own research if the tool I would like to use is in continuous change? How can I learn and understand the usage of the Grid? How can I develop Grid applications? How can I execute grid applications? How to tackle performance issues? How to use several Grids at the same time? How to migrate my application from one grid to another? How can I collaborate with fellow researchers?

6 P-GRADE Portal in a nutshell General purpose, workflow-oriented computational Grid portal. Supports the development and execution of workflow-based Grid applications – a tool for Grid orchestration Based on GridSphere-2 –Easy to expand with new portlets (e.g. application-specific portlets) –Easy to tailor to end-user needs Grid services supported by the portal: ServiceEGEE gridsGlobus grids Job executionComputing ElementGRAM File storageStorage ElementGridFTP server Certificate managementMyProxy Information systemBDIIMDS-2, MDS-4 BrokeringWorkload Management SystemGTbroker Job monitoringMercury Workflow & job visualizationPROVE Solves Grid interoperability problem at the workflow level

7 Related projects The development and education of P-GRADE Portal is supported by several projects: –SEE-GRID Development, application support –Coregrid Research, development –EGEE LCG and gLite training, application development –ICEAGE Grid training and education

8 What is a P-GRADE Portal workflow? a directed acyclic graph where –Nodes represent jobs (batch programs to be executed on a computing element) –Ports represent input/output files the jobs expect/produce –Arcs represent file transfer operations semantics of the workflow: –A job can be executed if all of its input files are available

9 Two levels of parallelism by a workflow The workflow concept of the P-GRADE Portal enables the efficient parallelization of complex problems Semantics of the workflow enables two levels of parallelism: The job can be a parallel program – Parallel execution inside a workflow node – Parallel execution among workflow nodes Multiple jobs can run parallel

10 25 x 10 x 25 x 5 x Forecasting dangerous weather situations (storms, fog, etc.), crucial task in the protection of life and property Processed information: surface level measurements, high- altitude measurements, radar, satellite, lightning, results of previous computed models Requirements: Execution time < 10 min High resolution (1km) Ultra-short range weather forecast (Hungarian Meteorology Service)

11 The typical user scenario Part 1 - development phase Certificate servers Portal server Grid services START EDITOR OPEN & EDIT or DEVELOP WORKFLOW SAVE WORKFLOW

12 Certificate servers Portal server Grid services TRANSFER FILES, SUBMIT JOBS DOWNLOAD (SMALL) RESULTS The typical user scenario Part 2 - execution phase VISUALIZE JOBS and WORKFLOW PROGRESS MONITOR JOBS DOWNLOAD PROXY CERTIFICATES

13 The typical user scenario Development phase: Certificate servers Portal server Grid services START EDITOR OPEN & EDIT or DEVELOP or IMPORT WORKFLOW SAVE WORKFLOW

14 Workflow development Opening the workflow editor The editor is a Java Webstart application download and installation is only one click!

15 Workflow Editor Defining the graph The aim is to define a DAG of batch jobs: 1.Drag & drop components: jobs and ports 2.Define their properties 3.Connect ports by channels (no cycles, no loops, no conditions)

16 Workflow Editor Properties of a job Properties of a job: Binary executable Type of executable Number of required processors Command line parameters The resource to be used for the execution: Grid/VO (Computing element)

17 Direct resource selection: Which computing element to use? The information system portlet queries BDII and GIIS servers I still don’t know which resource to use!

18 Automatic resource selection 1.Select a broker Grid/VO for the job (e.g. GILDA) 2.(Describe the ranks & requirements of the job in JDL) 3.The portal will use the broker to find the best resource for the job!

19 Workflow Editor Defining broker jobs Select a Grid with broker! (*_BROKER) Ignore the resource field! If default JDL is not sufficient use the built-in JDL editor!

20 Workflow Editor Built-in JDL editor JDL  look at the LCG-2 Users’ manual!

21 Workflow Editor Defining ports Type: input: the job requires output: the job produces File type: local: from/to my desktop remote: from/to a storage resource File: location of the file File storage type: Permanent: belongs to the final results of the WF Volatile: used only for inter-job data transfer

22 Possible file reference values Client side location: c:\experiments\11-04.dat LFC logical file name (LFC file catalog is required – eGrid, Hungrid) lfn:/grid/egrid/sipos/11-04.dat GridFTP address (in Globus Grids): gsiftp://myhost.com/11-04.dat Input fileOutput file Local file Remote file Client side location: result.dat LFC logical file name (LFC file catalog is required – eGrid, Hungrid) lfn:/grid/egrid/sipos/11-04_-_result.dat GridFTP address (in Globus Grids): gsiftp://myhost.com/11-04_-_result.dat

23 Local vs. remote files Portal server Grid services Computing elements Storage elements REMOTE INPUT FILES REMOTE OUTPUT FILES LOCAL INPUT FILES & EXECUTABLES LOCAL OUTPUT FILES LOCAL INPUT FILES & EXECUTABLES LOCAL OUTPUT FILES Only the permanent files! Your jobs can access storage files directly too!

24 Workflow Editor Saving the workflow Workflow is defined! Let’s execute it!

25 1.Download proxies 2.Submit workflow 3.Observe workflow progress 4.If some error occurs correct the graph 5.Download result Main steps Executing workflows with the P-GRADE Portal

26 The typical user scenario Execution phase – step 1: Certificate servers Portal server Grid services DOWNLOAD PROXY CERTIFICATES

27 Certificate Manager Certificates portlet To access GSI-based Grids the portal server application needs proxy certificates “Certificates” portlet: to upload X.509 certificates into MyProxy servers to download short-term proxy credentials into the portal server application

28 Certificate Manager Downloading a proxy 1.MyProxy server access details: Hostname Port number User name (from upload) Password (from upload) 2.Proxy parameters: Lifetime Comment

29 Certificate Manager associating the proxy with a grid This operation displays the details of the certificate and the list of available Grids (defined by portal administrator)

30 Certificate Manager browsing proxies Multiple proxies can be available on the portal server at the same time! SEE-GRID CEs and SEs HUNGRID CEs and SEs

31 Certificate servers Portal server Grid services TRANSFER FILES, SUBMIT JOBS The typical user scenario Execution phase - step 2:

32 Workflow Management (workflow portlet) The portlet presents the status, size and output of the available workflow in the “Workflow” list It has a Quota manager to control the users’ storage space on the server The portlet also contains the “Abort”, “Attach”, “Details”, “Delete” and “Delete all” buttons to handle execution of workflows The “Attach” button opens the workflow in the Workflow Editor The “Details” button gives an overview about the jobs of the workflow

33 White/Red/Green color means the job is initial/running/finished state Workflow Execution (observation by the workflow portlet)

34 White/Red/Green color means the job is initial/running/finished state Workflow Execution (observation by the workflow portlet)

35 White/Red/Green color means the job is initial/running/finished state Workflow Execution (observation by the workflow portlet)

36 White/Red/Green color means the job is initial/running/finished state Workflow Execution (observation by the workflow portlet)

37 Workflow Execution (observation by the workflow portlet) White/Red/Green color means the job is initialised/running/finished

38 Workflow Execution What about data transfers?

39 Certificate servers Portal server Grid services The typical user scenario Execution phase – step 3: VISUALIZE JOBS and WORKFLOW PROGRESS MONITOR JOBS

40 -The portal monitors and visualizes workflow progress On-Line Monitoring both at the workflow and job levels (workflow portlet)

41 On-Line Monitoring both at the workflow and job levels (workflow portlet) -The portal monitors and visualizes parallel jobs (if they are prepared for Mercury monitor)

42 Rescuing a failed workflow 1. A job failed during workflow execution Read the error log to know why

43 Rescuing a failed workflow 2. Map the failed job onto a different CE or download a new proxy for it. Don’t touch the finished jobs! The execution can continue from the point of failure!

44 Certificate servers Portal server Grid services DOWNLOAD (SMALL) RESULTS The typical user scenario Execution phase – step 5

45 Downloading the results…

46 Share your workflows or results with other researchers! Migrate your application from one portal into another! Additional features Workflows and traces can be exported from the portal server onto your client machine Workflows and traces can be imported into the Portal

47 Workflow/trace export/import To export a workflow from the portal onto your machine To delete every unnecessary files of the workflow To delete trace/output of the workflow (if any) To delete trace/output of the workflow (if any)

48 References P-GRADE Portal service is available for –SEE-GRID infrastructure –Central European VO of EGEE –GILDA: Training VO of EGEE –Many national Grids (UK National Grid Service, HunGrid, etc.) –US Open Science Grid, TeraGrid –Economy-Grid, Swiss BioGrid, Bio and Biomed EGEE VOs, BioInfoGrid, BalticGrid –GIN VO

49 Parameter study extension of the portal Users want parameter study (PS) support at workflow level It means: –If the user has an existing workflow in a repository, he would like to run the same workflow (without any change) with many different parameters

50 Introducing three levels of parallelism Each job can be a parallel program – Parallel execution inside a workflow node (SIMD/MIMD/MISD) – Parallel execution among workflow nodes (SIMD/MIMD/MISD) Multiple jobs run parallel – Parameter study execution of the workflow (SIMD) Multiple instances of the same workflow process different data files

51 Parameter sweep (PS) workflow execution in P-GRADE portal PS port: 4 instances of the input file PS port: 3 instances of the input file 1 PS workflow execution = 4 x 3 normal workflow execution This provides the 3 rd level of parallelism resulting a very large demand for Grid resources

52 Steps of creating a PS-workflow 1. Start from a tested Workflow

53 2. Define the PS Port(s) New feature: Input Port can be defined as PS_port

54 3.Define Subdirectory of Inputs Subdirectory of a Grid File Catalogue must be defined

55 4. Define Subdirectory for the results

56 5. PS Workflow ready to Submit

57 Progress of submissions in PS detailed view Total = Init + Submitted + Rescue + Error + Finished

58 Conclusions: E-scientists’ concerns are resolved! The P-GRADE Portal hides the complexity and differences of Grids Globus X – LCG2 – gLite Grid interoperability at the workflow level Switching between Grid technologies will be transparent to the end- user Various components can be integrated into large Grid applications Sequential codes MPI codes Legacy codes (with the GEMLCA-specific P-GRADE Portal) You code does not have to include grid specific commands Graphical tools for application development, execution and monitoring Support for collaborative team work Sharing workflows Sharing jobs (components) Built by standard portlet API  customizable to specific application areas, user groups

59 How to learn the P-GRADE portal? –Take a look at (manuals, slide shows, installation procedure, etc.) –Visit or request a training event! (event list also on homepage) Lectures, demos, hands-on tutorials, application development support –Get an account for one of its production installations: VOCE portal - SZTAKI SEEGRID portal – SZTAKI GILDA portal – SZTAKI NGS portal – University of Westminster –If you are the administrator of a Grid/VO then contact SZTAKI to get your own P-GRADE Portal! –If you know the administrator of a P-GRADE Portal you can ask him/her to give access to your Grid through his/her portal installation! (Multi-Grid portal)

60 Thank you! Learn once, use everywhere Develop once, execute anywhere