Published February 10, 2017 | Version v1
Software Restricted

Accelerating the Global Nested Air Quality Prediction Modeling System (GNAQPMS) model on Intel Xeon Phi processors

  • 1. Beijing Normal University
  • 2. LAPC, Institute of Atmospheric Physics, Chinese Academy of Sciences
  • 3. Intel Corporation

Description

The GNAQPMS model is the global version of the Nested Air Quality Prediction Modelling System(NAQPMS), which is a multi-scale chemical transport model used for air quality forecast andatmospheric environmental research. In this study, we present our work of porting and optimizing theGNAQPMS model on the second generation Intel Xeon Phi processor codename “Knights Landing”(KNL). Compared with the first generation Xeon Phi coprocessor, KNL introduced many new hardware features such as a bootable processor, high performance in-package memory and ISA compatibility with Intel Xeon processor. In particular, we described the five optimizations we applied to the key modules of GNAQPMS-CBM-Z gas chemistry, advection, convection and wet deposition.These optimizations work well on both the KNL 7250 processor as well as the Intel Xeon processor E5-2697 V4. They include: 1) updating the pure MPI parallel mode to hybrid parallel mode with MPI and OpenMP in emission, advection, convection and chemistry modules; 2) fully employ the 512-bit wide vector processing units (VPU) on the KNL platform; 3) reducing unnecessary memory access to improve caches efficiency; 4) reducing thread local storage (TLS) in CBM-Z gas phase chemistry module to improve its OpenMP performance; 5) changing global communication from interface-files writing/reading to using Message Passing Interface (MPI) functions to improve the performance and the parallel scalability. These optimizations improved GNAQPMS performance great. The same optimizations also work well for the Intel Xeon Broadwell processor, specifically, E5-2697v4. Compared with the baseline version of GNAQPMS, the optimized version is 3.34x faster on KNL and 2.39x faster on CPU. Furthermore, the optimized version on KNL runs at 26% lower average power compare to CPU. Combining the performance and energy improvement, the KNL platform is 47% more efficient compare to the CPU platform. The optimizations also enables much further parallel scalability on both the CPU cluster and KNL cluster – scale to 40 CPU nodes and 30 KNL nodes, with a parallel efficiency of 70.4% and 42.2%, respectively.

Notes

Source codes of the base version and the optimized version GNAQPMS model.The source codes of GNAQPMS model are only provided for non-commercial education and scientific research activities.

Files

Restricted

The record is publicly accessible, but files are restricted to users with access.

Request access

If you would like to request access to these files, please fill out the form below.

You need to satisfy these conditions in order for this request to be accepted:

The source codes of GNAQPMS model are only provided for non-commercial education and scientific research activities.

You are currently not logged in. Do you have an account? Log in here