arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1707.05163physics.ao-phcs.CE
收藏

Paragraph v0 .9:千万亿次年龄的拉格朗日海洋分析框架原型

Parcels v0.9: prototyping a Lagrangian Ocean Analysis framework for the petascale age

Michael Lange, Erik van Sebille

摘要:

随着海洋环流模型(OGCM)进入千万亿次时代,全球高分辨率模型运行的输出可以达到数百TB的大小,分析这些模型输出的工具也需要扩大规模。拉格朗日海洋分析通过水动力场跟踪虚拟粒子,通过绘制生物和非生物颗粒的路径和连接性,是分析OGCM输出的一种越来越受欢迎的方法。然而,目前拉格朗日海洋分析代码的软件堆栈不够动态,无法应对日益增加的复杂性,规模和定制用例的需求。此外,大多数社区代码都是为独立使用而开发的,这使得在OGCM运行时集成虚拟粒子成为一项重要任务。在这里,我们将介绍新的Parabel代码,它是从头开始设计的,具有足够的可扩展性,以应对千万亿次计算。我们强调其API设计,将灵活性和自定义与HPC工作流程优化能力相结合,遵循特定领域语言的范式。Partial主要用Python编写,利用科学Python生态系统中可用的各种工具,同时生成低级C代码并使用Just-In-Time编译进行性能关键型计算。我们展示了它的API的一个示例,并验证了代码对七个理想化的测试用例的准确性。这个版本~0.9的Partial的重点是布局API,未来的工作集中在优化,效率和运行时与OGCM的耦合上。

英文摘要:

As Ocean General Circulation Models (OGCMs) move into the petascale age, where the output from global high-resolution model runs can be of the order of hundreds of terabytes in size, tools to analyse the output of these models will need to scale up too. Lagrangian Ocean Analysis, where virtual particles are tracked through hydrodynamic fields, is an increasingly popular way to analyse OGCM output, by mapping pathways and connectivity of biotic and abiotic particulates. However, the current software stack of Lagrangian Ocean Analysis codes is not dynamic enough to cope with the increasing complexity, scale and need for customisation of use-cases. Furthermore, most community codes are developed for stand-alone use, making it a nontrivial task to integrate virtual particles at runtime of the OGCM. Here, we introduce the new Parcels code, which was designed from the ground up to be sufficiently scalable to cope with petascale computing. We highlight its API design that combines flexibility and customisation with the ability to optimise for HPC workflows, following the paradigm of domain-specific languages. Parcels is primarily written in Python, utilising the wide range of tools available in the scientific Python ecosystem, while generating low-level C-code and using Just-In-Time compilation for performance-critical computation. We show a worked-out example of its API, and validate the accuracy of the code against seven idealised test cases. This version~0.9 of Parcels is focussed on laying out the API, with future work concentrating on optimisation, efficiency and at-runtime coupling with OGCMs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