1 P-GRADE Portal: Towards a User-friendly Grid Environment Tamas Kiss Centre for Parallel Computing.

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.
Introduction to Grids and Grid applications Gergely Sipos 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.
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.
1 MTA SZTAKI Hungarian Academy of Sciences Grid application support by the P-GRADE Portal Peter Kacsuk.
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.
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.
SCI-BUS is supported by the FP7 Capacities Programme under contract nr RI Creating the Autodock gateway from WS-PGRADE/gUSE and making it cloud-enabled.
1 Overview of the Application Hosting Environment Stefan Zasada University College London.
1 Next steps with EGEE and P-GRADE Portal Gergely Sipos MTA SZTAKI EGEE Training and Induction.
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/
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.
EGEE-III INFSO-RI Enabling Grids for E-sciencE Training services offered by SZTAKI for EGEE and EGI Gergely Sipos MTA SZTAKI (Hungarian.
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.
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.
Grid Execution Management for Legacy Code Applications Grid Enabling Legacy Applications.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Status report on Application porting at SZTAKI.
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.
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)
SHIWA: Is the Workflow Interoperability a Myth or Reality PUCOWO, June 2011, London Gabor Terstyanszky, Tamas Kiss, Tamas Kukla University of Westminster.
1 Other features and next steps Gergely Sipos MTA SZTAKI Hungarian Academy of Sciences.
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.
Application Specific Module Tutorial Zoltán Farkas, Ákos Balaskó 03/27/
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.
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.
Introduction to Grid and Grid applications Peter Kacsuk MTA SZTAKI
Centre for Parallel Computing Tamas Kiss Centre for Parallel Computing A Distributed Rendering Service Tamas Kiss Centre for Parallel Computing Research.
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 overview and introduction: workflows & parameter sweeps (Advanced features) Gergely Sipos MTA SZTAKI
Introduction to gUSE and WS-PGRADE portal
P-GRADE Portal tutorial
Grid Application Support Group Case study Schrodinger equations on the Grid Status report 16. January, Created by Akos Balasko
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 P-GRADE Portal: Towards a User-friendly Grid Environment Tamas Kiss Centre for Parallel Computing University of Westminster Gergely Sipos MTA SZTAKI, Hungary

2 Technology concerns of Grid systems Fast evolution of Grid systems and middleware: –GT1, GT2, OGSA, GT3 (OGSI), GT4 (WSRF), LCG-2, gLite, … Many Grid systems are built based on these different technologies –EGEE (LCG-2), UK NGS (GT2), Open Science Grid (GT3), etc.

3 Grid systems for HPC – User concerns How to cope with the variety of Grid systems? How to develop/create new Grid applications? How to execute Grid applications? How to observe the application execution in the Grid? How to tackle performance issues? How to execute Grid applications over several Grids in a transparent way? P-GRADE Grid Portal gives you the answer!

4 Properties of the P-GRADE Portal General purpose, workflow-oriented computational Grid portal. Supports the development and execution of workflow- based Grid applications. Support for multi-grid workflows GridSphere-2 based –Easy to expand with new portlets (e.g. application-specific portlets) –Easy to tailor to end-user needs Grid services supported by the portal: ServiceLCG-2 specific gridsGlobus-specific grids Job executionComputing ElementGRAM File storageStorage ElementGSIFTP server Certificate managementMyProxy Information systemBDIIMDS-2 BrokeringWorkload Management System--- Job monitoringMercury Workflow & job visualizationPROVE

5 What is a P-GRADE Portal workflow? a directed acyclic graph where –Nodes represent jobs (executable batch programs) –Ports represent input/output files the jobs expect/ produce –Arcs represent file transfer between the jobs semantics of the workflow: –A job can be executed if all of its input files are available local input files: on the portal server remote input files: on storage elements

6 Two levels of parallelism by a workflow The P-GRADE Portal workflow concept 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

7 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)

