P-GRADE Portal tutorial

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

EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Introduction to EGEE hands-on Gergely Sipos.
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
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
Enabling Grids for E-sciencE Medical image processing web portal : Requirements analysis. An almost end user point of view … H. Benoit-Cattin,
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.
INFSO-RI SZTAKI’s Exploitation plan AHM meeting Budapest, 23 June 2009 Peter Kacsuk, Robert Lovas MTA SZTAKI.
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.
07/06/11 New Features of WS-PGRADE (and gUSE) 2010 Q Q2 Miklós Kozlovszky MTA SZTAKI LPDS.
INFSO-RI Enabling Grids for E-sciencE Supporting legacy code applications on EGEE VOs by GEMLCA and the P-GRADE portal P. Kacsuk*,
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
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.
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.
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 P-GRADE Portal tutorial at EGEE'09 Gergely Sipos MTA SZTAKI EGEE Training and Induction.
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.
1 Other features and next steps Gergely Sipos MTA SZTAKI Hungarian Academy of Sciences.
BalticGrid-II Project EGEE UF’09 Conference, , Catania Partner’s logo Framework for Grid Applications Migrating Desktop Framework for Grid.
1 P-GRADE Portal hands-on Gergely Sipos MTA SZTAKI Hungarian Academy of Sciences.
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
Migrating Desktop Uniform Access to the Grid Marcin Płóciennik Poznan Supercomputing and Networking Center Poznan, Poland EGEE’07, Budapest, Oct.
Migrating Desktop Uniform Access to the Grid Marcin Płóciennik Poznan Supercomputing and Networking Center Poland EGEE’08 Conference, Istanbul, 24 Sep.
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.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Grid Introduction Salma Saber Electronic.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Application specific portlet other portal features and next steps Miklos Kozlovszky.
Grid2Win Porting of gLite middleware to Windows XP platform
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
Grid Application Support Group Case study Schrodinger equations on the Grid Status report 16. January, Created by Akos Balasko
Introduction to Grid Technology
Grid2Win: Porting of gLite middleware to Windows XP platform
Introduction to P-GRADE Portal hands-on
P-GRADE and GEMLCA.
Lightweight introduction
Lightweight introduction
Application development on EGEE with P-GRADE Portal
The GENIUS portal and the GILDA t-Infrastructure
Introduction to the SHIWA Simulation Platform EGI User Forum,
Workflow level parametric study support by the P-GRADE portal
Presentation transcript:

P-GRADE Portal tutorial Gergely Sipos sipos@sztaki.hu MTA SZTAKI www.portal.p-grade.hu pgportal@lpds.sztaki.hu

Agenda Basics of P-GRADE Portal (~45 minute) Workflow hands-on (~45 minute) Advanced applications with P-GRADE Portal (~15 minute) Hands-on cont’d – workflows, parameter studies (~20 minute) Next steps with P-GRADE (~10 minute)

P-GRADE overview and introduction: workflows & parameter sweeps (Basics)

Introduction of LPDS (Lab of Parallel and Distr. Systems) Research division of MTA SZTAKI from 1998 Head: Peter Kacsuk, Prof. 22 research fellows Foundation member Central European Grid Consortium (2003) Hungarian Grid Competence Center (2003) Participant or coordinator in many European and national Grid research, infrastructure, and educational projects (from 2000) FP5: GridLab, DataGrid FP6: EGEE I-II, SEE-GRID I-II, CoreGrid, ICEAGE, CancerGrid FP7: EGEE III, SEE-GRID-SCI, EDGeS (coordinator), ETICS, S-CUBE Central European Grid Training Center in EGEE (from 2004) www.lpds.sztaki.hu

Short History of P-GRADE portal Parallel Grid Application and Development Environment Initial development started in the Hungarian SuperComputing Grid project in 2003 It has been continuously developed since 2003 Detailed information: http://www.portal.p-grade.hu/ Open Source community development since January 2008: https://sourceforge.net/projects/pgportal/

Download of OSS P-GRADE portal 110 downloads within the first month ~697 total downloads until now

