Search NASA⌕ Search

SEARCH · Search NASA

Results for “Parallel Programming Models”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 1,207 records · Page 67

Dakota, a multilevel parallel object-oriented framework for design optimization, parameter estimation, uncertainty quantification, and sensitivity analysis :

The Dakota (Design Analysis Kit for Optimization and Terascale Applications) toolkit provides a exible and extensible interface between simulation codes and iterative analysis methods. Dakota contains algorithms for optimization with gradient and nongradient-based methods; uncertainty quanti cation with sampling, reliability, and stochastic expansion methods; parameter estimation with nonlinear least squares methods; and sensitivity/variance analysis with design of experiments and parameter study methods. These capabilities may be used on their own or as components within advanced strategies such as surrogate-based optimization, mixed integer nonlinear programming, or optimization under uncertainty. By employing object-oriented design to implement abstractions of the key components required for iterative systems analyses, the Dakota toolkit provides a exible and extensible problem-solving environment for design and performance analysis of computational models on high performance computers. This report serves as a user's manual for the Dakota software and provides capability overviews and procedures for software execution, as well as a variety of example studies.

97 MATHEMATICS AND COMPUTING↗

Xyce Parallel Electronic Simulator : users' guide, version 4.1.

This manual describes the use of the Xyce Parallel Electronic Simulator. Xyce has been designed as a SPICE-compatible, high-performance analog circuit simulator, and has been written to support the simulation needs of the Sandia National Laboratories electrical designers. This development has focused on improving capability over the current state-of-the-art in the following areas: (1) Capability to solve extremely large circuit problems by supporting large-scale parallel computing platforms (up to thousands of processors). Note that this includes support for most popular parallel and serial computers. (2) Improved performance for all numerical kernels (e.g., time integrator, nonlinear and linear solvers) through state-of-the-art algorithms and novel techniques. (3) Device models which are specifically tailored to meet Sandia's needs, including some radiation-aware devices (for Sandia users only). (4) Object-oriented code design and implementation using modern coding practices that ensure that the Xyce Parallel Electronic Simulator will be maintainable and extensible far into the future. Xyce is a parallel code in the most general sense of the phrase - a message passing parallel implementation - which allows it to run efficiently on the widest possible number of computing platforms. These include serial, shared-memory and distributed-memory parallel as well as heterogeneous platforms. Careful attention has been paid to the specific nature of circuit-simulation problems to ensure that optimal parallel efficiency is achieved as the number of processors grows. The development of Xyce provides a platform for computational research and development aimed specifically at the needs of the Laboratory. With Xyce, Sandia has an 'in-house' capability with which both new electrical (e.g., device model development) and algorithmic (e.g., faster time-integration methods, parallel solver algorithms) research and development can be performed. As a result, Xyce is a unique electrical simulation capability, designed to meet the unique needs of the laboratory.

99 GENERAL AND MISCELLANEOUS↗

Software for the frontiers of quantum chemistry: An overview of developments in the Q-Chem 5 package

This article summarizes technical advances contained in the fifth major release of the Q-Chem quantum chemistry program package, covering developments since 2015. A comprehensive library of exchange-correlation functionals, along with a suite of correlated many-body methods, continues to be a hallmark of the Q-Chem software. The many-body methods include novel variants of both coupled-cluster and configuration-interaction approaches along with methods based on the algebraic diagrammatic construction and variational reduced density-matrix methods. Methods highlighted in Q-Chem 5 include a suite of tools for modeling core-level spectroscopy, methods for describing metastable resonances, methods for computing vibronic spectra, the nuclear-electronic orbital method, and several different energy decomposition analysis techniques. High-performance capabilities including multithreaded parallelism and support for calculations on graphics processing units are described. Q-Chem boasts a community of well over 100 active academic developers, and the continuing evolution of the software is supported by an "open teamware" model and an increasingly modular design.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

High-Temperature Structures, Adhesives, and Advanced Thermal Protection Materials for Next-Generation Aeroshell Design

