Cosmological Particle-Mesh Simulations in Chapel

N. Padmanabhan, Ben Albrecht
{"title":"Cosmological Particle-Mesh Simulations in Chapel","authors":"N. Padmanabhan, Ben Albrecht","doi":"10.1145/3144779.3169105","DOIUrl":null,"url":null,"abstract":"1 EXTENDED ABSTRACT This presentation will describe the implementation and performance of a gravitational N-body particle-mesh (PM) code in Chapel. Our goal here is to go beyond simple benchmarks and kernels, and present a case-study on the readiness of Chapel to be used for end-to-end computations. Chapel is a next generation, high-productivity PGAS language being developed as an open source project at Cray Inc. Chapel grew out of the DARPA High Productivity Computing Systems (HPCS) program. Some of its key features include native parallelism in the core language, data and task locality, a multiresolution philosophy, and interoperability with C. Chapel supports parallelism and locality as first-class features allowing one to target a variety of hardware architectures under a single set of semantics. Chapel’s multiresolution design philosophy designates that Chapel exposes a spectrum of lower-level programming features under the higherlevel data-parallel approach, allowing users to customize or tune communication patterns as needed. Lastly, Chapel provides built-in 2-way interoperability with C, enabling users to wrap legacy codes in Chapel with relative ease. A key feature of Chapel is that the parallel and distributed abstractions are all implemented in Chapel itself, allowing it to easily be extended. We will discuss examples of these below. Our interest in implementing a gravitational N-body particlemesh code grew out of the research interests of the first author. The goal in cosmology is to use the Universe as a laboratory to probe fundamental physics on scales (both in energy and length) that are otherwise inaccessible to laboratories and experiments. However, unlike experiments that can be tailored to answer specific problems, cosmology must rely on modeling observations in their entirety to make the necessary inferences about the underlying physics. This process relies on being able to numerically simulate observations (since analytic calculations, while valuable for insight, often cannot reach the precision required) and is therefore is highly computational in nature. Furthermore, modern astrophysical datasets are getting large enough that they cannot be analyzed on single-core","PeriodicalId":369424,"journal":{"name":"Proceedings of the Second Annual PGAS Applications Workshop","volume":"127 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-11-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the Second Annual PGAS Applications Workshop","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3144779.3169105","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

1 EXTENDED ABSTRACT This presentation will describe the implementation and performance of a gravitational N-body particle-mesh (PM) code in Chapel. Our goal here is to go beyond simple benchmarks and kernels, and present a case-study on the readiness of Chapel to be used for end-to-end computations. Chapel is a next generation, high-productivity PGAS language being developed as an open source project at Cray Inc. Chapel grew out of the DARPA High Productivity Computing Systems (HPCS) program. Some of its key features include native parallelism in the core language, data and task locality, a multiresolution philosophy, and interoperability with C. Chapel supports parallelism and locality as first-class features allowing one to target a variety of hardware architectures under a single set of semantics. Chapel’s multiresolution design philosophy designates that Chapel exposes a spectrum of lower-level programming features under the higherlevel data-parallel approach, allowing users to customize or tune communication patterns as needed. Lastly, Chapel provides built-in 2-way interoperability with C, enabling users to wrap legacy codes in Chapel with relative ease. A key feature of Chapel is that the parallel and distributed abstractions are all implemented in Chapel itself, allowing it to easily be extended. We will discuss examples of these below. Our interest in implementing a gravitational N-body particlemesh code grew out of the research interests of the first author. The goal in cosmology is to use the Universe as a laboratory to probe fundamental physics on scales (both in energy and length) that are otherwise inaccessible to laboratories and experiments. However, unlike experiments that can be tailored to answer specific problems, cosmology must rely on modeling observations in their entirety to make the necessary inferences about the underlying physics. This process relies on being able to numerically simulate observations (since analytic calculations, while valuable for insight, often cannot reach the precision required) and is therefore is highly computational in nature. Furthermore, modern astrophysical datasets are getting large enough that they cannot be analyzed on single-core
宇宙粒子网格模拟在教堂
本报告将描述一个重力n体粒子网格(PM)代码在Chapel中的实现和性能。我们的目标是超越简单的基准测试和内核,并提供一个关于Chapel用于端到端计算的准备情况的案例研究。Chapel是Cray Inc.作为一个开源项目开发的下一代高生产率PGAS语言。Chapel源自DARPA的高生产力计算系统(HPCS)项目。它的一些关键特性包括核心语言的本地并行性、数据和任务局部性、多分辨率哲学以及与c语言的互操作性。Chapel支持并行性和局部性作为一流的特性,允许在一组语义下针对各种硬件架构。Chapel的多分辨率设计理念表明,Chapel在高层数据并行方法下暴露了一系列低级编程功能,允许用户根据需要定制或调整通信模式。最后,Chapel提供了与C的内置双向互操作性,使用户能够相对轻松地在Chapel中封装遗留代码。Chapel的一个关键特性是并行和分布式抽象都是在Chapel本身实现的,这使得它很容易被扩展。我们将在下面讨论这些例子。我们对实现引力n体粒子网代码的兴趣源于第一作者的研究兴趣。宇宙学的目标是把宇宙作为一个实验室,在尺度上(包括能量和长度)探索实验室和实验无法企及的基本物理。然而,不像实验可以被调整来回答特定的问题,宇宙学必须依赖于完整的建模观测来对潜在的物理进行必要的推断。这个过程依赖于能够数值模拟观测(因为分析计算虽然对洞察力有价值,但通常无法达到所需的精度),因此本质上是高度计算的。此外,现代天体物理数据集越来越大,无法在单核上进行分析
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:604180095
Book学术官方微信