Work

A better diagnostic of the load imbalance in OASIS based coupled systems

Year: 2020
Type: report
Abstract: Coupled computations in separated executables are often performed concurrently.Their respective speeds is a function of their MPI parallelism.Speeds cannot be the same, and computations load balanced, without setting the appropriate MPI domain decomposition, which is unlikely to happen without a comprehensive work.A complete rewriting of the tool for load balancing measurement in OASIS coupled models (lucia) becomes necessary, with two main requirements that are to simplify of the delivered information, proposed to non technical staff and to avoid any disk writing at runtime that could perturb the measurement.This implementation proposes an alternate version launched by the OASIS library itself at the end of the simulation.We avoid the production and the post-processing analysis of trace files.We deliver at low cost a larger set of summarised quantities that can help to better understand the origin of any coupling extra cost.Moreover, we provide the timeline, for every process involved in the coupling, of every coupling events, such as coupling field sending or receiving, but also interpolation, file reading or writing, in addition to the coupling initialisation or termination phases.These timelines are available in netCDF format files that can be easily and quickly handled with commonly used visualisation tools.To be able to keep the implementation as simple as possible (~ 700 lines), we limit the analysis to an OASIS component (and not partition) per-basis, that requires additional memory, mainly on each component master process, approximately equal to the size of a single precision array containing the coupling events x number of MPI processes.This means that users will have to restraint the analysis to relatively short simulations or reasonably MPI-parallel models to avoid memory overflow
Source: HAL
Language: English
Open Access status: green
OpenAlex ID: W4403575589
Cites: 7
Cited by: 14
Related to: 10