Main P-GRADE related projects EU SEE-GRID-1 (2004-2006) Integration with LCG-2 and gLite EU SEE-GRID-2 (2006-2008) Parameter sweep extension EU CoreGrid (2005-2008) To solve grid interoperation for job submission To solve grid interoperation for data handling: SRB, OGSA-DAI GGF GIN (2006) Providing the GIN Resource Testing portal EGEE 2,3 (2006-2010) Respect program tool used for training and application development ICEAGE (2006-2008) P-GRADE portal is used for training as official portal of the GILDA training infrastructure EU EDGeS (2008-2009) Transparent access to any EGEE and Desktop Grid systems See Demo Booth 5: EDGes – Desktop Grid Extension of the EGEE Infrastructure

Portal installations

Multi-Grid service portal To be used today!

Motivations for developing P-GRADE portal P-GRADE portal should Hide the complexity of the underlying grid middlewares Provide a high-level graphical user interface that is easy-to-use for e-scientists Support many different grid programming approaches: Simple Scripts & Control (sequential and MPI job execution) Scientific Application Plug-ins Complex Workflows Parameter sweep applications: both on job and workflow level Interoperability: transparent access to grids based on different middleware technology (both computing and data resources) Support several levels of parallelism

Layers in a Grid system Application Application toolkits, standards Basic Grid services: AA, job submission, info, … Higher-level grid services (brokering,…) Application toolkits, standards Application Graphical interface P-GRADE Portal services Command line tools Grid middleware

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

Three Levels of parallelism Multiple instances of the same workflow can process different data files Job level: Parallel execution inside a workflow node (MPI job as workflow component) Workflow level: Parallel execution among workflow nodes (WF branch parallelism) PS workflow level: Parameter study execution of the workflow Multiple jobs can run parallel Each job can be a parallel program

Example: Computational Chemistry Department of Chemistry, University of Perugia 25 times SOLUTION OF SCHRODINGER EQUATION FOR TRIATOMIC SYSTEMS USING TIME-DEPENDENT (RWAVEPR) OR TIME INDEPENDENT (ABC) METHOD A single execution can be between 5 hours and 10 hours Many simulations at the same time SEQUENTIAL FORTRAN 90 See at demo booth 11: EGEE Application Porting Support Group

Grid interoperation by P-GRADE Acccessing Globus, gLite and ARC based grids/VOs simultaneously P-GRADE portal

Typical user scenario Job compilation phase Certificate servers Grid services UPLOAD SOURCE(S) Portal server Client COMPILE – EDIT DOWNLOAD BINARI(ES)

Typical user scenario Application development phase Certificate servers Grid services SAVE APPLICATION Portal server Client START EDITOR OPEN & EDIT WORKFLOW or PARAMETER STUDY

Typical user scenarios Workflow execution phase Certificate servers TRANSFER FILES, SUBMIT JOBS DOWNLOAD PROXY CERTIFICATES Grid services VISUALIZE JOBS and APPLICATION PROGRESS MONITOR JOBS Portal server DOWNLOAD (SMALL) RESULTS Client

P-GRADE Portal structural overview Web browser Java Webstart workflow editor Client User interface layer Presents the user interface P-GRADE Portal server Internal layer – Java classes Represents the internal concepts Grid layer – gLite and Globus command line tools Interfacing with grid services EGEE and Globus Grid services (gLite WMS, LFC,…; Globus GRAM, GridFTP, …) Grid

Interface layer User interface layer Java Webstart workflow editor Web browser Java Webstart workflow editor Client User interface layer Web server Gridpshere Web portal framework P-GRADE Portal server Gridsphere portlets P-GRADE portlets Workflow monitor: Java applet generator Workflow editor: Java webstart application

Interface layer functionalities Workflow portlet Workflow manager, Storage, Upload Certificate portlet Upload, download and other operations Settings portlet Grid settings, Quota settings File management Manage files in the grid Compiler portlet Compile jobs on portal server Web browser Java Webstart workflow editor Client Login Welcome ... User interface layer Web server Gridpshere Web portal framework P-GRADE Portal server Gridsphere portlets P-GRADE portlets Workflow monitor: Java applet generator Workflow editor: Java webstart application

P-GRADE vs. Non-P-GRADE portlets GridSphere 2.x Grid Portal framework P-GRADE Portal portlets

Interface layer User interface layer Java Webstart workflow editor Web browser Java Webstart workflow editor Client User interface layer Web server Gridpshere Web portal framework P-GRADE Portal server Gridsphere portlets P-GRADE portlets Workflow monitor: Java applet generator Workflow editor: Java webstart application

