Grid programming with components: an advanced COMPonent platform for an effective invisible grid © 2006 GridCOMP Grids Programming with components. An.

Slides:



Advertisements
Similar presentations
웹 서비스 개요.
Advertisements

Building Portals to access Grid Middleware National Technical University of Athens Konstantinos Dolkas, On behalf of Andreas Menychtas.
Elton Mathias and Jean Michael Legait 1 Elton Mathias, Jean Michael Legait, Denis Caromel, et al. OASIS Team INRIA -- CNRS - I3S -- Univ. of Nice Sophia-Antipolis,
A Workflow Engine with Multi-Level Parallelism Supports Qifeng Huang and Yan Huang School of Computer Science Cardiff University
INTRODUCTION TO SIMULATION WITH OMNET++ José Daniel García Sánchez ARCOS Group – University Carlos III of Madrid.
Operating-System Structures
ProActive Task Manager Component for SEGL Parameter Sweeping Natalia Currle-Linde and Wasseim Alzouabi High Performance Computing Center Stuttgart (HLRS),
Grid programming with components: an advanced COMPonent platform for an effective invisible grid © 2006 GridCOMP Grids Programming with components. An.
Grid programming with components: an advanced COMPonent platform for an effective invisible grid © 2006 GridCOMP Grids Programming with components. An.
Session 2: task 3.2 GCM, Kracow, June l Current status of GCM Denis Caromel (10 mn each talk) l Wrapping CCA Components as GCM Components Maciej.
Grid programming with components: an advanced COMPonent platform for an effective invisible grid © 2006 GridCOMP Grids Programming with components. An.
WNT Client/Server SDK Tony Vaccaro CS699 Project Presentation.
Intelligent Content Management. Concept Glossary Manager - Topic Maps Engine and Navigator Jakub Strychowski Rodan Systems SA
Distributed Systems: Client/Server Computing
Copyright Arshi Khan1 System Programming Instructor Arshi Khan.
Grid programming with components: an advanced COMPonent platform for an effective invisible grid © GridCOMP Grids Programming with components.
Advance Computer Programming Java Database Connectivity (JDBC) – In order to connect a Java application to a database, you need to use a JDBC driver. –
Polish Infrastructure for Supporting Computational Science in the European Research Space Policy Driven Data Management in PL-Grid Virtual Organizations.
1 Lecture 22 George Koutsogiannakis Summer 2011 CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES.
 Cloud computing  Workflow  Workflow lifecycle  Workflow design  Workflow tools : xcp, eucalyptus, open nebula.
