Search NASA⌕ Search

SEARCH · Search NASA

Results for “concurrency programming”

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 109 records · Page 6

Exploring the use of novel programming models in land surface models

A wide range of programming models are currently under rapid development to meet the needs of application developers looking to work on more complex machines. These models fill a variety of roles. Some look to abstract supercomputer architecture, including both processors and memory, to present a strategy for portable performance across a wide range of machines. Others look to expose concurrency by explicitly constructing task-driven dependency graphs that allow a scheduler to find parallelism. Here we explore the implications for application codes of adopting two such programming models, Kokkos and Legion, one from each class of models. We specifically focus on the software design implications on refactoring existing applications, rather than the performance and performance tuning of these models. We identify a strategy for refactoring the Energy Exascale Earth System Model's Land Surface Model, an extremely complex code for climate applications, and prototype a series of mini-apps that explore the adoption of Kokkos and Legion. In doing this, we identify commonalities across the models, leading to a series of conclusions about application software design and refactoring for the adoption of novel programming models.

Coon, Ethan↗

Towards Exascale: High Performance Visualization and Analytics – Project Status Report

The LBNL Visualization research program focuses on a key set of problems facing our community as we move towards the exascale regime of computing. First, we aim to better understand how to effectively take advantage of an evolving architectural landscape where there are an increasing number of cores per processor by examining algorithmic reformulation and alternative methods of programming these increasingly complex platforms. Second, as the gap widens between computational and I/O capacity, it is increasingly imperative to perform more visual data exploration and analysis operations concurrent with the simulation to avoid increasingly expensive I/O. Our approach is to examine several interrelated issues aimed at minimizing the memory footprint, data movement, and design/implementation issues related to deploying tools that can have broad applicability across many different simulation codes and science domains. Third, increasing computational power produces larger and more complex scientific data, and our research program focuses on new technologies aimed at enabling scientific data understanding with ever-larger data. Here, we explore how multi-resolution data representation techniques can reduce data movement, and study novel approaches that focus visualization and analysis processing on subsets of data that are “scientifically interesting,” thereby also minimizing data movement while accelerating scientific knowledge discovery.

97 MATHEMATICS AND COMPUTING↗

Powering Post-COVID-19 Resilient Recovery with Green Stimulus

As the coronavirus disease (COVID-19) pandemic spread globally in early 2020, many governments enacted lockdown measures as an initial containment response. These lockdowns, while effective in slowing infection rates, have also had substantial economic consequences. A series of supply and demand shocks, workforce and supply chain disruptions, and other impacts of the pandemic and ensuing lockdowns have upended the livelihoods for much of the world's population. This quick read spotlights how green stimulus plans and other recovery measures can support near-term recovery and enable longer-term power system resilience against future threats. The term “green stimulus” encompasses fiscal measures (i.e., governmental tax and spending actions) that support short-term economic activity that enhances environmental and natural resource quality over a longer term. The deployment of energy efficiency (EE) and renewable energy (RE) technologies, as well as associated initiatives (e.g., grid modernization, electrification of transport, and so on) have been demonstrably effective in providing this kind of short-run economic boost while simultaneously strengthening the resilience of the power sector. Along with green stimulus packages, concurrent action on the regulatory side—for example, the development of green building codes, updating grid interconnection standards, creating programs and marketplaces for demand-side efficiency, and others—can be a force multiplier in ensuring that public spending achieves maximum impact in near-term recovery and long-term power sector transformation

29 ENERGY PLANNING, POLICY, AND ECONOMY↗

Meld: Exploring the Feasibility of a Framework-less Framework

HEP data-processing frameworks are essential ingredients in getting from raw data to physics results. But they are often tricky to use well, and they present a significant learning barrier for the beginning HEP physicist. In addition, existing frameworks typically support rigid, collider-based data models, which do not map well to neutrino-physics experiments like DUNE. Neutrino physicists thus expend significant effort working around framework limitations instead of using a framework that directly supports their needs. Presented here is Meld, a Fermilab R&D project, which intends to address these limitations. By leveraging modern C++ capabilities, state-of-the-art concurrency libraries, and a flexible data model, it is possible for beginning (and seasoned) HEP physicists to execute framework programs easily and efficiently, with minimal coupling to framework-specific constructs. Meld aims to directly support the frameworks needs of neutrino experiments like DUNE as well as the more common collider-based experiments.

Knoepfel, Kyle J.↗

Kokkos Programming Model and Library

