Parallel Geophysical Model Coupling Library (PGMCL)
- Geophysical models need in many cases to be coupled between themselves (wave to circulation, circulation to atmosphere, etc.)
- The great majority of geophysical are parallelized by the MPI parallel formalism, and in most cases the parallelization is done horizontally geographically
- A simple coupling strategy is to use the MPI command MPI_COMM_SPLIT in order to split the set of processors in two groups that hence exchange data
- The coupling is then done with each model sending data to the other and interpolating
- The Parallel Geophysical Model Coupling Library does such a coupling by using the following information:
- The node matrix that tells for each model for numerical node, to which CPU(s) they belong
- The sparse interpolation matrix between both models
and uses it in order to build the commands MPI_INTERP_SEND and MPI_INTERP_RECV from it. Those commands are almost optimal in terms of the size of data exchanged.
- There is also commands for computing the sparse interpolation matrix
- Code source is available from here.
- Please send comments to mathieu.dutour@gmail.com