The next generation of planetary exploration vehicles will rely heavily on robust aero-assist technologies, especially those that include aerocapture. This paper provides an overview of an ongoing development program, led by NASA Langley Research Center (LaRC) and aimed at introducing high-temperature structures, adhesives, and advanced thermal protection system (TPS) materials into the aeroshell design process. The purpose of this work is to demonstrate TPS materials that can withstand the higher heating rates of NASA's next generation planetary missions, and to validate high-temperature structures and adhesives that can reduce required TPS thickness and total aeroshell mass, thus allowing for larger science payloads. The effort described consists of parallel work in several advanced aeroshell technology areas. The areas of work include high-temperature adhesives, high-temperature composite materials, advanced ablator (TPS) materials, sub-scale demonstration test articles, and aeroshell modeling and analysis. The status of screening test results for a broad selection of available higher-temperature adhesives is presented. It appears that at least one (and perhaps a few) adhesives have working temperatures ranging from 315-400 C (600-750 F), and are suitable for TPS-to-structure bondline temperatures that are significantly above the traditional allowable of 250 C (482 F). The status of mechanical testing of advanced high-temperature composite materials is also summarized. To date, these tests indicate the potential for good material performance at temperatures of at least 600 F. Application of these materials and adhesives to aeroshell systems that incorporate advanced TPS materials may reduce aeroshell TPS mass by 15% - 30%. A brief outline is given of work scheduled for completion in 2006 that will include fabrication and testing of large panels and subscale aeroshell test articles at the Solar-Tower Test Facility located at Kirtland AFB and operated by Sandia National Laboratories. These tests are designed to validate aeroshell manufacturability using advanced material systems, and to demonstrate the maintenance of bondline integrity at realistically high temperatures and heating rates. Finally, a status is given of ongoing aeroshell modeling and analysis efforts which will be used to correlate with experimental testing, and to provide a reliable means of extrapolating to performance under actual flight conditions. The modeling and analysis effort includes a parallel series of experimental tests to determine TSP thermal expansion and other mechanical properties which are required for input to the analysis models.

Collins, Timothy J.↗

NASA Earth Systems Digital Twins (ESDT)

"Similarly to artificial intelligence, which is now revolutionizing many aspects of our daily lives, Earth system digital twin technologies have the potential to revolutionize the way Earth Science research will be conducted in the future, and how results and knowledge from this research will provide information to support decision making and yield impactful societal benefits. An Earth System Digital Twin or ESDT is a dynamic and interactive information system that first provides a digital replica of the past and current states of the Earth or Earth system as accurately and timely as possible; second, allows for computing forecasts of future states under nominal assumptions and based on the current replica; and third, offers the capability to investigate many hypothetical scenarios under varying impact assumptions. In other words, an ESDT provides the integrated What-Now, What-Next, and What-If pictures of the Earth or Earth system, by continuously ingesting newly observed data and by leveraging multiple interconnected models, machine learning as well advanced computing and visualization capabilities. Digital twins have been developed in engineering since 2002, but the interest in digital twins for the Earth domain is more recent and stems from the convergence of several developments: - The huge amount of diverse data that has now been collected continuously for more than 50 years, and that is becoming more and more difficult to access, understand, and utilize. - At the same time, because of climate change and its impacts the information produced by all of this data is becoming of interest to many new non-traditional users for analyzing and predicting various phenomena. - Because of advances in computational and visualization capabilities and the parallel unprecedented development of machine learning (ML), extracting relevant information from these large amounts of data and running complex models faster has become possible. As a result, it is becoming necessary and possible to build intuitive and interactive frameworks that will enable users with various skill levels and/or organizational hierarchy levels to easily access large amounts of targeted information along with the relevant tools and models (Earth system and human activity models), to support them in analyzing and visualizing this information, to help them understand interactions among models, to visualize the potential outcomes of various impacts, and to support decision or policy making. The full power of digital twins is that, through an integrated representation and standardized tools and software technologies, the same digital replica can address the needs of multiple users at various resolutions (spatial and temporal) and for various applications (science, economic, policy, etc.) – “from farmer to scientist”. With all these interests at stake, the challenges of building optimal digital twins are many and complex. The first challenge is to determine if a Digital Twin should be global or local, and multi-domain or thematic. For example, some domains such as Climate or Weather will require a global Digital Twin or Digital Twin capabilities while science areas such as Biodiversity might be more local. We can also envision that multiple thematic ESDTs, e.g., Air Quality, Wildfires, Hydrology could be federated or provide input to other ESDTs, either on a regional level or to a more global ESDT. Overall, we can imagine a future “web” of Digital Twins co-existing in a hierarchy or in a network, and capable of being connected or federated depending on the needs. This last point brings up the very important challenge of interoperability, including standards and protocols that will need to be built into these systems from the beginning. Each individual digital twin would have full flexibility in internal construction but would need standards-based interfaces (input and output) or hooks to make it compatible with others. Another challenge when building digital twins will be to decide how to organize each digital replica. Based on the applications targeted by the DT under implementation, various amounts and types of raw data, Analysis Ready Data (ARD) and information will need to be incorporated. Depending on the required latencies and needs of the users, various solutions can be considered, including Data Cubes, Data Lakes, pointers, or computing information on demand. We envision that each ESDT will choose a solution adapted to its specific objectives. Another important challenge is the type(s) of visualization that will be used, as well as the level of interactivity and refresh rate that will be required. Again, this will depend on the objectives of the ESDT, but also on the various users’ needs. In most cases, several types of visualizations and human interfaces will need to be offered depending on the projected users of that system. In parallel to the challenges highlighted above, there are also many tools and technologies that will need to be developed or improved for all types of digital twins. Among those are improved machine learning technologies, for example providing explainability, but also ML techniques for causality and providing a better integration of physics models. Additionally, reliable uncertainty quantification methods will be needed for all ESDT components, from validating data fusion and assimilation to assessing the accuracy of ML models and weighing the values of decisions supported by those systems. This presentation introduces the ESDT concept, presents several ESDT use cases, and a proposed ESDT architecture framework, as well as various technologies being developed by the Advanced Information Systems Technology (AIST) Program."