8 The problem of current portals They tightly connected and tailored to only one particular Grid (eg. NGS portal, NorduGrid portal) If the user wants to move to another Grid –(She has to obtain certificate for the new Grid) –She has to register for the new Grid –She has to get an account for its portal –She has to learn the new environment –She has to copy the grid files & modify the application P-GRADE Portal release 2.1 and above solve these problems: –(Obtain a certificate for the new Grid) –Register for the new Grid –Map some of the jobs of your workflow onto resources of this Grid

9 EGEE Grid e.g. VOCE UK NGS P-GRADE-Portal London Rome Athens Multi-Grid P-GRADE Portal The portal can be connected to multiple grids Different jobs of a workflow can be executed in different grids

10 The typical P-GRADE Portal scenario Part 1 - development phase Certificate servers Portal server Grid services OPEN EDITOR OPEN & EDIT or DEVELOP WORKFLOW SAVE WORKFLOW DEFINE GRID ENVIRONMENT

11 Certificate servers Portal server Grid services TRANSFER FILES, SUBMIT JOBS DOWNLOAD RESULTS The typical P-GRADE Portal scenario Part 2 - execution phase VISUALIZE JOBS and WORKFLOW PROGRESS MONITOR JOBS DOWNLOAD PROXY CERTIFICATES

12 Developing workflows with the P-GRADE Portal 1.Define the Grid environment 2.Define the workflow Main steps

13 The typical P-GRADE Portal scenario Development phase – step 1: Certificate servers Portal server Grid services DEFINE THE GRID ENVIRONMENT

14 Resource Manager (settings portlet) To define which computational resources my workflows will use Two levels: 1.Define grids or VOs  administrator 1.Name (e.g. gridats) 2.Information system (e.g. egrid-2.egrid.it) 2.Define Computational resources for each grid: 1.Automatically from information system (only from MDS-2) 2.Centrally by the administrator 3.Individually by each user

15 Resource Manager (settings portlet – user view) List of available grids To define computational resources for such a grid

16 Resource Manager (settings portlet – user view) Every computational resource is identified by a host name port number (or use default) local jobmanager (queue name) e.g. egrid-3.egrid.it/jobmanager-fork

17 The typical P-GRADE Portal scenario Development phase – step 2: Certificate servers Portal server Grid services OPEN EDITOR OPEN & EDIT or DEVELOP or IMPORT WORKFLOW SAVE WORKFLOW

18 Workflow development opening the workflow editor The editor is a Java Webstart application dynamic download and installation!

19 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)

20 Workflow Editor defining the jobs Define the job: Executable file Executable type Number of required processors command line params. The resource to be used for the execution: Grid (Comp. resource)

21 Which resource to use? The information system portlet helps characterize resources! I still don’t know which resource to use!

22 Automatic resource selection Since P-GRADE Portal v2.2 1.Describe the requirements of the job 2.Select a LCG-2 middleware based Grid (e.g. VOCE) for it 3.The workflow manager will use the broker of that Grid during the execution to find the best resource for the job

23 Workflow Editor defining jobs in v2.2 Select an LCG-2 based Grid (*_LCG_2_BROKER)! Ignore the resource field! Define optional requirements using the built-in JDL editor!

24 Workflow Editor JDL editor in v2.2 JDL  look at the LCG-2 Users’ manual!

25 Workflow Editor defining the 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 Storage type: Permanent: final result of the WF Volatile: just inter-job data transfer

26 Location of files Client side location: c:\experiments\11-04.dat Grid Unique IDentifier (GUID): guid:1fd75fdf-dccc b-e17facb0d034 LRS logical file name: (RMC file catalog is required – VOCE) lfn:/sipos_11_04.dat LFC logical file name (LFC file catalog is reuired – Egrid, Hungrid) lfn:/grid/egrid/sipos/11-04.dat Input fileOutput file Local files Remote files Client side location: result.dat LRS logical file name: (RMC file catalog is required – VOCE) lfn:/sipos_11_04_-_result.dat LFC logical file name (LFC file catalog is reuired – Egrid, Hungrid) lfn:/grid/egrid/sipos/11-04_-_result.dat

