1 / 8

The transformer is an independent entity that reacts when a signal is sent by a model or the driver. This signal is sent

Principles of the transformer. The transformer is an independent entity that reacts when a signal is sent by a model or the driver. This signal is sent via MPI persistent communications:

etana
Télécharger la présentation

The transformer is an independent entity that reacts when a signal is sent by a model or the driver. This signal is sent

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Principles of the transformer The transformer is an independent entity that reacts when a signal is sent by a model or the driver. This signal is sent via MPI persistent communications: • For each model that needs transformation(s) in its exchange(s), a persistent communication is set between the model and the Transformer. • The Transformer is looping over this persistent channels to get any signal from a model. • A signal consists in a predefined control packet (a set of integers) that gives information related to any treatment. The analyse and the treatment are performed: • Any treatment corresponds to a sequence of actions that the Transformer performs combining initial information given by the driver and the models, and the information given through the control packet. PSMILe development meetings Paris, September 19, 2002

  2. The Initialization phase • For the driver: • Reading of the input files SMIOC/SCC • Extraction of the information about: • the run-time environment, • the communications, • the transformations. • Allocation and Fill up of the different • information tables sent • to the transformer • Sending of these tables to the transformer • For the transformer: • Reception of the information • extracted by the driver • Allocation of the transformer tables • Fill up of the tables • Initialisation of the persistent • communications mechanism PSMILe development meetings Paris, September 19, 2002

  3. The Definition phase • On the model side: • Definition of the grids • and the data fields • For each grid, sending of • a control packet ‘T_GRID_DEF’ • Send for each grid: • The information about the grid • The arrays relatives to the grid. • For the transformer: • Reception of the control packet • Reception of the information • | Update of the grid information • | stored in the transformer • Reception of the different arrays • | Update of the grid arrays ie • | arrays of latitudes, longitudes, • | corner of latitudes, corner of • | longitudes, masks, areas PSMILe development meetings Paris, September 19, 2002

  4. The Decommission phase • On the model side: • Decommission of a grid • For each grid, sending of • a control packet ‘T_GRID_UNDEF’ • For the transformer: • Reception of the control packet • Deletion of the grid information • | stored in the transformer • Deletion of the grid arrays ie • | arrays of latitudes, longitudes, • | corner of latitudes, corner of • | longitudes, masks, areas PSMILe development meetings Paris, September 19, 2002

  5. Management of the data exchange through the transformer The Reception phase • On the model side: • PRISM_Put( ) on a process • Sending of a control packet ‘T_PUT’ • Sending of the local data • For the transformer: • Reception of the control packet • Reception of the local data • If the data is distributed on a single process • or • If all the processes have sent their piece of data • | Assemble the data PSMILe development meetings Paris, September 19, 2002

  6. Management of the data exchange through the transformer The Transformation phase and the sending phase • For the transformer: • If the data has been assembled • Look into the transformation table to extract the different transformation to perform. • Extract the needed arrays such as the latitudes, longitudes, etc… for an interpolation • Perform the different transformations • Sending of the transformed data • with the PSMILe philosophy • On the model side: • PRISM_Get( ) on a process • Reception of the local data PSMILe development meetings Paris, September 19, 2002

  7. Management of the data exchange through the transformer The Finalization phase • For the transformer: • Reception of the control packet • Deallocation of the arrays • Release of the communicators • Finalize the MPI Run_time environment • For the driver: • Sending of a control packet ‘T_FINALIZE’ PSMILe development meetings Paris, September 19, 2002

  8. PSMILe development meetings Paris, September 19, 2002

More Related