Interface layer User interface layer Java Webstart workflow editor Web browser Java Webstart workflow editor Client User interface layer Web server Gridpshere Web portal framework P-GRADE Portal server Gridsphere portlets P-GRADE portlets Workflow monitor: Java applet generator Workflow editor: Java webstart application

Portlets/functionalities of P-GRADE portal Settings (portlet) Certificate and proxy management (portlet) Information system visualization (portlet) Graphical workflow editing Workflow manager (portlet) LFC (EGEE) file management (portlet) Compilation support (portlet) Fault-tolerance support

Settings Portlet Portal administrator can connect the portal to several grids register the basic resources of the connected grids

Settings Portlet User can customize the connected grids by adding and removing resources

Certificate and proxy management Portlet SEE-GRID access HUNGRID access User can upload his certificates of various grids to the MyProxy server User can download proxys and allocate to grids User can use simultaneously as many proxys as many grids are connected to the portal As a result parallel branches of a workflow can be executed simultaneously in several grids

Solving Grid interoperation by P-GRADE Portal EGEE Grid P-GRADE-Portal Different jobs can be parallel executed in different grids UK NGS London Rome Athens

Interoperation vs. Interoperability As defined by the GIN (Grid Interoperation Now) CG (Community Group) of the OGF (Open Grid Forum) Interoperation: short term solution that defines what needs to be done to achieve interoperation between current production grids using existing technologies Interoperability: native ability of Grids and Grid middleware to interact directly via common open standards Grid 1 P-GRADE Portal Grid 1 Grid 2 Grid 3 Grid 2 Grid 3 Interoperation Interoperability

Information system Portlet

Graphical workflow editing The aim is to define a DAG of batch jobs: Drag & drop components: jobs and ports Define their properties Connect ports by channels (no cycles, no loops, no conditions) Automatically generates JDL file

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

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!

Workflow Editor Defining input-output files File properties Type: input: the job reads output: the job generates File type: local: comes from my desktop remote: comes from an SE File: location of the file Internal file name: Executable reads the file in this name – fopen(“file.in”, …) File storage type (output files only): Permanent: final result Volatile: only data channel

How to refer to an I/O file? Input file Output file Local file Client side location: c:\experiments\11-04.dat LFC logical file name (LFC file catalog is required – EGEE VOs) lfn:/grid/gilda/sipos/11-04.dat GridFTP address (in Globus Grids): gsiftp://somengshost.ac.uk/mydir/11-04.dat Client side location: result.dat LFC logical file name (LFC file catalog is required – EGEE VOs) lfn:/grid/gilda/sipos/11-04_-_result.dat GridFTP address (in Globus Grids): gsiftp://somengshost.ac.uk/mydir/result.dat Remote file

LOCAL INPUT FILES & EXECUTABLES Only the permanent files! Local vs. remote files Your binary can access data services directly too GridFTP API GFAL API lfc-*, lcg-* commands Grid services LOCAL INPUT FILES & EXECUTABLES Storage elements LOCAL INPUT FILES & EXECUTABLES Portal server REMOTE INPUT FILES REMOTE OUTPUT FILES LOCAL OUTPUT FILES LOCAL OUTPUT FILES Only the permanent files! Computing elements

Workflow manager Lists available workflows Enables Submitting Aborting Deleting existing workflows Shows status, logs and results of workflow executions Orchestrates job executions inside a workflow

LFC (EGEE) file management

Compilation support

Fault-tolerant Grid applications New Fault-tolerant Grid applications Utilizing Condor DAGMan’s rescue mechanism EGEE job resubmission mechanism of WMS If the EGEE broker leaves a job stuck in a CEs’ queue, the portal automatically kills the job on this site and resubmits the job to the broker by prohibiting this site. As a result the portal guarantees the correct submission of a job as long as there exists at least one matching resource job submission is reliable even in an unreliable grid

Lessons learnt P-GRADE portal provides Easy-to-use but powerful workflow system (graphical editor, wf manager, etc.) Three levels of parallelism MPI job level Workflow branch level Parameter sweep at workflow level Multi-grid/multi-VO access mechanism for various grids (LCG-2, gLite and GT2) Simultaneous access Transparent access Migrating a workflow from one grid to another requires no modification in the workflow

www.portal.p-grade.hu pgportal@lpds.sztaki.hu Learn once, use everywhere Develop once, execute anywhere Thank you! www.portal.p-grade.hu pgportal@lpds.sztaki.hu