Parameter Study Principles & Practices. What is Parameter Study? Parameter study is the application of a single algorithm over a set of independent inputs:

Slides:



Advertisements
Similar presentations
How to Build Macro-Models in Tina SPICE
Advertisements

1 P-GRADE Portal and GEMLCA Legacy Code Architecture Peter Kacsuk MTA SZTAKI
ISecurity GUI User-Friendly Interface. Features Full support of all green-screen functionality Simultaneous views of multiple iSecurity screens and activities.
Short Portlet Programming Guide in P-Grade (Gridsphere) environment G. Hermann.
LPDS MTA SZTAKI Equation Solver A Grid solution Important hint: A follow up example demonstrating the Parameter Study solution for the mass calculations.
GUI Testing. High level System Testing Test only those scenarios and outputs that are observable by the user Event-driven Interactive Two parts to test.
CHAPTER 30 THE HTML 5 FORMS PROCESSING. LEARNING OBJECTIVES What the three form elements are How to use the HTML 5 tag to specify a list of words’ form.
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.
Pseudo dynamic DAG control Version 1. Outline Goal Solution Restrictions Example Case Study.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
CS320n –Visual Programming LabVIEW Foundations. Visual ProgrammingLabVIEW Foundations2 What We Will Do Today Hand back and review the midterm Look at.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon...
Collaboration Suite Business Process Management
Saving and Loading Simple Text Files A sequential file stores characters one after the other like songs on a cassette tape. New characters are added to.
WS-PGRADE Akos Balasko LPDS MTA SZTAKI. Content General Overview Parts of System Activities (of advanced and of common user) Simplified Graph of the hierarchy.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Chapter 8: Writing Graphical User Interfaces
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and explore common elements Use the Ribbon Work with files Use.
WEKA - Explorer (sumber: WEKA Explorer user Guide for Version 3-5-5)
CARLSON SOFTWARE CONFERENCE DANIEL V. SYPERSMA VICTOR GRAPHICS.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
StAR web server tutorial for ROC Analysis. ROC Analysis ROC Analysis: This module allows the user to input data for several classifiers to be tested.
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
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.
Introduction of Geoprocessing Topic 7a 4/10/2007.
Tools Menu and Other Concepts Alerts Event Log SLA Management Search Address Space Search Syslog Download NetIIS Standalone Application.
CSC 3210 Computer Organization and Programming Chapter 1 THE COMPUTER D.M. Rasanjalee Himali.
Active Server Pages  In this chapter, you will learn:  How browsers and servers interacted on the Internet when the Internet first became popular 
Parameter Study (PS) Principles & Practices Note This document uses as starting example the non PS case discussed in document EquationSolver.ppt If you.
1 Extend is a simulation tool to create models quickly, with all the blocks you need and without even having to type an equation. You can use a series.
ITCS373: Internet Technology Lecture 5: More HTML.
Page 1 Non-Payroll Cost Transfer Enhancements Last update January 24, 2008 What are the some of the new enhancements of the Non-Payroll Cost Transfer?
Working with the VB IDE. Running a Program u Clicking the”start” tool begins the program u The “break” tool pauses a program in mid-execution u The “end”
Introduction to Programming with RAPTOR
How to Run a Scenario In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Editors And Debugging Systems Other System Software Text Editors Interactive Debugging Systems UNIT 5 S.Sharmili Priyadarsini.
1 PL\SQL Dev Templates. 2 TEMPLATE DEFINITION Whenever you create a new program unit, its initial contents are based upon a template which contains pre-defined.
The EDGeS project receives Community research funding 1 Porting Applications to the EDGeS Infrastructure A comparison of the available methods, APIs, and.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Status report on Application porting at SZTAKI.
Class Builder Tutorial Presented By- Amit Singh & Sylendra Prasad.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Parameter Study Principles & Practices. Outline Data Model of the PS Part I Simple PS –Generating simple PS Workflow by introducing PS Input port – using.
1 P-GRADE Portal tutorial at EGEE’09 Introduction to hands-on Gergely Sipos MTA SZTAKI EGEE.
EGEE-II INFSO-RI Enabling Grids for E-sciencE P-GRADE overview and introduction: workflows & parameter sweeps (Advanced features)
1 Support for Parameter Study applications in the P-GRADE Portal Cevat Şener Dept. Of Computer Engineering, METU.
Introduction of Geoprocessing Lecture 9 3/24/2008.
1 P-GRADE Portal hands-on Gergely Sipos MTA SZTAKI Hungarian Academy of Sciences.
: Information Retrieval อาจารย์ ธีภากรณ์ นฤมาณนลิณี
07/02/2012 WS-PGRADE/gUSE in use Lightweight introduction Zoltán Farkas MTA SZTAKI LPDS.
WS-PGRADE/gUSE in use Advance use of WS- PGRADE/gUSE gateway framework Zoltán Farkas and Peter Kacsuk MTA SZTAKI LPDS.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
1 Berger Jean-Baptiste
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
Remote Api Tutorial How to call WS-PGRADE workflows from remote clients through the http protocol?
Editing and Debugging Mumps with VistA and the Eclipse IDE Joel L. Ivey, Ph.D. Dept. of Veteran Affairs OI&T, Veterans Health IT Infrastructure & Security.
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.
ASP.NET Forms.
P-GRADE overview and introduction: workflows & parameter sweeps (Advanced features) Gergely Sipos MTA SZTAKI
An Introduction to Computers and Visual Basic
Grid Application Support Group Case study Schrodinger equations on the Grid Status report 16. January, Created by Akos Balasko
Remote Api Tutorial How to call WS-PGRADE workflows from remote clients through the http protocol?
Lightweight introduction
Lightweight introduction
Multi-host Internet Access Portal (MIAP) Enhancement Guide
Using Templates and Library Items
Using SQL*Plus.
Workflow level parametric study support by the P-GRADE portal
Presentation transcript:

