Presentation is loading. Please wait.

Presentation is loading. Please wait.

PSMILe development meetings Paris, September 19, 2002 The transformer is an independent entity that reacts when a signal is sent by a model or the driver.

Similar presentations


Presentation on theme: "PSMILe development meetings Paris, September 19, 2002 The transformer is an independent entity that reacts when a signal is sent by a model or the driver."— Presentation transcript:

1 PSMILe development meetings Paris, September 19, 2002 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. Principles of the transformer

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

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

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

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

6 PSMILe development meetings Paris, September 19, 2002 Management of the data exchange through the transformer The Transformation phase and the sending phase On the model side: o PRISM_Get( ) on a process o Reception of the local data For the transformer: o 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 o Sending of the transformed data with the PSMILe philosophy

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

8 PSMILe development meetings Paris, September 19, 2002


Download ppt "PSMILe development meetings Paris, September 19, 2002 The transformer is an independent entity that reacts when a signal is sent by a model or the driver."

Similar presentations


Ads by Google