About ESMF Download Users Developers Management Work Plans Metrics Impacts Conventions
ESMF >

2D Array Redist System Test Description

Two Gridded Components and one Coupler Component, one-way coupling.

The first Gridded Component runs on 4 PETs and defines a 2D source Array of 100x150. The second Gridded Component defines a destination Array also of 100x150, but runs on only 2 PETs. Both Gridded Components use DELayouts with 1 DE per PET. The decomposition of the source Array is defined as (petCount x 1), i.e. (4 x 1) while the destination Array is decomposed as (1 x petCount), i.e. (1 x 2).

The first Gridded Component initializes the source Array to a geometric function:

  10.0 + 5.0*sin((I/Imax)*pi) + 2.0*sin((J/Jmax)*pi)

The Coupler Component runs on all 6 PETs and reconciles import and export States, which contain the source and destination Arrays, respectively. The Coupler Component then calls ArrayRedist() to redistribute the source Array data onto the destination Array.

Finally the second Gridded Component compares the data stored in the destination Array to the analytic solution of the above function as a measure of the accuracy of the ArrayRedist() method.

Test Results

Test Configuration

Sections

The main program of the test application consists of the following sections.

Create

Register

Initialize

Run

Finalize

Destroy