Configuration Management and Server Administration Mohan Bang Endeca Server.
1 3. Implementing Web Services 1.Create SOAP proxy interfaces and WSDL based service descriptions 2.Register/publish services 3.Stores service descriptions.
Implementation Yaodong Bi. Introduction to Implementation Purposes of Implementation – Plan the system integrations required in each iteration – Distribute.
Engineering Law-Governed Approaches How to reuse, extend and compose interaction specifications Gustavo Carvalho, Carlos Lucena
Jaeki Song ISQS6337 JAVA Lecture 16 Other Issues in Java.
An Introduction to Software Architecture
A Metadata Based Approach For Supporting Subsetting Queries Over Parallel HDF5 Datasets Vignesh Santhanagopalan Graduate Student Department Of CSE.
Flexibility and user-friendliness of grid portals: the PROGRESS approach Michal Kosiedowski
第十四章 J2EE 入门 Introduction What is J2EE ?
The Grid Component Model: an Overview “Proposal for a Grid Component Model” DPM02 “Basic Features of the Grid Component Model (assessed)” -- DPM04 CoreGrid.
The Grid Component Model and its Implementation in ProActive CoreGrid Network of Excellence, Institute on Programming Models D.PM02 “Proposal for a Grid.
BLU-ICE and the Distributed Control System Constraints for Software Development Strategies Timothy M. McPhillips Stanford Synchrotron Radiation Laboratory.
The PROGRESS Grid Service Provider Maciej Bogdański Portals & Portlets 2003 Edinburgh, July 14th-17th.
Nick Draper 05/11/2008 Mantid Manipulation and Analysis Toolkit for ISIS data.
INFSO-RI Enabling Grids for E-sciencE Supporting legacy code applications on EGEE VOs by GEMLCA and the P-GRADE portal P. Kacsuk*,
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
PROGRESS: ICCS'2003 GRID SERVICE PROVIDER: How to improve flexibility of grid user interfaces? Michał Kosiedowski.
Grid programming with components: an advanced COMPonent platform for an effective invisible grid © GridCOMP Grids Programming with components.
Modeling Component-based Software Systems with UML 2.0 George T. Edwards Jaiganesh Balasubramanian Arvind S. Krishna Vanderbilt University Nashville, TN.
Migrating Desktop Marcin Płóciennik Marcin Płóciennik Kick-off Meeting, Santander, Graphical.
ServiceSs, a new programming model for the Cloud Daniele Lezzi, Rosa M. Badia, Jorge Ejarque, Raul Sirvent, Enric Tejedor Grid Computing and Clusters Group.
Grid programming with components: an advanced COMPonent platform for an effective invisible grid © 2006 GridCOMP Grids Programming with components. An.
Grid programming with components: an advanced COMPonent platform for an effective invisible grid © 2006 GridCOMP Grids Programming with components. An.
Distribution and components. 2 What is the problem? Enterprise computing is Large scale & complex: It supports large scale and complex organisations Spanning.
SEE-GRID-SCI The SEE-GRID-SCI initiative is co-funded by the European Commission under the FP7 Research Infrastructures contract no.
ProActive components and legacy code Matthieu MOREL.
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
Development of e-Science Application Portal on GAP WeiLong Ueng Academia Sinica Grid Computing
Lecture 4 Mechanisms & Kernel for NOSs. Mechanisms for Network Operating Systems  Network operating systems provide three basic mechanisms that support.
1. 2 Purpose of This Presentation ◆ To explain how spacecraft can be virtualized by using a standard modeling method; ◆ To introduce the basic concept.
1 ProActive GCM – CCA Interoperability Maciej Malawski, Ludovic Henrio, Matthieu Morel, Francoise Baude, Denis Caromel, Marian Bubak Institute of Computer.
Chapter 18 Object Database Management Systems. Outline Motivation for object database management Object-oriented principles Architectures for object database.
IBM Global Services © 2005 IBM Corporation SAP Legacy System Migration Workbench| March-2005 ALE (Application Link Enabling)
EGI Technical Forum Amsterdam, 16 September 2010 Sylvain Reynaud.
AFS/OSD Project R.Belloni, L.Giammarino, A.Maslennikov, G.Palumbo, H.Reuter, R.Toebbicke.
CEDPS Services Area Update CEDPS Face-to-Face Meeting ANL October 2007.
DataGrid is a project funded by the European Commission EDG Conference, Heidelberg, Sep 26 – Oct under contract IST OGSI and GT3 Initial.
Grid Execution Management for Legacy Code Architecture Exposing legacy applications as Grid services: the GEMLCA approach Centre.
Nguyen Thi Thanh Nha HMCL by Roelof Kemp, Nicholas Palmer, Thilo Kielmann, and Henri Bal MOBICASE 2010, LNICST 2012 Cuckoo: A Computation Offloading Framework.
Remote Api Tutorial How to call WS-PGRADE workflows from remote clients through the http protocol?
TTCN-3 Testing and Test Control Notation Version 3.
I/O server work at ICHEC Alastair McKinstry IS-ENES workshop, 2013.
Grid programming with components: an advanced COMPonent platform for an effective invisible grid © GridCOMP Grids Programming with components.
Introduction to J2EE Architecture
CSSSPEC6 SOFTWARE DEVELOPMENT WITH QUALITY ASSURANCE
IMPORTANT NOTICE TO STUDENTS:
Analysis models and design models
An Introduction to Software Architecture
The Grid Component Model and its Implementation in ProActive
Presentation transcript:

Grid programming with components: an advanced COMPonent platform for an effective invisible grid © 2006 GridCOMP Grids Programming with components. An advanced component platform for an effective invisible grid is a Specific Targeted Research Project supported by the IST programme of the European Commission (DG Information Society and Media, project n°034442) Legacy Code Wrapping Yongwei WU Tsinghua University

outline  Problem statement  Characteristics  Objective  Implements  Features added to the GCM  Usage  Application  Future Work Grid programming with components: an advanced COMPonent platform for an effective invisible grid 2

Problem Statement  Legacy codes written in Fortran or C/C++ using MPI has to be usable if the objective is to build an effective grid component framework;  In many cases it is not feasible or affordable to rewrite existing code;  Using existing works is most important for IT development; Grid programming with components: an advanced COMPonent platform for an effective invisible grid 3

Objective  Objective:  To develop techniques and methods for wrapping legacy code as GCM components which can run over grid without re-engineering the code, or even access the source files;  Legacy code component will be a module with standardized GCM description, and can be manipulated by tools for composition and deployment; Grid programming with components: an advanced COMPonent platform for an effective invisible grid 4

Characteristics The general characteristics of legacy code are as follows:  The source code is not available.  The program is poorly documented and the necessary expertise to do any modifications has long left the organization.  The application has to be ported onto the grid within the shortest possible time and smallest effort and cost.  The functionalities are offered to partner organizations but the source is not. Grid programming with components: an advanced COMPonent platform for an effective invisible grid 5

Implements(1/5): Actions According to our research, grid-enabling legacy code includes the following actions:  For the legacy code, provide some APIs in a standard interface to describe the legacy code attributes, such as the command line format and parameters.  For the related file operations, define some APIs in the interface to transfer the files and set the files’ attributes.  For the resource requirement of the legacy code, include it in the “GCM application description”.  For the running process of the legacy code, define the needed server and client interfaces to manipulate and control the legacy code. Grid programming with components: an advanced COMPonent platform for an effective invisible grid 6

Implements (2/5) : The architecture of the Legacy Code Component The architecture of the legacy code component Grid programming with components: an advanced COMPonent platform for an effective invisible grid 7

