Title: ITM framework
1ITM framework toolsB.Guillerminet, on behalf
of the ITM ISIP teams
EDSG Kick off meeting 2008
2Framework 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)
3Overview
- 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
- Tools
- ISE editor of parameters
- UAL library for storing retrieving parameters
data
4Model
- Standard naming for Tokamak plasma description
- Example for equilibrium
- CPO Consistent physical object (heating system,
diagnostic) - Version 4.06 (see F Imbeauxs talk)
- Available for any languages C, C, F90/95/2003,
Java, Matlab, Scilab tool to build the include
files - Area for code name, version specific parameters
5ISE tool to edit the parameters
- ISE editor
- Parameters setting
- Waveform/arrays
- ISE simulation control interface
- Check
- Run
- monitor
- Status
- 1st release March 08
6Data 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
program helena_itm_test use euITM_schemas use
euITM_routines call euitm_open(treename,shot,run
,idx) call euitm_get(idx,"equilibrium",equil_in) a
llocate(equil_out(1)) call helena_itm(equil_in(1)
,equil_out(1),helena_par) call
euitm_put(idx,"equilibrium",equil_out)
7Behavior Code
- Languages
- C/C, F90/95, F2003, 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)
8Code integration
gtone-click integration of C/C, Fortran local
codes GUI tool define the arguments (CPOs,
compiler, libraries) JNI based gtone-click
integration of C/C, Fortran remote codes GUI
tool define the arguments Automatic generation
of Web Services based on gSOAP gtone-click
catalogue insertion GUI tool XML based
Automatic generation of the actor (code,
component, )
9Behavior orchestration/workflow engine
KEPLER Based on Ptolemy II (Berkeley), San Diego,
world widely used, friendly tool 2 main
usages gtdesign of workflow gtsimulation
execution of the workflow
Run control buttons
Scheduler time behavior
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
10Design of a workflow
- Design
- Choose your actors (here Helena and several
general purpose actors) - Drag drop them in the design area
- Connect the actors gt draw a link between input
output port - Define the director and its parameters
11A simple fusion workflow
Fusion codes
- Define
- Machine
- Shot number
- reference
- Read database
- Store the data parameters in memory
12Execution of a workflow
- Simulation
- Push the button
13Additional tools
Visualization gt2D, 3D data plots gton-line
monitoring gtMeshing Post-processing gtScilab
14Resources
- ITM provides resources for
- Data storage
- 100TB (46TB today) on the gateway
- CPU allocation
- 1TFlops on the gateway
- Many hundred of TFlops on Euforia
- Gateway
- Hosted by ENEA _at_ Portici
- Cluster of 32 x AMD 4 core 64 bits
- Scientific Linux v5
- 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
15Summary
- 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
16References
- KEPLER
- http//www.kepler-project.org/
- http//users.sdsc.edu/altintas/KeplerTutorial/
- 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/publ
ications/