D. Hollman, Janine Bennett, H. Kolla, J. Lifflander, N. Slattengren, Jeremiah J. Wilke
{"title":"Metaprogramming-Enabled Parallel Execution of Apparently Sequential C++ Code","authors":"D. Hollman, Janine Bennett, H. Kolla, J. Lifflander, N. Slattengren, Jeremiah J. Wilke","doi":"10.1109/ESPM2.2016.8","DOIUrl":"https://doi.org/10.1109/ESPM2.2016.8","url":null,"abstract":"Task-based execution models have received considerable attention in recent years to meet the performance challenges facing high-performance computing (HPC). In this paper we introduce MetaPASS — Metaprogramming-enabled Para-llelism from Apparently Sequential Semantics — a proof-of-concept, non-intrusive header library that enables implicit task-based parallelism in a sequential C++ code. MetaPASS is a data-driven model, relying on dependency analysis of variable read-/write accesses to derive a directed acyclic graph (DAG) of the computation to be performed. MetaPASS enables embedding of runtime dependency analysis directly in C++ applications using only template metaprogramming. Rather than requiring verbose task-based code or source-to-source compilers, a native C++ code can be made task-based with minimal modifications. We present an overview of the programming model enabled by MetaPASS and the C++ runtime API required to support it. Details are provided regarding how standard template metaprogramming is used to capture task dependencies. We finally discuss how the programming model can be deployed in both an MPI+X and in a standalone distributed memory context.","PeriodicalId":411554,"journal":{"name":"2016 Second International Workshop on Extreme Scale Programming Models and Middlewar (ESPM2)","volume":"53 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114739463","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"A Scalable Task Parallelism Approach for LU Decomposition with Multicore CPUs","authors":"V. Rana, Meifeng Lin, B. Chapman","doi":"10.1109/ESPM2.2016.6","DOIUrl":"https://doi.org/10.1109/ESPM2.2016.6","url":null,"abstract":"Many scientific applications have linear systems A · x = b which need to be solved for different vectors b. LU decomposition, which is a variant of Gaussian Elimination, is an efficient technique to solve a linear system. The main idea of the LU decomposition is to factorize A into an upper (U) triangular and a lower (L) triangular matrix such that A = LU. This paper presents an OpenMP task parallel approach for the LU factorization of dense matrices. The tasking model is based on the individual computational tasks which occur during the block-wise LU factorization. We describe the right-looking variant of the LU decomposition algorithm in the task parallel approach, and provide an efficient implementation of the algorithm for shared memory machines. We demonstrate that with the task scheduling features provided by OpenMP 4.0, the right-looking LU decomposition can scale well. We then conduct an experimental evaluation of the task parallel implementation in comparison with the parallel-for implementation of the Gaussian elimination with pivoting and LU decomposition using the GNU Scientific Library on a multicore platform. From the experiments we conclude that the proposed task-based implementation is a good solution for solving large systems of linear equations using LU decomposition.","PeriodicalId":411554,"journal":{"name":"2016 Second International Workshop on Extreme Scale Programming Models and Middlewar (ESPM2)","volume":"70 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122410459","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Daniel Sunderland, B. Peterson, John A. Schmidt, A. Humphrey, Jeremy N. Thornock, M. Berzins
{"title":"An Overview of Performance Portability in the Uintah Runtime System through the Use of Kokkos","authors":"Daniel Sunderland, B. Peterson, John A. Schmidt, A. Humphrey, Jeremy N. Thornock, M. Berzins","doi":"10.1109/ESPM2.2016.10","DOIUrl":"https://doi.org/10.1109/ESPM2.2016.10","url":null,"abstract":"The current diversity in nodal parallel computer architectures is seen in machines based upon multicore CPUs, GPUs and the Intel Xeon Phi's. A class of approaches for enabling scalability of complex applications on such architectures is based upon Asynchronous Many Task software architectures such as that in the Uintah framework used for the parallel solution of solid and fluid mechanics problems. Uintah has both an applications layer with its own programming model and a separate runtime system. While Uintah scales well today, it is necessary to address nodal performance portability in order for it to continue to do. Incrementally modifying Uintah to use the Kokkos performance portability library through prototyping experiments results in improved kernel performance by more than a factor of two.","PeriodicalId":411554,"journal":{"name":"2016 Second International Workshop on Extreme Scale Programming Models and Middlewar (ESPM2)","volume":"83 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121371974","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"PGAS Communication Runtime for Extreme Large Data Computation","authors":"R. Matsumiya, Toshio Endo","doi":"10.1109/ESPM2.2016.11","DOIUrl":"https://doi.org/10.1109/ESPM2.2016.11","url":null,"abstract":"For partitioned global address space (PGAS) runtimes, supporting out-of-core data computation is an important issue. Some researchers showed that flash SSDs are useful for out-of-core data computation.In this paper, we introduce ComEx-PM, a PGAS communication runtime. ComEx-PM supports out-of-core data computation using a flash SSD. ComEx-PM launched multiple processes in each node. Memory region of each process is swapped into a flash SSD if total size of the data is out-of-core.We adopted ComEx-PM into Global Arrays (GA), a PGAS runtime library. We executed two programs developed with GA. One program is a dense matrix-matrix multiplication (dgemm) program. The other program is a simple 2D stencil computation program. The dgemm program showed ComEx-PM could run the program with the same performance as the original GA. The stencil program illustrated the overhead of ComEx-PM and how to reduce it.","PeriodicalId":411554,"journal":{"name":"2016 Second International Workshop on Extreme Scale Programming Models and Middlewar (ESPM2)","volume":"17 10","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132433800","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Qian Sun, Melissa Romanus, Tong Jin, Hongfeng Yu, P. Bremer, Steve Petruzza, S. Klasky, M. Parashar
{"title":"In-Staging Data Placement for Asynchronous Coupling of Task-Based Scientific Workflows","authors":"Qian Sun, Melissa Romanus, Tong Jin, Hongfeng Yu, P. Bremer, Steve Petruzza, S. Klasky, M. Parashar","doi":"10.1109/ESPM2.2016.12","DOIUrl":"https://doi.org/10.1109/ESPM2.2016.12","url":null,"abstract":"Coupled application workflows composed of applications implemented using task-based models present new coupling and data exchange challenges, due to the asynchronous interaction and coupling behaviors between tasks of the component applications. In this paper, we present an adaptive data placement approach that addresses these challenges by dynamically adjusting to the asynchronous coupling patterns. Specifically, it places data across a set of staging cores/nodes with an awareness of the application-specific data locality requirements and the runtime task executions at these staging cores/nodes, with the goal of reducing end-to-end execution time and data movement overhead of the workflow. We experimentally demonstrate the effectiveness of our approach on the Titan Cray XK7 system using representative data coupling patterns derived from current scientific workflows. The evaluation demonstrates that our approach efficiently improves performance by reducing the time-to-solution and increasing the quality of insights for scientific discovery.","PeriodicalId":411554,"journal":{"name":"2016 Second International Workshop on Extreme Scale Programming Models and Middlewar (ESPM2)","volume":"21 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133094139","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Runtime Coordinated Heterogeneous Tasks in Charm++","authors":"Michael P. Robson, Ronak Buch, L. Kalé","doi":"10.1109/ESPM2.2016.7","DOIUrl":"https://doi.org/10.1109/ESPM2.2016.7","url":null,"abstract":"Effective utilization of the increasingly heterogeneous hardware in modern supercomputers is a significant challenge. Many applications have seen performance gains by using GPUs, but many implementations leave CPUs sitting idle.In this paper, we describe a runtime managed system for coordinating heterogeneous execution. This system manages data transfers to and from GPU devices and schedules work across the computational resources of the system. The programmer need only tag methods and parameters to enable heterogeneous execution.Using this system, we observe improvements in programmer productivity and application performance. For selected benchmarks, when using heterogeneous execution we observe speedups of up to 3.09x relative to using only the host cores or only the device.","PeriodicalId":411554,"journal":{"name":"2016 Second International Workshop on Extreme Scale Programming Models and Middlewar (ESPM2)","volume":"39 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128347839","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"SWE-X10: Simulating Shallow Water Waves with Lazy Activation of Patches Using Actorx10","authors":"Alexander Pöppl, M. Bader, T. Schwarzer, M. Glaß","doi":"10.1109/ESPM2.2016.9","DOIUrl":"https://doi.org/10.1109/ESPM2.2016.9","url":null,"abstract":"We present an efficient Finite Volume solver for the shallow water equations using an actor extension of the X10 programming language, ActorX10, as programming model. Each actor is assigned to a Cartesian patch of the computational grid. Using the actor's finite state machine to control patch updates, we realize lazy activation of patches, only when a propagating wave enters the respective patch. Overlapping of communication and computation in the fully non-central actor-based control, as well as careful optimization (esp. vectorization) of kernels leads to high performance and parallel efficiency in shared and distributed memory. Benefits of lazy activation are demonstrated via reduced CPU hours for a benchmark scenario.","PeriodicalId":411554,"journal":{"name":"2016 Second International Workshop on Extreme Scale Programming Models and Middlewar (ESPM2)","volume":"42 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124478988","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}