Solving ARGESIM Benchmark CP2 'Parallel and Distributed Simulation' with Open MPI/GSL and Matlab PCT - Monte Carlo and PDE Case Studies

David Jammer, P. Junglas, S. Pawletta
{"title":"Solving ARGESIM Benchmark CP2 'Parallel and Distributed Simulation' with Open MPI/GSL and Matlab PCT - Monte Carlo and PDE Case Studies","authors":"David Jammer, P. Junglas, S. Pawletta","doi":"10.11128/sne.32.bncp2.10625","DOIUrl":null,"url":null,"abstract":"The ARGESIM benchmark CP2 provides three different tasks to study current technologies for the parallelization of simulation programs. The first task is the Monte Carlo study. In this study, a spring-mass system is simulated with different damping factors. The second task is a Latice Boltzmann simulation in which the flow of a fluid in a special geomentry is simulated. The third problem is a partial differential equation (PDE) describing a swinging rope, which is solved by the Method of Lines. TheMonte Carlo and the PDE study are solved here, each one with two different methods: The first one applies the standard MPI message passing library together with the GNU Scientific Library, the second one uses Matlab from The MathWorks in combination with the Parallel Computing Toolbox. A special focus of this work is on the parallel processing functions provided byMatlab. The solutions are compared with each other in terms of performance and scalability. In most cases, the solutions with OpenMPI and GSL were faster than the solutions with Matlab PCT. The Matlab PCT offers many functionalities and applications to accelerate, but these usually have a poor runtime behavior. Introduction In simulation technology, methods to accelerate simulation were investigated in the early phases. The first benchmarks (CP1) of the SNE series dealing with this topic date back to 1994 [1] and were successfully solved and investigated with different technologies and on different platforms. This benchmark got an update (CP2) in 2007 [2] to adapt it to the increasing computing power. Unfortunately, no further solutions were submitted after this change. Since 2007, the computing power and the architecture of the hardware and software have changed a lot, so the parallel benchmarks should be brought back to life. In this paper, two tasks of CP2 will be investigated. The tasks were implemented with two different technologies. The first technology is the Message Passing Interface (MPI) [3] in version 4 together with the GNU Scientific Library (GSL) [4]. MPI was developed in the early 1990s and standardized in 1994. Since then MPI has been developed continuously and is still one of the standard technologies in parallel processing. MPI has been implemented by several institutes. In this paper Open MPI 4 [5] was used. GSL was developed in 1996 by M. Galassi and J. Theiler from Los Alamos National Laboratory and is currently updated and further developed. The solutions designed with it were implemented in the C language. Thus, the first solution is based on open source solutions.","PeriodicalId":262785,"journal":{"name":"Simul. Notes Eur.","volume":"44 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Simul. Notes Eur.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.11128/sne.32.bncp2.10625","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

The ARGESIM benchmark CP2 provides three different tasks to study current technologies for the parallelization of simulation programs. The first task is the Monte Carlo study. In this study, a spring-mass system is simulated with different damping factors. The second task is a Latice Boltzmann simulation in which the flow of a fluid in a special geomentry is simulated. The third problem is a partial differential equation (PDE) describing a swinging rope, which is solved by the Method of Lines. TheMonte Carlo and the PDE study are solved here, each one with two different methods: The first one applies the standard MPI message passing library together with the GNU Scientific Library, the second one uses Matlab from The MathWorks in combination with the Parallel Computing Toolbox. A special focus of this work is on the parallel processing functions provided byMatlab. The solutions are compared with each other in terms of performance and scalability. In most cases, the solutions with OpenMPI and GSL were faster than the solutions with Matlab PCT. The Matlab PCT offers many functionalities and applications to accelerate, but these usually have a poor runtime behavior. Introduction In simulation technology, methods to accelerate simulation were investigated in the early phases. The first benchmarks (CP1) of the SNE series dealing with this topic date back to 1994 [1] and were successfully solved and investigated with different technologies and on different platforms. This benchmark got an update (CP2) in 2007 [2] to adapt it to the increasing computing power. Unfortunately, no further solutions were submitted after this change. Since 2007, the computing power and the architecture of the hardware and software have changed a lot, so the parallel benchmarks should be brought back to life. In this paper, two tasks of CP2 will be investigated. The tasks were implemented with two different technologies. The first technology is the Message Passing Interface (MPI) [3] in version 4 together with the GNU Scientific Library (GSL) [4]. MPI was developed in the early 1990s and standardized in 1994. Since then MPI has been developed continuously and is still one of the standard technologies in parallel processing. MPI has been implemented by several institutes. In this paper Open MPI 4 [5] was used. GSL was developed in 1996 by M. Galassi and J. Theiler from Los Alamos National Laboratory and is currently updated and further developed. The solutions designed with it were implemented in the C language. Thus, the first solution is based on open source solutions.
用开放MPI/GSL和Matlab PCT解决ARGESIM基准CP2“并行和分布式仿真”-蒙特卡罗和PDE案例研究
ARGESIM基准CP2提供了三个不同的任务来研究当前仿真程序并行化的技术。第一个任务是蒙特卡洛研究。本文对一个具有不同阻尼系数的弹簧-质量系统进行了仿真。第二个任务是一个拉蒂斯玻尔兹曼模拟,其中流体的流动在一个特殊的几何被模拟。第三个问题是描述摆动绳的偏微分方程,用直线法求解。蒙特卡罗和PDE研究在这里解决,每个都有两种不同的方法:第一个应用标准的MPI消息传递库和GNU科学库,第二个使用Matlab从MathWorks与并行计算工具箱相结合。这项工作的一个特别重点是matlab提供的并行处理函数。在性能和可扩展性方面对解决方案进行了比较。在大多数情况下,使用OpenMPI和GSL的解决方案比使用Matlab PCT的解决方案更快,Matlab PCT提供了许多功能和应用程序来加速,但这些通常具有较差的运行时行为。在仿真技术中,早期研究了加速仿真的方法。处理该主题的SNE系列的第一个基准测试(CP1)可以追溯到1994年[1],并在不同的技术和不同的平台上成功地解决和研究了这个问题。该基准测试在2007年进行了更新(CP2)[2],以使其适应不断增长的计算能力。不幸的是,在此更改之后没有提交进一步的解决方案。自2007年以来,硬件和软件的计算能力和体系结构发生了很大变化,因此并行基准测试应该重新焕发生机。本文将研究CP2的两个任务。这些任务是用两种不同的技术实现的。第一种技术是版本4中的消息传递接口(MPI)[3]和GNU科学库(GSL)[4]。MPI于20世纪90年代初开发,并于1994年标准化。此后,MPI技术不断发展,至今仍是并行处理领域的标准技术之一。MPI已由几个研究所实施。本文使用Open MPI 4[5]。GSL于1996年由洛斯阿拉莫斯国家实验室的M. Galassi和J. Theiler开发,目前正在更新和进一步发展。用它设计的解决方案用C语言实现。因此,第一个解决方案是基于开源解决方案的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信