首页> 外文期刊>Computers & geosciences >Application of a hybrid MPI/OpenMP approach for parallel groundwater model calibration using multi-core computers
【24h】

Application of a hybrid MPI/OpenMP approach for parallel groundwater model calibration using multi-core computers

机译:MPI / OpenMP混合方法在使用多核计算机进行并行地下水模型校准中的应用

获取原文
获取原文并翻译 | 示例
           

摘要

Calibration of groundwater models involves hundreds to thousands of forward solutions, each of which may solve many transient coupled nonlinear partial differential equations, resulting in a computationally intensive problem. We describe a hybrid MPI/OpenMP approach to exploit two levels of parallelisms in software and hardware to reduce calibration time on multi-core computers. HydroGeoChem 5.0 (HGC5) is parallelized using OpenMP for direct solutions for a reactive transport model application, and a field-scale coupled flow and transport model application. In the reactive transport model, a single parallelizable loop is identified to account for over 97% of the total computational time using GPROF. Addition of a few lines of OpenMP compiler directives to the loop yields a speedup of about 10 on a 16-core compute node. For the field-scale model, parallelizable loops in 14 of 174 HGC5 subroutines that require 99% of the execution time are identified. As these loops are parallelized incrementally, the scalability is found to be limited by a loop where Cray PAT detects over 90% cache missing rates. With this loop rewritten, similar speedup as the first application is achieved. The OpenMP-parallelized code can be run efficiently on multiple workstations in a network or multiple compute nodes on a cluster as slaves using parallel PEST to speedup model calibration. To run calibration on clusters as a single task, the Levenberg-Marquardt algorithm is added to HGC5 with the Jacobian calculation and lambda search parallelized using MPI. With this hybrid approach, 100-200 compute cores are used to reduce the calibration time from weeks to a few hours for these two applications. This approach is applicable to most of the existing groundwater model codes for many applications.
机译:地下水模型的校准涉及成百上千个正解,每个解都可能求解许多瞬态耦合的非线性偏微分方程,从而导致计算量大的问题。我们描述了一种混合MPI / OpenMP方法,以利用软件和硬件中的两个并行度来减少多核计算机上的校准时间。 HydroGeoChem 5.0(HGC5)使用OpenMP并行化,可用于反应性运输模型应用以及现场规模的耦合流和运输模型应用的直接解决方案。在反应式运输模型中,使用GPROF识别出一个可并行化的循环,以占总计算时间的97%以上。在循环中添加几行OpenMP编译器指令,可以在16核计算节点上实现大约10倍的加速。对于现场规模模型,在174个HGC5子例程中的14个中,需要14%的可并行化循环被识别,这些循环需要99%的执行时间。由于这些循环是增量并行化的,因此可伸缩性受到一个循环的限制,在该循环中,Cray PAT检测到90%以上的缓存丢失率。通过重写此循环,可以实现与第一个应用程序类似的加速。使用并行PEST可以加速OpenMP并行化代码在网络中的多个工作站或群集中的多个计算节点上作为从属的运行效率,从而加速模型校准。为了将群集上的校准作为一个单独的任务运行,将Levenberg-Marquardt算法添加到了HGC5中,该算法具有Jacobian计算和使用MPI并行化的lambda搜索。通过这种混合方法,对于这两个应用程序,可以使用100-200个计算核心将校准时间从几周减少到几小时。这种方法适用于许多应用程序中大多数现有的地下水模型代码。

著录项

  • 来源
    《Computers & geosciences》 |2010年第11期|p.1451-1460|共10页
  • 作者单位

    Environmental Sciences Division. Oak Ridge National Laboratory, P.O. Box 2008. MS-6038, Oak Ridge, TN 37831-6038, USA;

    rnComputer Science and Mathematics Division, Oak Ridge National Laboratory, P.O. Box 2008, MS-6367, Oak Ridge, TN 37831-6367, USA;

    rnInstitute of Tibetan Plateau Research, Chinese Academy of Sciences, P.O. Box 2871, Beijing 100085, China;

    rnDepartment of Civil and Environmental Engineering, University of Tennessee, Knoxville, TN 37996, USA;

    rnEnvironmental Sciences Division. Oak Ridge National Laboratory, P.O. Box 2008. MS-6038, Oak Ridge, TN 37831-6038, USA;

    rnDepartment of Biosystems Engineering and Soil Science, University of Tennessee, Knoxville, TN 37996, USA;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    reactive transport; coupled flow and transport; levenberg-marquardt algorithm; profile; cache;

    机译:反应性运输流动与运输耦合;levenberg-marquardt算法;轮廓;快取;

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号