EDSG Kick off meeting 2008 ITM framework tools

  • Slides: 16
Download presentation
EDSG Kick off meeting 2008 ITM framework & tools B. Guillerminet, on behalf of

EDSG Kick off meeting 2008 ITM framework & tools B. Guillerminet, on behalf of the ITM & ISIP teams EDSG Kick off meeting 5 March 2008

Framework for the European Integrated Modelling • Objectives • Understanding of the ITM infrastructure

Framework for the European Integrated Modelling • Objectives • Understanding of the ITM infrastructure (Overview) – Model – Behaviour – Resources • Knowledge of the tools (Tools) – ISE – Kepler – … • How to proceed • Acronyms: CPO, UAL, ISE, Kepler, actors, … • Others talks – Data Structure (F Imbeaux) – UAL (G. Manduchi) EDSG Kick off meeting 5 March 2008

Overview • Model: – Comprehensive Model of the Fusion Machine & plasma – Description

Overview • Model: – Comprehensive Model of the Fusion Machine & plasma – Description (name, geometry…) – Parameters (value…) – ITM chooses a standard naming – ITM provides tools to access/store/use/visualize… these parameters • Behavior – one element: your code which models the behavior of the element – set of elements: orchestration and codes coupling – ITM provides a structure to integrate your element – ITM provides a tool to orchestrate the workflow • Resources – Gateway – HPC, GRID – ITM provides the Gateway – Euforia provides the High Performance Resources EDSG Kick off meeting 5 March 2008 Tools: • ISE editor of parameters • UAL library for storing & retrieving parameters & data Tools: • Kepler

Model • Standard naming for Tokamak & plasma description: – Example for “equilibrium”: CPO:

Model • Standard naming for Tokamak & plasma description: – Example for “equilibrium”: CPO: Consistent physical object (heating system, diagnostic…) – Version 4. 06 (see F Imbeaux’s talk) – Available for any languages: C, C++, F 90/95/2003, Java, Matlab, Scilab: tool to build the “include” files – Area for code name, version & specific parameters EDSG Kick off meeting 5 March 2008

ISE: tool to edit the parameters • ISE: editor – Parameters setting – Waveform/arrays

ISE: tool to edit the parameters • ISE: editor – Parameters setting – Waveform/arrays • ISE: simulation control interface – Check – Run – monitor • Status: – 1 st release March 08 EDSG Kick off meeting 5 March 2008

Data access: UAL Simple Access: ITM library (UAL): • euitm_open() • euitm_get() • euitm_put()

Data access: UAL Simple Access: ITM library (UAL): • euitm_open() • euitm_get() • euitm_put() • euitm_close() APIs for “any” languages: • C/C++ • Fortran 90/95, 2003 • Java • Matlab • Scilab Advantages: • Hide the data storage & location • Used for the codes coupling More on G. Manduchi’s talk EDSG Kick off meeting 5 March 2008 program helena_itm_test use eu. ITM_schemas use eu. ITM_routines … call euitm_open(treename, shot, run, idx) call euitm_get(idx, "equilibrium", equil_in) allocate(equil_out(1)) call helena_itm(equil_in(1), equil_out(1), helena_par) call euitm_put(idx, "equilibrium", equil_out) …

Behavior: Code • Languages: – C/C++, F 90/95, F 2003, Java, … • Data

Behavior: Code • Languages: – C/C++, F 90/95, F 2003, Java, … • Data access through the UAL (previous slide): – – Independent of the storage The framework does not know our data Read euitm_get() Write euitm_put() • ITM provides tools to integrate your code in the framework: – Local (JNI based tool) – Remote (Web Service based tool) EDSG Kick off meeting 5 March 2008

Code integration =>one-click integration of C/C++, Fortran local codes GUI tool: define the arguments

Code integration =>one-click integration of C/C++, Fortran local codes GUI tool: define the arguments (CPOs, compiler, libraries) JNI based =>one-click integration of C/C++, Fortran remote codes GUI tool: define the arguments Automatic generation of Web Services based on g. SOAP =>one-click catalogue insertion GUI tool XML based Automatic generation of the actor (code, component, …) EDSG Kick off meeting 5 March 2008

Behavior: orchestration/workflow engine KEPLER Based on Ptolemy II (Berkeley), San Diego, world widely used,

Behavior: orchestration/workflow engine KEPLER Based on Ptolemy II (Berkeley), San Diego, world widely used, friendly tool 2 main usages =>design of workflow =>simulation: execution of the workflow Run control buttons Catalogues Many actors: database, math, display, web service, grid service, R-expression, … Many directors: DE, CT, SDF, PN, DDF and more in Ptolemy II (FSM, Giotto, DDE) Your code will appear here EDSG Kick off meeting 5 March 2008 Scheduler: time behavior

Design of a workflow Design 1. Choose your actors (here Helena and several general

Design of a workflow Design 1. Choose your actors (here Helena and several general purpose actors) 2. Drag & drop them in the design area 3. Connect the actors => draw a link between input & output port 4. Define the director and its parameters EDSG Kick off meeting 5 March 2008

A simple fusion workflow Fusion codes Define: • Machine • Shot number • reference

A simple fusion workflow Fusion codes Define: • Machine • Shot number • reference • Read database • Store the data & parameters in memory EDSG Kick off meeting 5 March 2008 • Store in the database

Execution of a workflow Simulation 1. Push the button EDSG Kick off meeting 5

Execution of a workflow Simulation 1. Push the button EDSG Kick off meeting 5 March 2008

Additional tools Visualization: =>2 D, 3 D data plots =>on-line monitoring =>Meshing Post-processing: =>Scilab

Additional tools Visualization: =>2 D, 3 D data plots =>on-line monitoring =>Meshing Post-processing: =>Scilab EDSG Kick off meeting 5 March 2008

Resources • ITM provides resources for – Data storage • 100 TB (46 TB

Resources • ITM provides resources for – Data storage • 100 TB (46 TB today) on the gateway – CPU allocation • • • Gateway – – – • 1 TFlops on the gateway Many hundred of TFlops on Euforia Hosted by ENEA @ Portici Cluster of 32 x AMD 4 core 64 bits Scientific Linux v 5 Installation of the ITM applications in progress Will be available for ITM users in a couple of weeks Euforia – Started in January 08 – 14 laboratories – GRID (distributed) & HPC (parallel) computing EDSG Kick off meeting 5 March 2008

Summary ITM provides an infrastructure and tools for fusion modelling: • Standard naming, data

Summary ITM provides an infrastructure and tools for fusion modelling: • Standard naming, data structure – CPO – ISE + internal tools • Data access and storage: – UAL • Simulation: – KEPLER • Resources: – Gateway EDSG Kick off meeting 5 March 2008

References 1. KEPLER: 1. 2. 3. 4. 5. http: //www. kepler-project. org/ http: //users.

References 1. KEPLER: 1. 2. 3. 4. 5. http: //www. kepler-project. org/ http: //users. sdsc. edu/~altintas/Kepler. Tutorial/ ITM: http: //www. efda-taskforce-itm. org/ Gateway: http: //www. efda-itm. eu Euforia: web site in construction Ptoloemy II: http: //ptolemy. eecs. berkeley. edu/publications/ EDSG Kick off meeting 5 March 2008