Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "1 P-GRADE Portal: Towards a User-friendly Grid Environment Tamas Kiss Centre for Parallel Computing."— Presentation transcript:

1 1 P-GRADE Portal: Towards a User-friendly Grid Environment www.lpds.sztaki.hu/pgportal pgportal@lpds.sztaki.hu Tamas Kiss Centre for Parallel Computing University of Westminster kisst@wmin.ac.uk Gergely Sipos MTA SZTAKI, Hungary sipos@sztaki.hu

2 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 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 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 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 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 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 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 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 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 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 12 Developing workflows with the P-GRADE Portal 1.Define the Grid environment 2.Define the workflow Main steps

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

14 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 15 Resource Manager (settings portlet – user view) List of available grids To define computational resources for such a grid

16 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 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 18 Workflow development opening the workflow editor The editor is a Java Webstart application dynamic download and installation!

19 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 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 21 Which resource to use? The information system portlet helps characterize resources! I still don’t know which resource to use!

22 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 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 24 Workflow Editor JDL editor in v2.2 JDL  look at the LCG-2 Users’ manual!

25 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 26 Location of files Client side location: c:\experiments\11-04.dat Grid Unique IDentifier (GUID): guid:1fd75fdf-dccc-4603-998b-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 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 28 Workflow Editor saving the workflow Workflow has been defined! Let’s execute it!

29 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 30 The typical P-GRADE Portal scenario Execution phase – step 1: Certificate servers Portal server Grid services DOWNLOAD PROXY CERTIFICATES

31 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 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 33 Certificate Manager associating the proxy with a grid This operation displays the details of the certificate and the list of available Grids

34 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 35 Certificate servers Portal server Grid services TRANSFER FILES, SUBMIT JOBS The typical P-GRADE Portal scenario Execution phase - step 2:

36 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 37 White/Red/Green color means the job is initial/running/finished state Workflow Execution (observation by the workflow portlet)

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

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

40 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 41 On-Line Monitoring both at the workflow and job levels (workflow portlet) -The portal monitors and displays workflows

42 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 43 Rescuing a failed workflow 1. (from v2.2) A job failed during workflow execution Read the error log to know why

44 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 45 Certificate servers Portal server Grid services DOWNLOAD RESULTS The typical P-GRADE Portal scenario Execution phase – step 5

46 46 Downloading the results…

47 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 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 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 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 51 How to access P-GRADE portal? If you are interested in using P-GRADE Portal: –Take a look at www.lpds.sztaki.hu/pgportal (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 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 www.cpc.wmin.ac.uk/ngsportal –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 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 54 Thank you! www.lpds.sztaki.hu/pgportal pgportal@lpds.sztaki.hu


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

Similar presentations


Ads by Google