ESMF >
Distributed Directory Test Description
Test Description: A distributed directory object is created, both in a component and in the full application. The object is tested for consistency in both settings.
Test ResultsTest Configuration
- Test Programming Language: Fortran90
- Number of PETs: 6
- Communications Method:MPI
Sections
The main program of the test application consists of the following sections.
- Create
- Register
- Initialize
- Run
- Finalize
- Destroy
Create
- The distributed directory is created when each pet declares a set of locally owned indices.
Register
- The distributed directory registers its set of locally owned indices.
Initialize
- The directory initializes its data structures.
Run
- Each pet then posts a query to the directory to find out which processor owns each of the indices in the table. The resulting answer from the directory is tested for correctness (each processor can deduce the correct answer).
Finalize
- The directory finishes operation.
Destroy
- The directory is destroyed, freeing memory.