High performance computing is in the midst of a many-core revolution driven by rapidly evolving microchips with diverse and heterogeneous architectures, increasing concurrency (thread count), and decreasing memory per thread. Our HPC applications face a major challenge to effectively use these microchips with a single code base that is performance portable across these evolving architectures. Kokkos was developed to enable on-chip concurrency and manage architecture-dependent constraints on memory access patterns. The goal is to maximize the amount of application code that is portable across diverse architectures and still obtain the same (or nearly) performance as a variant of that code written specifically for that architecture. The Kokkos team has ongoing R&D co-design collaborations with Sandia's and vendors' microchip and system engineers to rapidly incorporate evolving computer architecture features into Kokkos. The team is also providing leadership for DOE laboratories' participation on the ISO/C++ language standard committee to subsuming Kokkos features into a future standard.

97 MATHEMATICS AND COMPUTING↗

Using redundant transactions to verify the correctness of program code execution

In the described embodiments, a processor core (e.g., a GPU core) receives a section of program code to be executed in a transaction from another entity in a computing device. The processor core sends the section of program code to one or more compute units in the processor core to be executed in a first transaction and concurrently executed in a second transaction, thereby creating a “redundant transaction pair.” When the first transaction and the second transaction are completed, the processor core compares a read-set of the first transaction to a read-set of the second transaction and compares a write-set of the first transaction to a write-set of the second transaction. When the read-sets and the write-sets match and no transactional error condition has occurred, the processor core allows results from the first transaction to be committed to an architectural state of the computing device.

Gurumurthi, Sudhanva↗

Performance Portability Evaluation of OpenCL Benchmarks across Intel and NVIDIA Platforms

We evaluate the capabilities of vendor-provided OpenCL implementations for performance portability across multiple computing platforms. The Rodinia benchmark suite is used for this evaluation. We apply the metric defined by Pennycook et al., and we use roofline efficiency from the Roofline performance model as the "performance efficiency" in the metric's definition. We found that the delivered performance portability is similar for several benchmarks, even if the roofline-based performance efficiencies across platforms are very different among the benchmarks. To help distinguish between these instances, we extend the metric by adding the standard deviation of the performance efficiencies for each benchmark. We argue that the standard deviation gives additional insight into performance portability assessment since it adds the performance variability across platforms. Additionally, we discuss the challenges to measure performance portability associated with algorithms and system software. In terms of algorithms, we need to carefully construct the benchmarks and appropriately use the concurrency available on a platform. In terms of system software, we depend on the vendor performance tools to support the desired programming model and runtime to be able to measure the metrics of interest.

GPU↗

Preventing Run-Time Bugs at Compile-Time Using Advanced C++

When writing software, we develop algorithms that tell the computer what to do at run-time. Our solutions are easier to understand and debug when they are properly modeled using class hierarchies, enumerations, and a well-factored API. Unfortunately, even with these design tools, we end up having to debug our programs at run-time. Worse still, debugging an embedded system changes its dynamics, making it tough to find and fix concurrency issues. This paper describes techniques using C++ to detect run-time bugs *at compile time*. A concurrency library, developed at Fermilab, is used for examples in illustrating these techniques.

43 PARTICLE ACCELERATORS↗

Row fault detection system

An apparatus, program product and method check for nodal faults in a row of nodes by causing each node in the row to concurrently communicate with its adjacent neighbor nodes in the row. The communications are analyzed to determine a presence of a faulty node or connection.

97 MATHEMATICS AND COMPUTING↗

SU-E-T-275: Radiobiological Evaluation of Intensity Modulated Radiotherapy Treatment for Locally Advanced Head and Neck Squamous Cell Carcinomas

