{"title":"Parallel Princeton Ocean Model based on OpenACC","authors":"Yining Wang , Bingtian Li , Wei Zhou , Yunxiu Ge","doi":"10.1016/j.envsoft.2025.106370","DOIUrl":null,"url":null,"abstract":"<div><div>With the development of the ocean economy, accurate forecasting using ocean models has become increasingly important. Existing parallel versions of the Princeton Ocean Model (POM) often feature complex code and limited portability. To address these issues and meet the computational demands of high-resolution ocean models while reducing program runtime, we developed an OpenACC-based parallel version of POM. Our approach migrates all computational components to the GPU using OpenACC, providing better maintainability and portability. We identified parallelizable sections and used Nsight Systems to analyze bottlenecks, reducing the transfer time efficiently between CPU and GPU. We tested the model's accuracy and performance under various simulation durations and resolutions. The results show a slight reduction in accuracy, while the speedup improved significantly, ranging from 11.75 to 45.04 with increased simulation duration and resolution. This work enhances the usability and efficiency of POM, making it more suitable for ocean forecasting and advanced research applications.</div></div>","PeriodicalId":310,"journal":{"name":"Environmental Modelling & Software","volume":"187 ","pages":"Article 106370"},"PeriodicalIF":4.8000,"publicationDate":"2025-02-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Environmental Modelling & Software","FirstCategoryId":"93","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1364815225000544","RegionNum":2,"RegionCategory":"环境科学与生态学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
With the development of the ocean economy, accurate forecasting using ocean models has become increasingly important. Existing parallel versions of the Princeton Ocean Model (POM) often feature complex code and limited portability. To address these issues and meet the computational demands of high-resolution ocean models while reducing program runtime, we developed an OpenACC-based parallel version of POM. Our approach migrates all computational components to the GPU using OpenACC, providing better maintainability and portability. We identified parallelizable sections and used Nsight Systems to analyze bottlenecks, reducing the transfer time efficiently between CPU and GPU. We tested the model's accuracy and performance under various simulation durations and resolutions. The results show a slight reduction in accuracy, while the speedup improved significantly, ranging from 11.75 to 45.04 with increased simulation duration and resolution. This work enhances the usability and efficiency of POM, making it more suitable for ocean forecasting and advanced research applications.
期刊介绍:
Environmental Modelling & Software publishes contributions, in the form of research articles, reviews and short communications, on recent advances in environmental modelling and/or software. The aim is to improve our capacity to represent, understand, predict or manage the behaviour of environmental systems at all practical scales, and to communicate those improvements to a wide scientific and professional audience.