Earth Science Remote Sensing; Information Systems↗

Index Sets and Vectorization

Vectorization is data parallelism (SIMD, SIMT, etc.) - extension of ISA enabling the same instruction to be performed on multiple data items simultaeously. Many/most CPUs support vectorization in some form. Vectorization is difficult to enable, but can yield large efficiency gains. Extra programmer effort is required because: (1) not all algorithms can be vectorized (regular algorithm structure and fine-grain parallelism must be used); (2) most CPUs have data alignment restrictions for load/store operations (obey or risk incorrect code); (3) special directives are often needed to enable vectorization; and (4) vector instructions are architecture-specific. Vectorization is the best way to optimize for power and performance due to reduced clock cycles. When data is organized properly, a vector load instruction (i.e. movaps) can replace 'normal' load instructions (i.e. movsd). Vector operations can potentially have a smaller footprint in the instruction cache when fewer instructions need to be executed. Hybrid index sets insulate users from architecture specific details. We have applied hybrid index sets to achieve optimal vectorization. We can extend this concept to handle other programming models.

97 MATHEMATICS AND COMPUTING↗

A Study of the Probability of Clear Line of Sight through Single-Layer Cumulus Cloud Fields in the Tropical Western Pacific

The plane-parallel horizontal (PPH) hypothesis used to approximate clouds in GCMs neglects three-dimensional cloud effects. Such effects can amount to as much as 20 W m−2 in longwave radiation. Several investigators have proposed accounting for longwave three-dimensional cloud effects by using information on the probability of clear line of sight (PCLoS) to modify the PPH approximation. This study investigates the PCLoS at the Atmosphere Radiation Measurement (ARM) Program’s Tropical Western Pacific (TWP) site. PCLoS is estimated for single-layer tropical marine cumulus cases for 2-h intervals using the Whole Sky Imager (WSI) observations at the Manus and Nauru sites. PCLoS estimates are compared to calculations from a set of simple PCLoS models using measured cloud field statistics as input. A summary of the PCLoS at the TWP site is presented in addition to a statistical summary of retrieved cloud field characteristics. The results are used to investigate the spatial variability of the PCLoS and to test the usefulness of the parameterization of effective cloud fraction.

58 GEOSCIENCES↗

Detection of faults and software reliability analysis

Multi-version or N-version programming is proposed as a method of providing fault tolerance in software. The approach requires the separate, independent preparation of multiple versions of a piece of software for some application. These versions are executed in parallel in the application environment; each receives identical inputs and each produces its version of the required outputs. The outputs are collected by a voter and, in principle, they should all be the same. In practice there may be some disagreement. If this occurs, the results of the majority are taken to be the correct output, and that is the output used by the system. A total of 27 programs were produced. Each of these programs was then subjected to one million randomly-generated test cases. The experiment yielded a number of programs containing faults that are useful for general studies of software reliability as well as studies of N-version programming. Fault tolerance through data diversity and analytic models of comparison testing are discussed.

Knight, John C.↗

Stress modeling of microdiaphragm pressure sensors