Purpose: To evaluate the radiobiological outcome of Intensity Modulated Radiotherapy Treatment (IMRT) for locally advanced head and neck squamous cell carcinomas using HART (Histogram Analysis in Radiation Therapy; J Appl Clin Med Phys 11(1): 137–157, 2010) program and compare with the clinical outcomes. Methods: We have treated 20 patients of stage III and IV HNSCC Oropharynx and hypopharynx with accelerated IMRT technique and concurrent chemotherapy. Delineation of tumor and normal tissues were done using Danish Head and Neck Cancer Group (DAHANCA) contouring guidelines and radiotherapy was delivered to a dose of 70Gy in 35 fractions to the primary and involved lymph nodes, 63Gy to intermediate risk areas and 56 Gy to lower risk areas, Monday to Saturday, 6 Days/week using 6 MV Photons with an expected overall treatment time of 6 weeks. The TCP and NTCP's were calculated from the dose-volume histogram (DVH) statistics using the Poisson Statistics (PS) and JT Lyman models respectively and the Resultwas correlated with clinical outcomes of the patients with mean follow up of 24 months. Results: Using HART program, the TCP (0.89± 0.01) of primary tumor and the NTCP for parotids (0.20±0.12), spinal cord (0.05±0.01), esophagus (0.30±0.2), mandible (0.35±0.21), Oral cavity (0.37±0.18), Larynx (0.30±0.15) were estimated and correlated with clinical outcome of the patients. Conclusion: Accelerated IMRT with Chemotherapy is a clinical feasible option in the treatment of locally advanced HNSCC with encouraging initial tumour response and acceptable acute toxicities. The correlation between the clinical outcomes and radiobiological model estimated parameters using HART programs are found to be satisfactory.

60 APPLIED LIFE SCIENCES↗

Multiscale Universal Interface: A concurrent framework for coupling heterogeneous solvers

Graphical abstract: - Abstract: Concurrently coupled numerical simulations using heterogeneous solvers are powerful tools for modeling multiscale phenomena. However, major modifications to existing codes are often required to enable such simulations, posing significant difficulties in practice. In this paper we present a C++ library, i.e. the Multiscale Universal Interface (MUI), which is capable of facilitating the coupling effort for a wide range of multiscale simulations. The library adopts a header-only form with minimal external dependency and hence can be easily dropped into existing codes. A data sampler concept is introduced, combined with a hybrid dynamic/static typing mechanism, to create an easily customizable framework for solver-independent data interpretation. The library integrates MPI MPMD support and an asynchronous communication protocol to handle inter-solver information exchange irrespective of the solvers' own MPI awareness. Template metaprogramming is heavily employed to simultaneously improve runtime performance and code flexibility. We validated the library by solving three different multiscale problems, which also serve to demonstrate the flexibility of the framework in handling heterogeneous models and solvers. In the first example, a Couette flow was simulated using two concurrently coupled Smoothed Particle Hydrodynamics (SPH) simulations of different spatial resolutions. In the second example, we coupled the deterministic SPH method with the stochastic Dissipative Particle Dynamics (DPD) method to study the effect of surface grafting on the hydrodynamics properties on the surface. In the third example, we consider conjugate heat transfer between a solid domain and a fluid domain by coupling the particle-based energy-conserving DPD (eDPD) method with the Finite Element Method (FEM)

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Development of MQXF: The Nb 3 Sn low-β quadrupole for the HiLumi LHC

The High Luminosity (HiLumi) Large Hadron Collider (LHC) project has, as the main objective, to increase the LHC peak luminosity by a factor five and the integrated luminosity by a factor ten. This goal will be achieved mainly with a new interaction region layout, which will allow a stronger focusing of the colliding beams. The target will be to reduce the beam size in the interaction points by a factor of two, which requires doubling the aperture of the low-β (or inner triplet) quadrupole magnets. The use of Nb3Sn superconducting material and, as a result, the possibility of operating at magnetic field levels in the windings higher than 11 T will limit the increase in length of these quadrupoles, called MQXF, to acceptable levels. After the initial design phase, where the key parameters were chosen and the magnet's conceptual design finalized, the MQXF project, a joint effort between the U.S. LHC Accelerator Research Program and the Conseil Europeen pour la Recherche Nucleaire (CERN), has now entered the construction and test phase of the short models. Concurrently, the preparation for the development of the full-length prototypes has been initiated. Lastly, this paper will provide an overview of the project status, describing and reporting on the performance of the superconducting material, the lessons learnt during the fabrication of superconducting coils and support structure, and the fine tuning of the magnet design in view of the start of the prototyping phase.

43 PARTICLE ACCELERATORS↗

BTMS Testing Section

Cell testing is an important part of understanding the performance and life capabilities of state-of-the art energy storage technologies, particularly with respect to the distinct technical and functional requirements posed by the BTMS program. In order to test energy storage components and systems against these requirements, test procedures must be created. System usage scenarios are concurrently being developed with testing of baseline cells intended to illustrate their capabilities relative to a broad set of initial system assumptions. The results from these early performance tests and aging procedures, though only loosely framed by a baseline 1 MWh BTMS system supporting six 350kW DCFC units, will produce both slow and accelerated cycle-life aging information through a mix of empirical observations and modeling.

