Programming for Malleability with Hybrid MPI-2 and OpenMP – Experiences with a Simulation Program for Global Water Prognosis

Programming for Malleability with Hybrid MPI-2 and OpenMP – Experiences with a Simulation Program for Global Water Prognosis
复制标题

使用混合 MPI-2 和 OpenMP 进行延展性编程 – 全球水资源预测模拟程序的经验

DOI:
--
复制
发表时间:
2006
期刊:
影响因子:
--
通讯作者:
Jens Breitbart
Jens Breitbart
中科院分区:
--
文献类型:
--
作者:
C. Leopold;Michael S¨uß;Jens Breitbart

文献摘要

被引文献

相似文献

- 本文报告了我们的经验,并行WaterGAP,原来连续的C++程序的全球评估和预测水的可用性。并行程序运行在一个异构的SMP集群,并结合不同的并行编程范式:首先,在其外层,它使用主/从通信与MPI实现。第二,在从属进程中,由OpenMP指令产生多个线程以利用数据并行性。时间测量表明,混合方案是值得的。它通过只对最大的任务使用多个线程并将这些任务映射到多处理器节点来适应集群的异构性。第三,该程序是可延展的,这已经完成了与动态过程管理设施的MPI-2,基于MPICH 2的实现。特别是,可以在程序运行时增加进程的数量。可延展性是批处理系统和网格环境中的一个重要特性。我们讨论的支持,MPI-2提供的延展性。
— This paper reports on our experiences in parallelizing WaterGAP, an originally sequential C++ program for global assessment and prognosis of water availability. The parallel program runs on a heterogeneous SMP cluster and combines different parallel programming paradigms: First, at its outer level, it uses master/slave communication implemented with MPI. Second, within the slave processes, multiple threads are spawned by OpenMP directives to exploit data parallelism. Time measurements show that the hybrid scheme pays off. It adapts to the heterogeneity of the cluster by using multiple threads only for the largest tasks and mapping these to multiprocessor nodes. Third, the program is malleable, which has been accomplished with the dynamic process management facilities of MPI-2, based on the MPICH2 implementation. In particular, it is possible to increase the number of processes while the program is running. Malleability is an important feature in both batch systems and grid environments. We discuss the support that MPI-2 provides for malleability.