Parameter Study Principles & Practices

What is Parameter Study? Parameter study is the application of a single algorithm over a set of independent inputs: Y i = Alg (X i ) where X i  X={X 1, X 2,.. X n } In many practical cases the Input set is the combination (Cartesian product or  ) of base input sets Example: PS1 i  PS1= {PS1 1,PS1 2 }; PS2 i  PS2 ={PS2 1,PS2 2,PS2 3 } then X = PS1  PS2 and X i  X={ X 1 ={PS1 1, PS2 1 }, X 2 ={PS1 2, PS2 1 }, X 3 ={PS1 1, PS2 2 }, X 4 ={PS1 2, PS2 2 }, X 5 ={PS1 1, PS2 3 }, X 6 ={PS1 2, PS2 3 } }

Outline Data Model of the PS Part I Simple PS –Generating simple PS Workflow by introducing PS Input port – using existing inputs Part II Complex PS –Making inputs for ourselves by Generator and Auto Generator Jobs using PS Output ports –Evaluate the results by Collector jobs using Special PS Input ports Appendix1: Auto Generator (separate example) Appendix2: Summary of overall PS execution Appendix3: Classification of possible PS outputs

One or more base parameter Sets are defined. Each has different parameters. (Sets are represented by remote file directories, the parameters are representedby files) WF PS DATA FLOW Content of Parameter Sets are combined by Descartes product (  ) Each combination will compose an input of an independent workflow Results of the calculations will be stored. (Results are represented by remote files of one or more common directories) PS_1_1PS_2_1 PS_1_2PS_2_1 PS_1_1PS_2_2 PS_1_2PS_2_2  One or more base parameter Sets are defined. Each has different parameters. (Sets are represented by remote file directories, the parameters are represented by files) Result_1_1 Result_2_1 Result_1_2 Result_2_2 PR PS_1_2 PS_1_1 PS_2_2 PS_2_1 PS1PS2

Part I :Simple PS Start from a tested Workflow Activity 1: Change Input Ports to PS Input Port Activity2: Define placement of results

Part I: Example to start from: an simple WF It calculates (and checks the accuracy the calculation of) x of the matrix equation A*x=B, where the job Separator separates the value of A from B recognizing a separator # character in the common input file. AB A -1 A -1 *B=xA*xA*x - B

Input Port of the original workflow Changing the input of the workflow we want to define a container for a set of existing input files upon the workflow should be independently executed.

Creating a PS Input Port

Simple PS introducing the concept of PS Input Port PS Input port distinguished by dark green PS Input Port defines a container of input files in order to elaborate them separately by different turns of the workflow submissions. The container is represented by remote file directories. If there are more PS Input Ports the combination of all possibilities (Descartes product ) will be calculated.

PS Input Port of Simple PS Remote file Directory instead of FILE reference Do not use the prefix lfn: if the directory is EGEE Grid file catalogue

Simple PS Activity 2: placement of result Menu item PS Properties can be called within the Workflow menu

Simple PS Activity 2: placement of result If the Grid is LCG or gLite (EGEE) like, then the properties of the Grid File Catalog must be defined The Output directory will contain the set of individual compressed files. Each compressed file contains the outputs of an element Workflow have been elaborated over an item of the PS Input Set Do not use the prefix lfn: if the directory is EGEE Grid file catalogue Need not to be filled! The system uses a default value Storage Element: Placement of result

Workflow Manager List (base view) Only the different label on the button reveals that this is not a common but a PS Workflow

Workflow Manager List PS Details view showing eWF-s A special “middle level” list renders the details of a single PS Workflow Statistics shows the progress of the elaboration of the whole PS The eWorkflow buffer list shows the state of the Workflows being processed. Note: the size of the eWorkflow buffer restricts the number of the eWorkflows which may run parallel!

Details view of the eWF Ax_EQU_B_voce_PS.6 Job level details of an eWorkflow See, that the button Attach is missing as there is not to much importance to access the WE until the eWorkflow list is exhausted

