Space Weather Modeling

Space Weather Modeling and InterComm
The Center for Integrated Space Weather Modeling (CISM), an NSF Science and Technology Center begun in 2002 with Boston University as the lead site, focuses on the production of a comprehensive scientific model of the solar terrestrial environment from the solar surface to the upper atmosphere of earth. The model consists of global codes which address the solar corona, heliosphere, the earth's magnetosphere, and ionosphere. The characteristics of these codes, including that they are still being developed and modified by groups of space scientists at different institutions, dictate an approach involving loosely coupled groups of independently running programs (components).

CISM has chosen to use existing codes that model accurately either individual regions of the solar-terrestrial environment, or particular physical processes. The reliance on existing codes necessitates that the software to be used require only minimal code modification. At the same time, the software must support extensive numeric (grid) interpolation both at the boundaries, or in overlapping volumes, as well as the translation of physical quantities as necessary among the codes. These constraints require that the coupling strategy have four separable functions:
(1) efficient transmission of information among codes;
(2) interpolation of grid quantities;
(3) translation of physical variables between codes with different physical models; and
(4) control mechanism to synchronize the execution and interaction of the codes.

To achieve such a goal, the University of Maryland InterComm? framework is being used for coupling between those codes. One part of InterComm? is a runtime library that performs direct data transfers between distributed data structures, in particular multidimensional arrays, among different parallel programs. Programs do not need to know in advance any information about others with which they will communicate, since all the information required for data transfers is computed by InterComm? at runtime. After analyzing the data structures in the communicating programs, InterComm? uses efficient algorithms to generate communication schedules which enable data to be sent directly from the processors on which it resides to the processors in the receiving program that are destination of the data, i.e., a complete MxN data transfer.

InterComm? contains a runtime library that achieves direct data transfers between data structures managed by multiple data parallel languages and libraries in different programs. Communications between processes in different programs are performed using a low level communication library, which currently is PVM. The data transfer requires that all processes of the sender and the receiver programs locate data elements involved in the data transfer and that a mapping be specified between data elements in the two data structures. Upon initialization of InterComm?, three process groups are created in the PVM environment, namely,
(1) The global group containing all the processes in sender and receiver programs, to facilitate data transfers between the two programs (components)
(2) The sender group containing all the processes in the sender program only, to locate data elements involved in the data transfer on the sender side.
(3) The receiver group containing all the processes in receiver program only, to locate data elements involved in the data transfer on the receiver side.
Using the data distribution and mapping information exchanged through these groups, InterComm? generates all the information required to execute direct data transfers between the processes in the sender program and the receiver program, and stores the information in a communication schedule, which is then used to perform direct communication between the processes in different programs.

Created by: manoj77 last modification: Wednesday 05 of December, 2007 [19:32:08 UTC] by manoj77

The original document is available at http://www.cca-forum.org/wiki/tiki-index.php?page=Space%20Weather%20Modeling