25 ENERGY STORAGE↗

Concurrent Conditions Access across Validity Intervals in CMSSW

The CMS software system, known as CMSSW, has a generalized conditions, calibration, and geometry data products system called the EventSetup. The EventSetup caches results of reading or calculating data products based on the 'interval of validity', IOV, which is based on the time period for which that data product is appropriate. With the original single threaded CMSSW framework, updating only on an IOV boundary meant we only required memory for a single data product of a given type at any time during the program execution. In 2016 CMS transitioned to using a multithreaded framework as a way to save on memory during processing. This was accomplished by amortizing the memory cost of EventSetup data products across multiple concurrent events. To initially accomplish that goal required synchronizing event processing across IOV boundaries, thereby decreasing the scalability of the system. In this presentation we will explain how we used 'limited concurrent task queues' to allow co ncurrent IOVs while still being able to limit the memory utilized. In addition, we will present performance measurements for both threading scalability of event throughtput and memory utilization.

Dagenhart, W.David↗

Expanding Accessibility of Energy Modeling in Hawaii

Engage is a free, publicly available web application for energy system modeling. It can augment the energy system planning process by empowering more stakeholders to understand energy system planning options. Engage is user-friendly, free accessible, collaborative, and communicative. The Hawaii Advanced Visualization Environment Nexus (HAVEN) is an outputs-based application for rendering high-impact communicative visualizations of complex data. Engage and HAVEN were developed in collaboration with the U.S. Department of Energy's National Renewable Energy Laboratory and the Hawaii State Energy Office. This use case provides an overview of Hawaii's use of Engage and HAVEN concurrently in working to meet the state's energy goals.

48 EE - Weatherization and Intergovernmental Progr↗

Concurrent conditions access across validity intervals in CMSSW

The CMS software system, known as CMSSW, has a generalized conditions, calibration, and geometry data products system called the EventSetup. The EventSetup caches results of reading or calculating data products based on the 'interval of validity', IOV, which is based on the time period for which that data product is appropriate. With the original single threaded CMSSW framework, updating only on an IOV boundary meant we only required memory for a single data product of a given type at any time during the program execution. In 2016 CMS transitioned to using a multi-threaded framework as away to save on memory during processing. This was accomplished by amortizing the memory cost of EventSetup data products across multiple concurrent events. To initially accomplish that goal required synchronizing event processing across IOV boundaries, thereby decreasing the scalability of the system. In this presentation we will explain how we used 'limited concurrent task queues' to allow concurrent IOVs while still being able to limit the memory utilized.

Dagenhart, David↗

Performance of Julia for High Energy Physics Analyses

We argue that the Julia programming language is a compelling alternative to currently more common implementations in Python and C++ for common data analysis workflows in high energy physics. We compare the speed of implementations of different workflows in Julia with those in Python and C++. Furthermore, our studies show that the Julia implementations are competitive for tasks that are dominated by computational load rather than data access. For work that is dominated by data access, we demonstrate an application with concurrent file reading and parallel data processing.

97 MATHEMATICS AND COMPUTING↗

Re-Programing Glucose Catabolism in the Microalga Chlorella sorokiniana under Light Condition

The microalga Chlorella sorokiniana has attracted much attention for lipid production and wastewater treatment. It can perform photosynthesis and organic carbon utilization concurrently. To understand its phototrophic metabolism, a biomass compositional analysis, a 13 C metabolic flux analysis, and metabolite pool size analyses were performed. Under dark condition, the oxidative pentose phosphate pathway (OPP) was the major route for glucose catabolism (88% carbon flux) and a cyclic OPP–glycolytic route for glucose catabolism was formed. Under light condition, fluxes in the glucose catabolism, tricarboxylic acid (TCA) cycle, and anaplerotic reaction (CO 2 fixation via phosphoenolpyruvate carboxylase) were all suppressed. Meanwhile, the RuBisCO reaction became active and the ratio of its carbon fixation to glucose carbon utilization was determined as 7:100. Moreover, light condition significantly reduced the pool sizes of sugar phosphate metabolites (such as E4P, F6P, and S7P) and promoted biomass synthesis (which reached 0.155 h –1 ). In addition, light condition increased glucose consumption rates, leading to higher ATP and NADPH production and a higher protein content (43% vs. 30%) in the biomass during the exponential growth phase.

13C-MFA↗