A finite element program analysis was used to model the stress distribution of two monocrystalline silicon diaphragm pressure sensors. One configuration consists of an anisotropically backside etched diaphragm into a 250 micron thick, (100) oriented, silicon wafer. The diaphragm and total chip dimensions are given. The device is rigidly clamped on the back to a support substrate. Another configuration consists of a monocrystalline, (100), microdiaphragm which is formed on top of the wafer and whose area is reduced by a factor of 25 over the first configuration. The diaphragm is rigidly clamped to the silicon wafer. The stresses were calculated at a gauge pressure of 300 mm Hg and used to estimate the piezoresistive responses of resistor elements which were placed parallel and perpendicular near the diaphragm edges.

Tack, P. C.↗

Impact Testing of Inconel 718 for Material Impact Model Development

One of the difficulties with developing and verifying accurate impact models is that parameters such as high strain-rate material properties, failure modes, static properties, and impact test measurements are often obtained from a variety of different sources using different materials, with little control over consistency among the different sources. In addition, there is often a lack of quantitative measurements in impact tests to which the models can be compared. To alleviate some of these problems, a project is underway to develop a consistent set of material property, impact test data, and failure analysis for a variety of aircraft materials that can be used to develop improved impact failure and deformation models. This project is jointly funded by the NASA Glenn Research Center and the Federal Aviation Administration (FAA) William J. Hughes Technical Center. Unique features of this set of data are that all material property and impact test data are obtained using traceable material, the test methods and procedures are extensively documented, and all of the raw data is available. Four parallel efforts are currently underway. The Ohio State University conducts both measurement of material deformation and failure response over a wide range of strain rates and temperatures and failure analysis of material property specimens and impact test articles. The George Mason University conducts the development of improved numerical modeling techniques for deformation and failure. Glenn conducts the impact testing of flat panels and substructures. This report describes impact testing performed on Inconel 718 sheet and plate samples of different thicknesses with different types of projectiles, one a regular cylinder and one with a more complex geometry incorporating features representative of a jet engine fan blade. Data from this testing will be used in validating material models developed under this program. The material tests and the material models developed in this program will be published in separate reports.

J Michael Pereira↗

Towards an Error Model for OpenMP

OpenMP lacks essential features for developing mission-critical software. In particular, it has no support for detecting and handling errors or even a concept of them. In this paper, the OpenMP Error Model Subcommittee reports on solutions under consideration for this major omission. We identify issues with the current OpenMP specification and propose a path to extend OpenMP with error-handling capabilities. We add a construct that cleanly shuts down parallel regions as a first step. We then discuss two orthogonal proposals that extend OpenMP with features to handle system-level and user-defined errors.

97 MATHEMATICS AND COMPUTING↗

Dakota, a multilevel parallel object-oriented framework for design optimization, parameter estimation, uncertainty quantification, and sensitivity analysis version 6.0 theory manual

The Dakota (Design Analysis Kit for Optimization and Terascale Applications) toolkit provides a exible and extensible interface between simulation codes and iterative analysis methods. Dakota contains algorithms for optimization with gradient and nongradient-based methods; uncertainty quanti cation with sampling, reliability, and stochastic expansion methods; parameter estimation with nonlinear least squares methods; and sensitivity/variance analysis with design of experiments and parameter study methods. These capabilities may be used on their own or as components within advanced strategies such as surrogate-based optimization, mixed integer nonlinear programming, or optimization under uncertainty. By employing object-oriented design to implement abstractions of the key components required for iterative systems analyses, the Dakota toolkit provides a exible and extensible problem-solving environment for design and performance analysis of computational models on high performance computers. This report serves as a theoretical manual for selected algorithms implemented within the Dakota software. It is not intended as a comprehensive theoretical treatment, since a number of existing texts cover general optimization theory, statistical analysis, and other introductory topics. Rather, this manual is intended to summarize a set of Dakota-related research publications in the areas of surrogate-based optimization, uncertainty quanti cation, and optimization under uncertainty that provide the foundation for many of Dakota's iterative analysis capabilities.

97 MATHEMATICS AND COMPUTING↗

SIPMaP: A Tool for Modeling Irregular Parallel Computations in the Super Instruction Architecture

