DaCe on GPU for Climate and Weather Models Using CLOUDSC as a Case Study. Martin, S. Master's thesis, ETH Zurich, 2023. Accepted: 2023-11-30T14:41:28Z
Paper doi abstract bibtex Fortran is an often used language for HPC applications optimized for CPU performance. Porting HPC applications to GPUs often requires a rewrite as different languages might need to be used and optimizations beneficial for CPUs are resulting in a bad performance on GPUs as e.g. the memory access pattern is different. We utilize the parallel programming framework DaCe to automatically generate a GPU implementation of CLOUDSC, an existing HPC application used in operational weather forecast models which is implemented in Fortran and optimized for CPU. We improve the transformations performed on DaCes intermediate representation to optimize it for the GPU architecture implementing two optimizations. These consider the code structure of the full program as well as the data layout and changes them to convert the CPU specific optimizations to GPU. This leads to a combined speedup of 4 compared to the previous fastest DaCe version and is on par with the best implementation provided by the developers of the model in terms of performance and scalability.
@mastersthesis{martin_dace_2023,
title = {{DaCe} on {GPU} for {Climate} and {Weather} {Models} {Using} {CLOUDSC} as a {Case} {Study}},
copyright = {http://rightsstatements.org/page/InC-NC/1.0/},
url = {https://www.research-collection.ethz.ch/handle/20.500.11850/644620},
abstract = {Fortran is an often used language for HPC applications optimized for CPU performance. Porting HPC applications to GPUs often requires a rewrite as different languages might need to be used and optimizations beneficial for CPUs are resulting in a bad performance on GPUs as e.g. the memory access pattern is different. We utilize the parallel programming framework DaCe to automatically generate a GPU implementation of CLOUDSC, an existing HPC application used in operational weather forecast models which is implemented in Fortran and optimized for CPU. We improve the transformations performed on DaCes intermediate representation to optimize it for the GPU architecture implementing two optimizations. These consider the code structure of the full program as well as the data layout and changes them to convert the CPU specific optimizations to GPU. This leads to a combined speedup of 4 compared to the previous fastest DaCe version and is on par with the best implementation provided by the developers of the model in terms of performance and scalability.},
language = {en},
urldate = {2024-02-04},
school = {ETH Zurich},
author = {Martin, Samuel},
year = {2023},
doi = {10.3929/ethz-b-000644620},
note = {Accepted: 2023-11-30T14:41:28Z},
keywords = {high performance computing, mentions sympy, weather and forecasting},
}
Downloads: 0
{"_id":"8Ys5S8m7LJFgiqLb9","bibbaseid":"martin-daceongpuforclimateandweathermodelsusingcloudscasacasestudy-2023","author_short":["Martin, S."],"bibdata":{"bibtype":"mastersthesis","type":"mastersthesis","title":"DaCe on GPU for Climate and Weather Models Using CLOUDSC as a Case Study","copyright":"http://rightsstatements.org/page/InC-NC/1.0/","url":"https://www.research-collection.ethz.ch/handle/20.500.11850/644620","abstract":"Fortran is an often used language for HPC applications optimized for CPU performance. Porting HPC applications to GPUs often requires a rewrite as different languages might need to be used and optimizations beneficial for CPUs are resulting in a bad performance on GPUs as e.g. the memory access pattern is different. We utilize the parallel programming framework DaCe to automatically generate a GPU implementation of CLOUDSC, an existing HPC application used in operational weather forecast models which is implemented in Fortran and optimized for CPU. We improve the transformations performed on DaCes intermediate representation to optimize it for the GPU architecture implementing two optimizations. These consider the code structure of the full program as well as the data layout and changes them to convert the CPU specific optimizations to GPU. This leads to a combined speedup of 4 compared to the previous fastest DaCe version and is on par with the best implementation provided by the developers of the model in terms of performance and scalability.","language":"en","urldate":"2024-02-04","school":"ETH Zurich","author":[{"propositions":[],"lastnames":["Martin"],"firstnames":["Samuel"],"suffixes":[]}],"year":"2023","doi":"10.3929/ethz-b-000644620","note":"Accepted: 2023-11-30T14:41:28Z","keywords":"high performance computing, mentions sympy, weather and forecasting","bibtex":"@mastersthesis{martin_dace_2023,\n\ttitle = {{DaCe} on {GPU} for {Climate} and {Weather} {Models} {Using} {CLOUDSC} as a {Case} {Study}},\n\tcopyright = {http://rightsstatements.org/page/InC-NC/1.0/},\n\turl = {https://www.research-collection.ethz.ch/handle/20.500.11850/644620},\n\tabstract = {Fortran is an often used language for HPC applications optimized for CPU performance. Porting HPC applications to GPUs often requires a rewrite as different languages might need to be used and optimizations beneficial for CPUs are resulting in a bad performance on GPUs as e.g. the memory access pattern is different. We utilize the parallel programming framework DaCe to automatically generate a GPU implementation of CLOUDSC, an existing HPC application used in operational weather forecast models which is implemented in Fortran and optimized for CPU. We improve the transformations performed on DaCes intermediate representation to optimize it for the GPU architecture implementing two optimizations. These consider the code structure of the full program as well as the data layout and changes them to convert the CPU specific optimizations to GPU. This leads to a combined speedup of 4 compared to the previous fastest DaCe version and is on par with the best implementation provided by the developers of the model in terms of performance and scalability.},\n\tlanguage = {en},\n\turldate = {2024-02-04},\n\tschool = {ETH Zurich},\n\tauthor = {Martin, Samuel},\n\tyear = {2023},\n\tdoi = {10.3929/ethz-b-000644620},\n\tnote = {Accepted: 2023-11-30T14:41:28Z},\n\tkeywords = {high performance computing, mentions sympy, weather and forecasting},\n}\n\n\n\n","author_short":["Martin, S."],"key":"martin_dace_2023","id":"martin_dace_2023","bibbaseid":"martin-daceongpuforclimateandweathermodelsusingcloudscasacasestudy-2023","role":"author","urls":{"Paper":"https://www.research-collection.ethz.ch/handle/20.500.11850/644620"},"keyword":["high performance computing","mentions sympy","weather and forecasting"],"metadata":{"authorlinks":{}}},"bibtype":"mastersthesis","biburl":"https://bibbase.org/zotero-group/nicoguaro/525293","dataSources":["YtBDXPDiQEyhyEDZC"],"keywords":["high performance computing","mentions sympy","weather and forecasting"],"search_terms":["dace","gpu","climate","weather","models","using","cloudsc","case","study","martin"],"title":"DaCe on GPU for Climate and Weather Models Using CLOUDSC as a Case Study","year":2023}