{"title":"High performance additive manufacturing phase field simulation: Fortran Do Concurrent vs OpenMP","authors":"Shahid Maqbool, Byeong-Joo Lee","doi":"10.1016/j.commatsci.2025.113788","DOIUrl":null,"url":null,"abstract":"<div><div>Standard language parallelism is an alternate way to achieve the parallel performance of the code without using external application processing interface (API). In this work, we present the Fortran Do Concurrent standard language parallel feature for additive manufacturing. We developed an open-source AMSimulator application and have implemented OpenMP and Fortran Do Concurrent in the phase field simulation. Performance has been measured across various platforms like Windows 10 and Linux and open-source compilers with Intel and NVIDIA. We found that using standard language parallel features, the same performance can be achieved without the need of external API. This high-performance approach is useful for code development and portability across various platforms.</div></div>","PeriodicalId":10650,"journal":{"name":"Computational Materials Science","volume":"252 ","pages":"Article 113788"},"PeriodicalIF":3.1000,"publicationDate":"2025-02-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computational Materials Science","FirstCategoryId":"88","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0927025625001314","RegionNum":3,"RegionCategory":"材料科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"MATERIALS SCIENCE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
Standard language parallelism is an alternate way to achieve the parallel performance of the code without using external application processing interface (API). In this work, we present the Fortran Do Concurrent standard language parallel feature for additive manufacturing. We developed an open-source AMSimulator application and have implemented OpenMP and Fortran Do Concurrent in the phase field simulation. Performance has been measured across various platforms like Windows 10 and Linux and open-source compilers with Intel and NVIDIA. We found that using standard language parallel features, the same performance can be achieved without the need of external API. This high-performance approach is useful for code development and portability across various platforms.
标准语言并行是实现代码并行性能的另一种方法,无需使用外部应用程序处理接口(API)。在这项工作中,我们介绍了用于增材制造的 Fortran Do Concurrent 标准语言并行功能。我们开发了一个开源 AMSimulator 应用程序,并在相场仿真中实现了 OpenMP 和 Fortran Do Concurrent。我们在 Windows 10、Linux 等不同平台以及英特尔和英伟达的开源编译器上对性能进行了测量。我们发现,使用标准语言的并行特性,无需外部应用程序接口即可实现相同的性能。这种高性能方法有助于代码开发和跨平台移植。
期刊介绍:
The goal of Computational Materials Science is to report on results that provide new or unique insights into, or significantly expand our understanding of, the properties of materials or phenomena associated with their design, synthesis, processing, characterization, and utilization. To be relevant to the journal, the results should be applied or applicable to specific material systems that are discussed within the submission.