The second version of Chinese Academy of Sciences Earth System Model (CAS‐ESM 2) is described with emphasis on the development process, strength and weakness, and climate sensitivities in simulations of the Coupled Model Intercomparison Project (CMIP6) DECK experiments. CAS‐ESM 2 was built as a numerical model to simulate both the physical climate system as well as atmospheric chemistry and carbon cycle. It is a newcomer in the international modeling community to provide sufficiently independent solutions of climate simulations from those of other models. Performances of the model in simulating the basic states of the radiation budget of the atmosphere and ocean, precipitation, circulations, variabilities, and the 20th Century warming are presented. Model biases and their possible causes are discussed. Strength includes horizontal heat transport in the atmosphere and oceans, vertical profile of the Atlantic Meridional Overturning Circulation; weakness includes the double Inter‐Tropical Convergence Zone (ITCZ) and stronger amplitude of the El Niño‐Southern Oscillation (ENSO) that are also common in many other models. The simulated the 20th Century warming shares a similar discrepancy with observations as in several other models—less warming in the 1920s and stronger cooling in the 1960s than in observation—at the time when there was a steep increase of anthropogenic aerosols. As a result, the 20th Century warming is about 60% of the observed warming despite that the model simulated a similar slope of warming trend after 1980 to observation. The model has an equilibrium climate sensitivity of 3.4 K with a positive cloud feedback from the shortwave radiation.
GPUs have become important solutions for accelerating scientific applications. Most of the existing work on climate models now uses code rewritten using CUDA to achieve a limited speedup. This restriction also greatly limits followup development and applications. In this study, we designed and implemented a GPU-based acceleration of the LASG/IAP Climate system Ocean Model (LICOM) version 2, called LICOM2-gpu. Considering the extremely large codebase of the model and the occasional need to modify the code, we implemented the model completely in OpenACC. Several accelerated methods, including OpenACC data locality optimization, loop optimization and interprocess communication optimization, are presented. Developing for GPUs using OpenACC is substantially simpler than using the CUDA port. Thus, OpenACC is a suitable GPU programming model for complex systems, such as the Earth System Model and its components. Our experimental results using 4 NVIDIA K80 cards achieved up to a 6.6x speedup compared with 4 Intel(R) Xeon(R) CPU E5-2690 v2 GPUs.
The earth system model is one of the most complicated computer simulation software in the human development history, which is the basis of understanding and predicting the climate change, and an important tool to support the climate change related decisions. CAS-ESM, Chinese Academy of Science Earth System Model, is developed by the Institute of Atmospheric Physics(IAP) and its cooperators. This system contains the complete components of the climate system and ecological environment system including global atmospheric general circulation model(AGCM), global oceanic general circulation model(OGCM), ice model, land model, atmospheric chemistry model, dynamic global vegetation model(DGVM), ocean biogeochemistry model(OBM) and regional climate model(RCM), etc. Since CAS-ESM is a complex system and is designed as a scalable and pluggable system, a parallel software platform(SC-ESSP) is needed. SC-ESSP will be developed as an open software platform running on Chinese earth system numerical simulation facilities for different developers and users, which requires that the component models need to be standard and unified, and the platform should be pluggable, high performance and easy-to-use. To achieve this goal, based on the platform of Community Earth System Model(CESM), a parallel software application platform named SC-ESAP is designed for CAS-ESM, mainly including compile and run scripts, standard and unified component models, 3-D coupler component, coupler interface creator and some parallel and optimization work. A component framework SC-ESMF will be developed based on the framework SC-Tangram for the more distant future.
The Chinese Academy of Sciences Coupling Interface Generator (CAS‐CIG) is designed to address the complexities of the development and coupling of different component models in Earth System Models based on the Coupler 7 of the Community Earth System Model (CESM). Its application in the Chinese Academy of Sciences Earth System Model (CAS‐ESM) is described. The CAS‐CIG automatically generates the coupler code through a simple configuration file when a component model is accessed, enabling different component models to be easily ported to CPL7 to create simulation cases. Combined with the automatic generation of compile scripts, the precompilation and run directories are directly formed. The component model integration, model selection, experimental setup, and platform migration can be all accomplished in the CAS‐CIG. Verification of the CAS‐CIG is presented to show that the automatically generated codes can identically reproduce the simulation results of CAS‐ESM. CAS‐CIG presents a software tool for modeling centers to investigate the impact of component model selections on simulations of climate and weather.
This paper proposes a series of parallel optimizations on a high-resolution ocean model, the LASG/IAP Climate System Ocean Model (LICOM), which was independently developed by the Institute of Atmospheric Physics of the Chinese Academy of Sciences. The version of LICOM that we used was LICOM 2.1. In order to improve the parallel performance of LICOM, a series of parallel optimization methods were applied. We optimized the parallelization scheme to tackle the problem of load imbalance. Some communication optimizations were implemented, including data packing, the application of the least communication algorithm, and the replacement of communications with calculations. Furthermore, for the calculation procedures, we implemented some mature optimizations and expanded functions in a loop. Additionally, a hybrid of MPI and OpenMP, as well as an asynchronous parallel IO, was used. In this work, the optimized version of LICOM 2.1 was able to achieve a speedup of more than two times compared with the original code. The parallelization scheme optimization and the communication optimization produced considerable improvement in performance in the large-scale parallelization. Meanwhile, the newly optimized LICOM could scale up to 245,760 processor cores. However, for the original version, there was no speedup when scaled up to over 10,000 processor cores. Additionally, the problem of jumpy wall time during the time integration process was also tackled with this optimization. Finally, we conducted a practical simulation from 1993 to 2007 by using the optimized version of LICOM 2.1. The results showed that the mesoscale vortex was well simulated by the model.