Hybrid Fortran: High Productivity GPU Porting Framework Applied to Japanese Weather Prediction Model
نویسندگان
چکیده
In this work we use the GPU porting task for the operative Japanese weather prediction model “ASUCA” as an opportunity to examine productivity issues with OpenACC when applied to structured grid problems. We then propose “Hybrid Fortran”, an approach that combines the advantages of directive based methods (no rewrite of existing code necessary) with that of stencil DSLs (memory layout is abstracted). This gives the ability to define multiple parallelizations with different granularities in the same code. Without compromising on performance, this approach enables a major reduction in the code changes required to achieve a hybrid GPU/CPU parallelization as demonstrated with our ASUCA implementation using Hybrid Fortran.
منابع مشابه
New High Performance GPGPU Code Transformation Framework Applied to Large Production Weather Prediction Code
We introduce “Hybrid Fortran”, a new approach that allows a high performance GPGPU port for structured grid Fortran codes. is technique only requires minimal changes for a CPU targeted codebase, which is a signicant advancement in terms of productivity. It has been successfully applied to both dynamical core and physical processes of ASUCA, a Japanese mesoscale weather prediction model with m...
متن کاملGpu Acceleration of the Long-wave Rapid Radiative Transfer Model in Wrf Using Cuda Fortran
This paper presents the approach and results of porting the Long-Wave Rapid Radiative Transfer Model (RRTM) component of the Weather Research and Forecast (WRF) code to the GPU using CUDA Fortran. After a brief description of the RTTM code, considerations regarding porting the application to the GPU are discussed. Included in the porting discussion are how the data structures have been modified...
متن کاملAn Incremental Approach to Porting Complex Scientific Applications to GPU/CUDA
This paper proposes and describes a developed methodology to port complex scientific applications originally written in FORTRAN to the nVidia CUDA. The process was developed and validated by porting an existing FORTRAN weather and forecasting algorithm to a GPU parallel paradigm. We believe that the proposed porting methodology described can be successfully utilized in several other existing sc...
متن کاملA Review of The Challenges and Results of Refactoring the Community Climate Code COSMO for Hybrid Cray HPC Systems
We summarize the results of porting the numerical weather simulation code COSMO to different hybrid Cray HPC systems. COSMO was written in Fortran with MPI, and the aim of the refactoring was to support both many-core systems and GPU-accelerated systems with minimal disruption to the user community. With this in mind, different approaches were taken to refactor the different components of the c...
متن کاملA Framework for Running the ADCIRC Discontinuous Galerkin Storm Surge Model on a GPU
Hybrid architectures utilizing GPUs provide a unique opportunity in a high performance computing environment. However, there are many legacy codes, particularly written in Fortran, that can not take immediate advantage of GPUs. Furthermore, many of these codes are under active development and so completely rewriting the code may not be an option. The advanced circulation and storm surge finite ...
متن کامل