A Collector is a special job which may read more than one files connected to the same input port during a single run Part II: Data Model of advanced PS Gen A_Gen Input Coll Output Coll Output Coll Output The Autogenerator is a special job: May have no input Runs on the Portal A Generator is a special job which may produce more than one output files connected to the same port during a single run A Collector is a special job which may read more than one files connected to the same input port during a single run

Creating a Generator (or Collector job) A Generator (or a Collector) job can be created if there is any PS property of the Workflow. A single PS input port indicates a PS property We want to create the input files of the PS by the workflow, therefore we need a Generator Click on th job icon Double click on Job icon

Creating an Auto Generator job from a common Generator job There are two subtypes of Generators: 1.“Normal” with user defined executable 2. “Automatic” a special macro processor running on the Portal Server Double click on a Generator Job icon

PS with Generator A generator job will be submitted before any PS jobs, and generates a set of parameter files gathered in a single remote file directory defined by a PS Output Port Generator jobs can be user defined (then it is the responsibility of the user defined executable of the Generator job to produce the parameter files in required way and number ) or may be “auto generated”. (See detailed on the next slides) PS Output Port must be connected to one or more PS Input Port(s)

Main Definition Window of Auto Generator Job Auto Generator is special macro processor. Keys define sets, whose elements will be substituted in the Input file text. The possible combinations are written in separate files and determine the Parameter Set. Note: a key occuring more than one times in the Input file text will be replaced by the same key set value in that element of the Parameter Set Hitting on a key opens the key definition window The input file text is the generic base of input files to be generated. The Input file text is entered manually or loaded from a defined input file. The list of Keys will be displayed by the clicking on the button Parse

A sub window for key definition of the Auto Generator Job There are four different ways to define the set of a distinguished key in our example of Reals Of B The values of the key set must have a common type, and they may be formatted Button Generate interprets the key set generation and enables a preview of the result in the list Generated Items

(Auto) Generator Attribute Editor for SE definition Attribute Editor defines the properties of remote files created by the Generator: 1. Storage Element must be defined if an LCG like (EGEE ) file access has been defined in the PS Output Port belonging to the Generator

(Auto) Generator Attribute Editor for Grid File Catalog Attribute Editor defines the properties of remote files created by the Generator: 2. File Catalog Access may be defined if an LCG or gLite like (EGEE ) file access has been defined in the PS Output Port belonging to the Generator

(Auto) Generator PS Output Port Definition Remote file Directory instead of File reference Do not use the prefix lfn: if the directory is EGEE Grid file catalogue Internal File Name has no importance in case of the Autogenerator

Workflow manager Details Window with terminated Auto Generator List of generators Buffer of the element workflows being observed and elaborated

PS with Auto Generator and Collector New job type Collector Runs after that all element workflows have terminated. It has a special PS Input port represented by a local directory. This local directory gets a copy of a remote file has been generated during each run of the preceding element workflows. It is the responsibility of user defined executable to read and elaborate the files of the local directory Collector PS Input Port is indicated by light green color

Remote Output Port connectable to a Collector File associated to a Collector PS Input port must be Remote. Its actual name will be extended by the name of the element Workflow You must use here the prefix lfn: if the directory is EGEE Grid file catalogue

Collector PS Input Port The inherited File Prefix name indicates that the names of the remote files to be generated will be extended by the unique generated names of the the corresponding element workflows Internal File Name is the prefix of copied local input files to be elaborated by the collector

A Collector Job Job Executable is user defined. It must be able to read and elaborate all the files (with the prefix name defined in the Collector PS Input Port)

Workflow Management Window showing Generator and Collector Collector phase is inactive until each eWorkflow has terminated

Workflow Management Window showing terminated Generator and Collector The Output(s) of the collector(s) can be downloaded. Special case is if the WF results –or a fraction of them – may not be stored remotely. A log message (missing here) indicates the case and the user can download them together with the result of the Collector

Appendix 1 Auto Generator Summary Let be the template (represented by the Input file text ) “aXbYcX” and let be the substitution sets (represented by Keys) X={2,3}; Y={6,7} where a,b,c are final strings. Then supposing that the InternalFileName is “output” in the PS Output Port of the Generator then the generated grid files would look like: File NameContent output.1.1a2b6c2 output.1.2a2b7c2 output.2.1a3b6c3 output.2.1a3b7c3

Implementation of the example Auto Generator

Appendix2 Summary of overall PS execution First phase executed in Generator time Last phase executed in Collector time Second phase executed in eWorkflow submission time until the eWorkflow list is exhausted

Appendix3 Classification of possible PS outputs 1.Remote files with generated eWorkflow name extension – each for a remote output file of an eWorkflow (This sort of output is used as Collector input) 2.From the Portal downloadable compressed file of the eventual Collector results and remaining eventual eWorkflow results (See 3.) reluctant to be stored remotely. 3.Compressed remote files – each for the local output files of an eWorkflow (See menu item PS Properties of the Workflow Editor)