Performance modeling is becoming an increasingly important part of the parallel application development process, particularly for expensive computations that will be run on very high-end systems where resources are scarce. We describe a performance modeling tool SIPMaP (Super Instruction Processor Modeling and Prediction) developed for the Super-Instruction Architecture (SIA). The SIA is designed for applications where the dominant data structures are large multi-dimensional arrays and it comprises a DSL, the Super-Instruction Assembly Language (SIAL) that supports expressing algorithms in terms of blocks (tiles), and its runtime system Super Instruction Processor (SIP) that manages distribution and disk storage of the arrays. SIPMaP generates performance models from the SIAL source code. In comparison with many applications where useful performance models have been developed and reported, these programs are irregular and have other difficult to model characteristics such as extensive overlapping of communication and computation.

Computer Science↗

Management of the interplay effect when using dynamic MLC sequences to treat moving targets

Interplay between organ motion and leaf motion has been shown to generally have a small dosimetric impact for most clinical intensity-modulated radiation therapy treatments. However, it has also been shown that for some MLC sequences there can be large daily variations in the delivered dose, depending on details of patient motion or the number of fractions. This study investigates guidelines for dynamic MLC sequences that will keep daily dose variations due to the interplay between organ motion and leaf motion within 10%. Dose distributions for a range of MLC separations (0.2-5.0 cm) and displacements between adjacent MLCs (0-1.5 cm) were exported from ECLIPSE to purpose-written software, which simulated the dose distribution delivered to a moving target. Target motion parallel and perpendicular to the MLC motion was investigated for a range of amplitudes (0.5-4.0 cm), periods (1.5-10 s), and MLC speeds (0.1-3.0 cm/s) with target motions modeled as sin{sup 6}. Results were confirmed experimentally by measuring the dose delivered to an ion chamber array in a moving phantom for different MLC sequences. The simulation results were used to identify MLC sequences that kept dose variations within 10% compared to the dose delivered with no motion. The maximum allowable MLC speed, when target motion is parallel to the MLC motion, was found to be a simple function of target period and MLC separation. When the target motion is perpendicular to MLC motion, the maximum allowable MLC speed can be described as a function of MLC separation and the displacement of adjacent MLCs. These guidelines were successfully applied to two-dimensional motion, and a simple program was written to import MLC sequence files and evaluate whether the maximum daily dose discrepancy caused by the interplay effect will be larger than 10%. This software was experimentally evaluated, and found to conservatively predict whether a given MLC sequence could give large daily dose discrepancies.

62 RADIOLOGY AND NUCLEAR MEDICINE↗

OECD MCCI Project: Category 2 Coolability Engineering Enhancement Tests (Rev. 1, Final Report)

Ex-vessel debris coolability is an important light water reactor (LWR) safety issue. For existing plants, resolution of this issue will confirm the technical basis for severe accident management guidelines (SAMGs). For new reactors, understanding this issue will help confirm the effectiveness of the design and implementation of new accident mitigation features and severe accident management design alternatives (SAMDAs). The first OECD-MCCI program conducted reactor material experiments focused on achieving the following technical objectives: i) provide confirmatory evidence and data for various cooling mechanisms through separate effect tests for severe accident model development, and ii) provide long-term 2-D coreconcrete interaction data for code assessment and improvement. Specifications for the Water-Cooled Basemat (WCB-1) integral effect test are provided. The objective was to provide prototypic data on the transient evolution and stabilization of a core melt in a generic water-cooled core catcher design for advanced plant applications. The experiment approach was to incorporate a water-cooled basemat into the coreconcrete interaction test apparatus used for the CCI tests. The basemat was composed of five parallel water channels that were instrumented to provide both local and global data on the heat transfer performance. The basemat was covered with a layer of sacrificial concrete that would be ablated by the overlying melt at the start of the experiment. Eventually, the melt would approach, and then be thermally stabilized at, the interface of the water-cooled basemat. Due to the longer timeframe associated with this type of test, it was necessary to Direct Electrically Heat (DEH) the melt to provide sufficient time for the melt to come to thermal equilibrium.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Living with a Star: New Opportunities in Sun-Climate Research

