ARCDI -  PRISM coupler functionalities

WP3a - 02/05/2002
 


The different constituents of the PRISM coupler are: the Driver; the Transformer; and the PRISM System Model Interface Library (PSMILe), linked to the component models and which interfaces the component model with the rest of the coupled model. The PSMILe includes the Data Exchange Library, the I/O library, and some coherence check and local transformation routines.

For each of these constituents, the list of possible requirements established in the REDOC II.2 paragraph was revised and choices of functionalities that should be implemented in the different versions of the PRISM coupler were made, considering the answers to the REDOC I.4 template. These choices are detailed below.

For each functionality, a priority of implementation is given: "1" means that the functionality should be provided for the PRISM coupler first version (D3a1, month 12),  "2" for PRISM coupler second version to be used in the demonstration runs (D3a2, month 24), and "3" means that the functionality may be provided for the PRISM coupler final version (D3a3, month 36).

For each functionality included in the REDOC I.4 template, the rating given by the different model workpackages and by the coupler developers (A for WP3b -Atmosphere, C for WP3c -atmospheric Chemistry, L for WP3d -Land surface, O for WP3e -Ocean, B for WP3g -ocean Biogeochemistry, R for WP3h -Regional, M for MPI-M&D, CC for NEC-CCRL, CE for CERFACS, S for SGI) is also given in italic. A functionality could be rated as E-Essential, D-Desirable, M-Maybe, U-Useless or N-Not qualified to answer.


1. General requirements


2. Driver functionalities
 

 The Driver manages the whole coupled application. It launches the component models, monitor their execution and termination, centralise and distribute global parameters which require a consistent definition among all component models, and centralize and distribute information on the component model status during the simulation.

The driver could keep a central role during the whole simulation and manage also the exchanges of coupling data. The prefered design option here is to decentralize the coupling functionalities as much as possible in the Data Exchange Library and in the Transformer, and therefore to reduce as much as possible the role of the Driver. This option is probably applicable only for static coupled simulations and allows an easier evolution toward heterogeneous coupling (different component models running on different machines).

Model execution and control:

Information management:
Coupling exchange management:
Termination and restart:

3. Transformer functionalities

This paragraph gives, in the first section, some definitions and, in the second section, the preferred design option for the PRISM coupler Transformer. In the third section, an exhaustive list of transformations and grids on which these transformations should be performed is presented, together with other specific requirements, and associated priority and calendar.

3.1 - Definitions

3.2 - Preferred design option

The preferred design option  is that the non-local transformations are performed in a separate transformation entity, as it requires information coming from different models. For point-wise and local transformations, it should be possible to perform them in the PRISM Model Interface Library (PSMILe) linked to the model; in some cases, this is recommended to avoid extra communication.
However, point-wise and local transformations should also be available in the separate transformation entity (for example, combination of coupling fields coming from different source models after their interpolation on the target grid).

3.3 - List of transformations, grids, and associated priority and calendar
 

The following paragraph gives the priority of development for the different transformations on the different grids listed above. "1" means that the transformation is essential and should be provided for the first version of the  PRISM coupler (D3a1, 12/2002). "2" means highly desirable and should be provided for the second version of the PRISM coupler that will be used for the demonstration runs (D3a2, 12/2003). "3" means that the operation may be provided for the final version of the  PRISM coupler (D3a3, 12/2004). "-" means that this operation is not relevant. When two numbers are given, it means that parts of the functionality will be provided for the respectives coupler versions.
Transformations on 2D scalar coupling fields
H1 - lat-lon H2 - log. rect. H3 - reduced H4 - unstruc.
S1 - near.neigh
1
1
1
1
S2 - gaussian
1
1
1
1
S3 - 1st O interp.
1
1
 3
 -
S4 - 2nd O interp.
1
1
 3
 -
S5 - 1st O cons rem
1
1
1
1
S6 - 2nd O cons rem
 3
 3
 3
 3
S7 - user remapping
1
1
1
1
S8 - conservation
1
1
1
1
S9 - combination
1
2
2-3
2-3
S10 - masking 
1
1
1
1
S11 - scattering
2
2
2
2
S12 - gathering
 2
 2
 2
 2
S13 - collapse
2
2
2-3
2-3
S14 - subspace
 2
 2
 3
 3
S15 - algebra
1-2
1-2
1-2
1-2
S16a - 1st O extrap.
1
1
1
-
S16b - 2nd O extrap.
2
2
3
-
T1 - time operation
2-3
2-3
2-3
2-3

4. PSMILe functionalities

The  PRISM System Model Interface Library (PSMILe) is the set of routines implemented in a component model code to interface it with the rest of the coupled model. As detailed in the section 4.3 of REDOC II.2 paragraph, I/O and coupling data present many common characteristics. It was therefore decided to develop one common model interface library, the PSMILe, both for coupling and I/O purposes. The PSMILe therefore includes the Data Exchange Library which performs the exchanges with the other component models, the I/O library, and some coherence check and local transformation routines.

4.0 PSMILe general characteristics

4.1 Data Exchange Library (DEL) functionalities
 

The Data Exchange library (DEL) performs the exchanges of coupling data between the component models, or between the component models and the separate transformation entity. The DEL must therefore be included as the most external layer in the PSMILe, and in the separate transformation entity

The DEL functionalities are:

4.2 I/O library
 
in progress, to be included by wp4a
 
4.3 Coherence check routines
 

 The PSMILe should perform some checks of coherence on coupling and I/O data, according to a coherence check level defined by the user in the coupled model configuration file. The coherence check instance will:

4.4 Local transformation routines
 

 The PSMILe should perform the following transformations locally before the exchange with the rest of the PRISM System (for associated priorities, refer to section 3.3):