27 Local vs. remote files Portal server Grid services Comp. resources Storage resources REMOTE INPUT FILES REMOTE OUTPUT FILES LOCAL INPUT FILES & EXECUTABLES LOCAL OUTPUT FILES LOCAL INPUT FILES & EXECUTABLES LOCAL OUTPUT FILES Only the permanent files!

28 Workflow Editor saving the workflow Workflow has been defined! Let’s execute it!

29 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

30 The typical P-GRADE Portal scenario Execution phase – step 1: Certificate servers Portal server Grid services DOWNLOAD PROXY CERTIFICATES

31 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

32 Certificate Manager downloading a proxy 1.MyProxy server access details: Hostname (egrid-1.egrid.it) Port number (7512) User name (from upload) Password (from upload) 2.Proxy parameters: Lifetime Comment

33 Certificate Manager associating the proxy with a grid This operation displays the details of the certificate and the list of available Grids

34 Certificate Manager browsing proxies Multiple proxies can be available on the portal server at the same time! Comp. resources of SEE-GRID Comp. resources of HUNGRID

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

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

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

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

39 Workflow Execution I still don’t know what’s happening inside my workflow!

40 Certificate servers Portal server Grid services The typical P-GRADE Portal scenario Execution phase – step 3: VISUALIZE JOBS and WORKFLOW PROGRESS MONITOR JOBS

41 On-Line Monitoring both at the workflow and job levels (workflow portlet) -The portal monitors and displays workflows

42 On-Line Monitoring both at the workflow and job levels (workflow portlet) -The portal also monitors and visualizes parallel jobs (if they were developed with the P-GRADE Environment) -The portal also generates a statistical view

43 Rescuing a failed workflow 1. (from v2.2) A job failed during workflow execution Read the error log to know why

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

45 Certificate servers Portal server Grid services DOWNLOAD RESULTS The typical P-GRADE Portal scenario Execution phase – step 5

46 Downloading the results…

47 New features in P-GRADE Portal 2.3 Every user has a storage quota on the portal server Workflows and traces can be exported from the portal server onto your client machine Workflows and traces can be imported from your client machine into the Portal

48 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)

49 Grid systems for HPC – User concerns How to cope with the variety of Grid systems? How to develop/create new Grid applications? How to execute Grid applications? How to observe the application execution in the Grid? How to tackle performance issues? How to execute Grid applications over several Grids in a transparent way?

50 References Official portal of –SEE-GRID infrastructure –VOCE infrastructure –HUNGRID infrastructure P-GRADE portal is available as service for: –Croatian Grid –UK National Grid Service –EGrid (Italy)

51 How to access P-GRADE portal? If you are interested in using P-GRADE Portal: –Take a look at (slideshows, manuals, etc.) –Get an account for one of its production installations: VOCE portal - SZTAKI SEEGRID portal – SZTAKI HUNGrid portal – SZTAKI NGS portal – University of Westminster Egrid portal – ICTP –If you are the administrator of a Globus/LCG-2 based Grid/VO then ask SZTAKI to install the P-GRADE Portal for you! –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!)

52 What more we can offer GEMLCA-specific P-GRADE Portal: –Share jobs and legacy applications with other members of your community –Portal service for the UK NGS –LCG-2 specific version is also available –Lecture and demo tomorrow at 14:30-15:15 Collaborative P-GRADE Portal: –Develop workflows with your colleagues in a concurrent fashion –Execute different parts of the workflow with different users’ certificates –Will be available in 2006

53 Final conclusions P-GRADE portal provides: –Easy-to-use workflow concept for solving complex problems –Fast development of Grid applications –Integrating various components into large Grid applications: Sequential codes MPI codes (Legacy codes  GEMLCA-specific P-GRADE Portal) –Application monitoring, performance visualization, guarantee correctness –Interoperability between different Grid systems can be solved –Simultaneous execution of application components in different Grids –Easy to port applications among Grids (Switching between Grid technologies will be transparent to the end-user) Learn once, use everywhere Develop once, execute anywhere

54 Thank you!