Living With a Star is a NASA initiative employing the combination of dedicated spacecraft with targeted research and modeling efforts to improve what we know of solar effects of all kinds on the Earth and its surrounding space environment, with particular emphasis on those that have significant practical impacts on life and society. The highest priority among these concerns is the subject of this report: the potential effects of solar variability on regional and global climate, including the extent to which solar variability has contributed to the well-documented warming of the Earth in the last 100 years. Understanding how the climate system reacts to external forcing from the Sun will also greatly improve our knowledge of how climate will respond to other climate drivers, including those of anthropogenic origin. A parallel element of the LWS program addresses solar effects on space weather : the impulsive emissions of charged particles, short-wave electromagnetic radiation and magnetic disturbances in the upper atmosphere and near-Earth environment that also affect life and society. These include a wide variety of solar impacts on aeronautics, astronautics, electric power transmission, and national defense. Specific examples are (1) the impacts of potentially- damaging high energy radiation and atomic particles of solar origin on satellites and satellite operations, spacecraft electronics systems and components, electronic communications, electric power distribution grids, navigational and GPS systems, and high altitude aircraft; and (2) the threat of sporadic, high-energy solar radiation to astronauts and high altitude aircraft passengers and crews. Elements of the LWS program include an array of dedicated spacecraft in near- Earth and near-Sun orbits that will closely study and observe both the Sun itself and the impacts of its variations on the Earth's radiation belts and magnetosphere, the upper atmosphere, and ionosphere. These spacecraft, positioned to study and monitor changing conditions in the Sun-Earth neighborhood, will also serve as sentinels of solar storms and impulsive events.

Source record↗

Data Locality Enhancement of Dynamic Simulations for Exascale Computing (Final Report)

