@misc{80108, author = {H. Xiao and Michail Diamantakis and S. Saarinen}, title = {An OpenACC GPU adaptation of the IFS cloud microphysics scheme}, abstract = {

The ECMWF Integrated Forecast System (IFS) cloud microphysics scheme has been adapted for a GPU architecture. Hybrid OpenMP and OpenACC within a single node, hybrid MPI and OpenACC over multiple nodes as well as different algorithmic and code optimization methods were employed to study the performance impact. The roofline model was used to conduct a performance analysis and the CLAW compiler has been explored as a tool for automatic code adaptation.  For a very large number of grid columns, the double precision performance of the 4 GK210 GPUs of a single node was slightly better than the performance of two 12-core CPUs (contained in the node) in terms of the total run rime. However, without taking into account the GPU data transfer and other overheads, the actual calculation time for the same large size problem was reduced to approximately one quarter of the CPU time giving a speed up factor of 4.  Comparing the performance of a single GPU with a single CPU, the obtained speed up factor is approximately 2. A further 40% gain can be achieved with single precision. The obtained GPU speed up factor depends a lot on the workload given to a GPU; for small or moderate size problems (number of grid columns) the above mentioned speed up factors cannot be achieved.

}, year = {2017}, journal = {ECMWF Technical Memoranda}, number = {805}, month = {2017}, publisher = {ECMWF}, url = {https://www.ecmwf.int/node/17320}, doi = {10.21957/g9mjjlgeq}, language = {eng}, }