Download presentation
Presentation is loading. Please wait.
Published byDayna Martin Modified over 8 years ago
1
Goran Topic Pre-Installed Application Launcher Module for P-GRADE portal Goran Topić Ruđer Bošković Institute Zagreb, Croatia
2
Goran Topic Introduction Grid –Not user friendly Portals –Inflexible, or –Not user friendly enough
3
Goran Topic Example parf –t trainset.arff –ri 1 –c status –cp –cp single –b 2048 –bi 10000 –n 2500 –tc train_conf_matrix.txt –i importances.txt –tv train_votes.txt –w 1.4,3,0.85,1 –uu height,friends –r 1 –sd 3 –st train_scale.txt –p 25%
4
Goran Topic Idea Existence of application on a resource is the duty of resource admin, not the user Syntax of application invocation is the duty of portal admin, not the user The system needs to be flexible and allow for new applications to be added without code interventions
5
Goran Topic Solution Application definition files –Syntax declaration file –Presentation template file
6
Goran Topic Syntax Declaration XML file Describes all options of the application
7
Goran Topic DTD
8
Goran Topic Excerpt from parf.xml
9
Goran Topic Presentation Template HTML file with option markers Determines the GUI layout Option markers syntax: $name The INPUT element type determined by option declaration
10
Goran Topic Excerpt from parf.tpt PARF $verbose Verbose output <!-- td { vertical-align: top; } --> Training set $trainset Training class $class
11
Goran Topic Option Attributes To Do: –Options are unordered
12
Goran Topic Option Name Identifies the option in the template The option is inserted into HTML by a special sequence $name Some names are reserved (i.e. automatically declared): –stdout, stdin, stderr –display –count
13
Goran Topic Option Gives the option tag that is used in the command line For example, the following declaration will produce an input box (inserted by $width ), which, if filled with “320”, will give “-w 320” in the command line:
14
Goran Topic Option File Controls the stage-in and stage-out mechanism If file=“input”, the control is a file box, allowing the user to upload the file to the portal You can also type in a GridFTP URL
15
Goran Topic Option Separator Determines how the option tag is connected with its value: –equals : “-h=320” –space : “-h 320” –none : “-h320”
16
Goran Topic Option Multiple Allows an option to be specified several times, or none at all Use the “Update” button in the form to send the changes but stay in the form If a multiple option is filled, another form control is added to allow for the next value
17
Goran Topic Option Arg Determines whether the option is allowed to have an argument If yes, a text box is created If no, a check box is created The default is “yes”
18
Goran Topic Option Bare Determines whether the option is allowed not to have an argument The default is the opposite of “arg” If both “bare” and “arg” are “yes”, then both a text box and a check box are created, for options with optional values (e.g. both “-p” and “-p 20” are allowed)
19
Goran Topic Option None Determines whether it is allowed to leave the option off the command line (i.e. whether it is mandatory) The default is “yes” – the option can be left off (it is not mandatory)
20
Goran Topic Option Size For the options that generate a text box, determines the width of that text box
21
Goran Topic Thank You
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.