Implements (3/5) : Description of the Legacy Code  Extending the ADL  Not a flexible and extensible solution.  First version  Providing some API in a standard Interface  Have to create a component with the defined factory (LegacyComponent class).  Set attributes with the AttributeController.  Our current solution Grid programming with components: an advanced COMPonent platform for an effective invisible grid 8

Implements (4/5) : Related File Operations  Reuse the file transfer mechanism provided by the ProActive middleware  ProActive File Transfer Protocol (PFTP), SSH, RSH and Nordugrid  File Transfer will take place before the deployment of the component or after the successful execution of the legacy code at the target computing node  Have to set the permissions of the related files Grid programming with components: an advanced COMPonent platform for an effective invisible grid 9

Implements(5/5) : Execution Management The execution status transition of the legacy code Grid programming with components: an advanced COMPonent platform for an effective invisible grid 10

Features added to the GCM(1/5) : API describing the Legacy Code package org.tsinghua.gcm.legacyComponent.attribute public interface LegacyComponentAttributes extends AttributeController { public void setComment (String value); public void setExecutable (String value); public void setParameters (String value); } Grid programming with components: an advanced COMPonent platform for an effective invisible grid 11

Features added to the GCM(2/5) : The Running Process of the Legacy Code package org.tsinghua.gcm.legacyComponent.legacyCode public interface LegacyCodeControllerInterface { public LegacyCodeResult startLegacyCode(); public LegacyCodeResult reStartLegacyCode(); public boolean killLegacyCode(); public String getStatus(); public void setLegacyCodeCommand (String arguments); } Grid programming with components: an advanced COMPonent platform for an effective invisible grid 12

Features added to the GCM(3/5) : API for Related Files Operation package org.tsinghua.gcm.legacyComponent.relatedfile public interface LegacyComponentAttributes extends AttributeController { //only transfer the file from the local to the remote node where running the legacy code. public void fileTransfer (File srcFile, File dstFile); public void fileTransfers (File[] srcFiles, File[] dstFiles); //set the relatedfile’s permissions, such as the “read”,”write” or “execute” public void setFilePermission(File file, Permission permission); public void setFilePermissions(File[] file, Permission[] permission); public void setFilePermission(String permission); //delete the no-useful files after running the legacy code successfully public void setFileDelete(File file, FileDelete delete); public void setFileDeletes(File[] file, FileDelete[] delete); public void setFileDeletes(String delete); } Grid programming with components: an advanced COMPonent platform for an effective invisible grid 13

Features added to the GCM(4/5) : Resource Requirement of the Legacy Code  The definition of a virtual node in a “GCM application descriptor” file with the specification of the following elements:  operatingSystem  CPUArchitecture  CPUSpeed  CPUCount  memory  networkBandwidth  diskSpace Grid programming with components: an advanced COMPonent platform for an effective invisible grid 14

Features added to the GCM(5/5) : Wrap the Legacy Code to Component package org.tsinghua.gcm.legacyComponent //wrap the legacy code to Component public Interface LegacyComponent{ public Component newLegacyComponent(); } Grid programming with components: an advanced COMPonent platform for an effective invisible grid 15

Usage  An example implemented By API  An example implemented By ADL Grid programming with components: an advanced COMPonent platform for an effective invisible grid 16

Usage  BY API Grid programming with components: an advanced COMPonent platform for an effective invisible grid 17

Usage  BY ADL A common legacy code component ADL Grid programming with components: an advanced COMPonent platform for an effective invisible grid 18

Usage Grid programming with components: an advanced COMPonent platform for an effective invisible grid 19  BY ADL The base ADL file

Grid programming with components: an advanced COMPonent platform for an effective invisible grid 20 Application: Bioinformatics  Belong to Scientific Computing Application  This Bioinformatics program can be divided into 3 sub program{CAP3 , Tigr (Gene Sequence Assembly Tool),Blast (Sequence Alignment Tool)}, and they have natural parallel characteristics.

Application: Bioinformatics 1)Mapping & get Nodes (2)File transfer (3)Legacy code ->primitive Component by using API (4) primitive Component ->Composite Component(CC) (5)Component deployment (6) Composite Component1&2 are started parallel (7)In Node1&3, the component Cap3 in CC 1 and component Tigr in CC2 are working parallel. (8)When Cap3&Tigr finish their work,they transfer the output files to node2&4 (9)The two Component Blast on node 2&4 begin to work (10)Return each result of the CC to the Result Integrate Grid programming with components: an advanced COMPonent platform for an effective invisible grid 21

Legacy Code Wrapping: Future work  Future Work  Add some APIs,such as setStopCommandLine(), setPauseCommandLine() to make good use of the various of commands of legacy code.  Implement the request interface of LegacyComponent so that it can communicate with another component  Execute legacy code asynchronously to increase the efficiency of program Grid programming with components: an advanced COMPonent platform for an effective invisible grid 22

The end Thanks Grid programming with components: an advanced COMPonent platform for an effective invisible grid 23