The development of modern processors exhibits two trends that complicate the optimizations of modern software. The first is the increasing sensitivity of processors' throughput to irregularities in computation. With more processors produced through a massive integration of simple cores, future systems will increasingly favor regular data-level parallel computations, but deviate from the needs of applications with complex patterns. Some evidences are already shown on Graphic Processing Units (GPU): Irregular data accesses (e.g., indirect references A[D[i]]) and conditional branches are limiting many GPU applications' performance at a level an order of magnitude lower than the peak of GPU. The second hardware trend is the growing gap between memory bandwidth and the aggregate speed—that is, the sum of all cores' computing power—of a Chip Multiprocessor (CMP). Despite the capped growth of the peak CPU speed, the aggregate speed of a CMP keeps increasing as more cores get into a single chip. It is expected that by 2018, node concurrency in an exascale system will increase by hundreds of times, whereas, memory bandwidth will expand by only 10 to 20 times. Consequently, data movement and storage is expected to consume more than 70% of the total system power. Bridging this gap is difficult; the complexities of modern CMP memory hierarchy make it even harder: Data cache becomes shared among computing units, and the sharing is often non-uniform—whether two computing units share a cache depends on their proximity and the level of the cache. On the recent IBM Power7 architecture, for instance, four hardware contexts (or SMT threads) in a core share the entire memory hierarchy, all cores in one chip share an on-chip L3 cache, and cores across chips share L3 and main memory through off-chip connections. These two trends complicate the translation of computing power into performance, especially for a program with either intensive data accesses or complex patterns in data accesses or control flow paths. Unfortunately, both attributes present and will persist in a class of important applications. For instance, many scientific simulations deal with a large volume of data. And meanwhile, as most real-world processes are non-uniform and evolving (e.g., the evolution of a galaxy or the process of a drug injection), both the computations and data accesses of these programs tend to be irregular and dynamically changing. Currently, the lack of support to these applications on modern CMP severely limits their performance. On GPU, as our recent study shows and other studies echo, performance enhancement of a factor of integers is possible when memory accesses or control flows are streamlined for a set of GPU applications. On multicore CPU, our studies show that traditional locality enhancement, for being oblivious to the new features of multicore memory hierarchy, may even cause large slowdown to data-intensive dynamic applications. The severity of the issues is expected to worsen as the two hardware trends continue. Some recent studies try to match software with the trends, but in a limited scope or manner. For irregularities on GPU, most studies focus on irregularities analyzable through static analysis (e.g., data accesses in regular loops). Dynamic irregularities are harder to address because the needed analysis and transformations typically have to happen at run time. Some other research resorts to hardware extensions, an actual adoption of which is unclear for the entailed space cost and complexity. For data locality, recent years have seen some exploitations of the new memory hierarchy on multicore for performance, but most of them are on process or thread scheduling, rather than program transformations. Our recent study reveals that program-level transformations may magnify the scheduling benefits by a factor of seven, concluding that program-level transformation should play a central role for data locality enhancement on modern CMP. But research in this direction has been sparse, and most have focused on data layout or cache performance modeling, rather than program transformations to match with the new memory hierarchy features. Overall, it is still an open question how to bridge the gap between dynamic computations and the two prominent properties of modern processors. The goal of this project is to develop a set of techniques and software tools to enhance the matching between memory accesses in dynamic simulations and the prominent features of modern and future CMP, alleviating the memory performance issues for petascale and exascale computing. This report summarizes the discoveries and products produced throughout this project. It includes free launch, a new software approach to overcoming the shortcomings of both methods; coherence-free multiview, an approach that allows multiple views of a single data object to co-exist on GPU memory during a GPU kernel execution; algorithmic optimizations to data analytics problems, especially those that involve lots of distance calculations. Supporting dynamic parallelism is important for GPU to benefit a broad range of applications. There are currently two fundamental ways for programs to exploit dynamic parallelism on GPU: a software-based approach with software-managed worklists, and a hardware-based approach through dynamic subkernel launches. Neither is satisfactory. The former is complicated to program and is often subject to some load imbalance; the latter suffers large runtime overhead. In this work, we propose free launch, a new software approach to overcoming the shortcomings of both methods. It allows programmers to use subkernel launches to express dynamic parallelism. It employs a novel compiler-based code transformation named subkernel launch removal to replace the subkernel launches with the reuse of parent threads. Coupled with an adaptive task assignment mechanism, the transformation reassigns the tasks in the subkernels to the parent threads with a good load balance. The technique requires no hardware extensions, immediately deployable on existing GPUs. It keeps the programming convenience of the subkernel launch-based approach while avoiding its large runtime overhead. Meanwhile, its superior load balancing makes it outperform manual worklist-based techniques by 3X on average. The work was published at the 48th Annual IEEE/ACM International Symposium on Microarchitecture (Micro'2015). A Graphic Processing Unit (GPU) system is typically equipped with many types of memory (e.g., global, constant, texture, shared, cache). Data placement determines what data are placed on which type of memory, essential for GPU memory performance. Prior optimizations of data placement always require a single view of a data object on memory, which limits the optimization effectiveness. In this work, we propose coherence-free multiview, an approach that allows multiple views of a single data object to co-exist on GPU memory during a GPU kernel execution. We demonstrate that under certain conditions, the multiple views can remain incoherent while facilitating enhanced data placement. We present a theorem and some compiler support to ensure the soundness of the usage of coherence-free multiview. We further develop reference-discerning data placement, a new way to enhance data placements on GPU. It enables more flexible data placements by using coherence-free multiview to leverage the slack in coherence requirement of some GPU programs. Experiments on three types of GPU systems show that, with less than 200KB space cost, the new data placement technique can provide a 1.6X average (up to 4.27X) speedup. In addition, we have examined algorithmic optimizations to data analytics problems, especially those that involve lots of distance calculations. Computing distances among data points is an essential part of many important algorithms in data analytics, graph analysis, and other domains. In each of these domains, developers have spent significant manual effort optimizing algorithms, often through novel applications of the triangle equality, in order to minimize the number of distance computations in the algorithms. In this work, we observe that many algorithms across these domains can be generalized as an instance of a generic distance-related abstraction. Based on this abstraction, we derive seven principles for correctly applying the triangular inequality to optimize distance-related algorithms. Guided by the findings, we develop Triangular OPtimizer (TOP), the first software framework that is able to automatically produce optimized algorithms that either matches or outperforms manually designed algorithms for solving distance-related problems. TOP achieves up to 237x speedups and 2.5X on average. The work has been published at the 32nd International Conference on Machine Learning (ICML'15) and the 41st International Conference on Very Large Data Bases (VLDB'15).

42 ENGINEERING↗

Scalar perturbations on Lemaitre-Tolman-Bondi spacetimes

In recent years there has been growing interest in verifying the horizon-scale homogeneity of the Universe that follows from applying the Copernican principle to the observed isotropy. This program has been stimulated by the discovery that a very large void, centered near us, can explain supernova luminosity distance measurements without dark energy. It is crucial to confront such models with as wide a variety of data as possible. With this application in mind, we develop the relativistic theory of linear scalar perturbations on spherically symmetric dust (Lemaitre-Tolman-Bondi) spacetimes, using the covariant 1+1+2 formalism. We show that the evolution of perturbations is determined by a small set of new linear transfer functions. If decaying modes are ignored (to be consistent with the standard inflationary paradigm), the standard techniques of perturbation theory on homogeneous backgrounds, such as harmonic expansion, can be applied, and results closely paralleling those of familiar cosmological perturbation theory can be obtained.

79 ASTRONOMY AND ASTROPHYSICS↗