Proceedings of the Platform for Advanced Scientific Computing Conference | 2019

Porting the COSMO Weather Model to Manycore CPUs

 
 
 
 
 
 
 
 
 
 

Abstract


Weather and climate simulations are a major application driver in high-performance computing (HPC). With the end of Dennard scaling and Moore s law, the HPC industry increasingly employs specialized computation accelerators to increase computational throughput. Manycore architectures, such as Intel s Knights Landing (KNL), are a representative example of future processing devices. However, software has to be modified to use these devices efficiently. In this work, we demonstrate how an existing domain-specific language that has been designed for CPUs and GPUs can be extended to Manycore architectures such as KNL. We achieve comparable performance to the NVIDIA Tesla P100 GPU architecture on hand-tuned representative stencils of the dynamical core of the COSMO weather model and its radiation code. Further, we present performance within a factor of two of the P100 of the full DSL-based GPU-optimized COSMO dycore code. We find that optimizing code to full performance on modern manycore architectures requires similar effort and hardware knowledge as for GPUs. Further, we show limitations of the present approaches, and outline our lessons learned and possible principles for design of future DSLs for accelerators in the weather and climate domain.

Volume None
Pages None
DOI 10.1145/3324989.3325723
Language English
Journal Proceedings of the Platform for Advanced Scientific Computing Conference

Full Text