XcalableMP is a directive-based parallel programming language based on Fortran and C, supporting a Partitioned Global Address Space (PGAS) model for distributed memory parallel systems. This open book presents XcalableMP language from its programming model and basic concept to the experience and performance of applications described in XcalableMP.
XcalableMP was taken as a parallel programming language project in the FLAGSHIP 2020 project, which was to develop the Japanese flagship supercomputer, Fugaku, for improving the productivity of parallel programing. XcalableMP is now available on Fugaku and its performance is enhanced by the Fugaku interconnect, Tofu-D.
The global-view programming model of XcalableMP, inherited from High-Performance Fortran (HPF), provides an easy and useful solution to parallelize data-parallel programs with directives for distributed global array and work distribution and shadow communication. The local-view programming adopts coarray notation from Coarray Fortran (CAF) to describe explicit communication in a PGAS model. The language specification was designed and proposed by the XcalableMP Specification Working Group organized in the PC Consortium, Japan.
The Omni XcalableMP compiler is a production-level reference implementation of XcalableMP compiler for C and Fortran 2008, developed by RIKEN CCS and the University of Tsukuba. The performance of the XcalableMP program was used in the Fugaku as well as the K computer. A performance study showed that XcalableMP enables a scalable performance comparable to the message passing interface (MPI) version with a clean and easy-to-understand programming style requiring little effort.
This open book is licensed under a Creative Commons License (CC BY). You can download XcalableMP PGAS Programming Language ebook for free in PDF format (12.6 MB).
Table of Contents
XcalableMP Programming Model and Language
Implementation and Performance Evaluation of Omni Compiler
Coarrays in the Context of XcalableMP
XcalableACC: An Integration of XcalableMP and OpenACC
Mixed-Language Programming with XcalableMP
Three-Dimensional Fluid Code with XcalableMP
Hybrid-View Programming of Nuclear Fusion Simulation Code in XcalableMP
Parallelization of Atomic Image Reconstruction from X-ray Fluorescence Holograms with XcalableMP
Multi-SPMD Programming Model with YML and XcalableMP
XcalableMP 2.0 and Future Directions