Qi Lou , Changmao Wu , Changming Dong , Xingru Feng , Yuanyuan Xia , Li Liu , Zhengwei Xu , Xu Gao , Meng Sun , Xunqiang Yin
{"title":"APPLE-MASNUM: Accelerating parallel processing for lightweight expansion of MASNUM on a single multi-GPU node","authors":"Qi Lou , Changmao Wu , Changming Dong , Xingru Feng , Yuanyuan Xia , Li Liu , Zhengwei Xu , Xu Gao , Meng Sun , Xunqiang Yin","doi":"10.1016/j.ocemod.2025.102557","DOIUrl":null,"url":null,"abstract":"<div><div>The Marine Science and Numerical Modeling (MASNUM) system, developed for oceanic wave forecasting, play an important role in marine disaster prevention and maritime activities. However, its application is hampered by the requirement of large computing resources. To overcome these barriers, we have implemented an accelerating parallel processing for lightweight expansion of MASNUM (APPLE-MASNUM) on a single compute node with multiple GPUs. In initiating our approach, the mathematical-physics equations of the MASNUM system are thoroughly analyzed to pinpoint the primary computational bottlenecks. This study then transforms MASNUM from a multi-process MPI program into a preliminary GPU-compatible algorithms. Subsequently, the paper proposes an optimization strategy for two-dimensional four-point stencil computations. Following this, an optimization method for overlapping computation with communication is introduced. Finally, a refined data layout scheme tailored for GPUs is designed and implemented. Three numerical experiments with five-day wave forecasts demonstrated that compared to single-core MASNUM, the acceleration ratios of the framework presented in this study are 49.29-fold, 62.58-fold, and 65.74-fold, respectively. This considerable performance boost highlights the efficiency of the lightweight APPLE-MASNUM framework introduced in this research. This signifies the first implementation and optimization of the MASNUM model on a GPU-based heterogeneous platform.</div></div>","PeriodicalId":19457,"journal":{"name":"Ocean Modelling","volume":"196 ","pages":"Article 102557"},"PeriodicalIF":3.1000,"publicationDate":"2025-05-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Ocean Modelling","FirstCategoryId":"89","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1463500325000605","RegionNum":3,"RegionCategory":"地球科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"METEOROLOGY & ATMOSPHERIC SCIENCES","Score":null,"Total":0}
引用次数: 0
Abstract
The Marine Science and Numerical Modeling (MASNUM) system, developed for oceanic wave forecasting, play an important role in marine disaster prevention and maritime activities. However, its application is hampered by the requirement of large computing resources. To overcome these barriers, we have implemented an accelerating parallel processing for lightweight expansion of MASNUM (APPLE-MASNUM) on a single compute node with multiple GPUs. In initiating our approach, the mathematical-physics equations of the MASNUM system are thoroughly analyzed to pinpoint the primary computational bottlenecks. This study then transforms MASNUM from a multi-process MPI program into a preliminary GPU-compatible algorithms. Subsequently, the paper proposes an optimization strategy for two-dimensional four-point stencil computations. Following this, an optimization method for overlapping computation with communication is introduced. Finally, a refined data layout scheme tailored for GPUs is designed and implemented. Three numerical experiments with five-day wave forecasts demonstrated that compared to single-core MASNUM, the acceleration ratios of the framework presented in this study are 49.29-fold, 62.58-fold, and 65.74-fold, respectively. This considerable performance boost highlights the efficiency of the lightweight APPLE-MASNUM framework introduced in this research. This signifies the first implementation and optimization of the MASNUM model on a GPU-based heterogeneous platform.
期刊介绍:
The main objective of Ocean Modelling is to provide rapid communication between those interested in ocean modelling, whether through direct observation, or through analytical, numerical or laboratory models, and including interactions between physical and biogeochemical or biological phenomena. Because of the intimate links between ocean and atmosphere, involvement of scientists interested in influences of either medium on the other is welcome. The journal has a wide scope and includes ocean-atmosphere interaction in various forms as well as pure ocean results. In addition to primary peer-reviewed papers, the journal provides review papers, preliminary communications, and discussions.