Search NASA⌕ Search

SEARCH · Search NASA

Results for “Compiler frameworks”

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

Detection of counterfeit and compromised devices using system and function call tracing techniques

Frameworks, methods, and systems for securing a smart grid are provided. A framework can include data collection, call tracing techniques, and preparing call lists to detect counterfeit or compromised devices. The call tracing techniques can include call tracing and compiling all system and function calls over a time interval. The framework can further include data processing, in which a genuine device is identified and compared to unknown devices. A first statistical correlation can be used for resource-rich systems, and a second statistical correlation can be used for resource-limited systems. Threats of information leakage, measurement poisoning and store-and-send-later can be considered.

Babun, Leonardo↗

Ciel

Compiler optimizations can alter the numerical results of scientific computing applications. When numerical results differ significantly between compilers, optimization levels, and floating-point hardware, these numerical inconsistencies can impact programming productivity. Ciel is a framework that helps programmers identify locations in the source code that are affected by compiler optimizations in CPU and GPU code. Ciel uses a floating-point precision enhancement strategy, guided by a recursive bisection search algorithm with increasing search granularity, to identify the program expressions that induce numerical inconsistencies due to compiler optimizations.

Miao, Wenjun↗

Architecture Independent Integrated Early Performance and Energy Estimation

The end of Dennard’s scaling, coupled to the necessity to keep increasing computational performance in constrained power envelopes, is leading developers towards the need to opti- mize applications not only for performance, but also for energy consumption. In such a scenario, solutions that enable estimating performance and energy consumption of a program as early as possible, even during development and without the necessity to access the final target hardware, can become fundamental tools to reduce the design space, the optimization effort, and provide potential opportunities to automate the optimization process itself. In this position paper, we discuss the design of a performance and energy estimation framework based on a retargetable com- piler. Our proposed approach targets the Intermediate Repre- sentation (IR) of the LLVM compiler. The IR based approach enables, after a model is built, estimation from a host different from the target architecture, even considering dynamic infor- mation. We present the rationale behind such a framework, identify opportunities and components readily available (such as the provided static analysis, quick ways to add instrumentation for dynamic profiling, and the multiple backends), and aspects that still need further research efforts (such as more effective non-linear, or machine learning based models). We also discuss a hand-developed case study, based on a simple sparse matrix vector multiplication with a linear model, to motivate the needs for such a framework.

Estimation, Compilers, Performance Analysis↗

Data driven investigation to understand the influence of total solids on biological biogas upgrading

In situ biogas upgrading achieves CO 2 conversion to CH 4 via hydrogenotrophic methanogenesis; however, gas-liquid mass transfer constraints limit the upgrading performance. Recognizing that optimization studies often underrepresent the effects of total solids (TS) and organic loading rate (OLR), this study undertook a holistic, statistics driven assessment of operating conditions for in situ H 2 assisted biogas upgrading, centering the analysis on TS and OLR. A dataset of 31 studies was compiled and comprised 99 observations. A rigorous analytical framework was employed, combining data standardization, fixed- and random-effects (REML) weighted regressions with cluster-robust errors, stratified analyses, and machine learning. Mixed-effects meta regression indicated that TS was the main factor explaining differences of methane fraction (CH 4 %) when considering the between studies heterogeneity. Focusing on a near-stoichiometric subset (H 2 /CO 2 ≈ 4:1), TS remained significant. Stratified results showed a stronger negative relationship between TS and CH 4 % in UASB reactors than in CSTRs, with a negative effect under mesophilic conditions and no significant effect under thermophilic conditions. A Random Forest model corroborated the statistical findings, consistently ranking H 2 /CO 2 ratio, OLR, TS, and hydrogen injection rate (HIR) as the most influential predictors. These findings delineate trends across increasing TS levels, particularly between 1% and 10%, and provide preliminary insights for TS above 15% in in situ biogas upgrading. They further provide insights for the influence of TS by reactor type and temperature, thereby advancing the evidence base for implementing biological CO 2 conversion to CH 4 in practice.

In situ biogas upgrading↗

Scaling Semantic Graph Databases in Size and Performance

In this paper we present SGEM, a full software system for accelerating large-scale semantic graph databases on commodity clusters. Unlike current approaches, SGEM addresses semantic graph databases by only employing graph methods at all the levels of the stack. On one hand, this allows exploiting the space efficiency of graph data structures and the inherent parallelism of graph algorithms. These features adapt well to the increasing system memory and core counts of modern commodity clusters. On the other hand, however, these systems are optimized for regular computation and batched data transfers, while graph methods usually are irregular and generate fine-grained data accesses with poor spatial and temporal locality. Our framework comprises a SPARQL to data parallel C compiler, a library of parallel graph methods and a custom, multithreaded runtime system. We introduce our stack, motivate its advantages with respect to other solutions and show how we solved the challenges posed by irregular behaviors. We present the result of our software stack on the Berlin SPARQL benchmarks with datasets up to 10 billion triples (a triple corresponds to a graph edge), demonstrating scaling in dataset size and in performance as more nodes are added to the cluster.

Aggregation↗

VERA version 0.3 user manual and documentation

VERA is a visualization tool for analyzing compiled executables. It is built on an OpenGL framework with the wxWidgets package. The current version is only for use with the Windows XP and higher operating system. This manual will detail the steps that are needed to run and analyze a sample of malware. VERA is meant to be used in conjunction with the Ether hypervisor framework. Ether is a set of patches made to the Xen hypervisor that allows for covert analysis of running processes. It makes an ideal environment to monitor and trace running programs. More information is available from the Ether website.

97 MATHEMATICS AND COMPUTING↗

pLiner

Compiler optimizations can alter significantly the numerical results of scientific computing applications. When numerical results differ significantly between compilers, optimization levels, and floating-point hardware, these numerical inconsistencies can impact programming productivity. pLiner is a framework that helps programmers identify locations in the source code that are highly affected by compiler optimizations. pLiner uses a novel approach to identify such code locations by enhancing the floatingpoint precision of variables and expressions. Using a guided search to locate the most significant code regions, pLiner can report to users such locations at different granularities, file, function, and line of code.

Laguna Peralta, Ignacio↗

SNL Lesson Learned and Guidance for Data Repositories and Analytic Frameworks

This document represents the results of deliverable D05.02 (Identify relevant efforts at SNL and other institutions) under the activity area Relevant Efforts Review. The goal of the Relevant Efforts Review activity is to identify relevant data integration efforts at SNL and possibly other institutions and compile lessons learned that are relevant to the development of a framework for data integration efforts in support of analysts and decision makers. The intent of this activity is to provide, by examples, context of how the requirements-gathering process has already been implemented in other instances and to guide the development of such a process for OCIA's needs. Information for this report was gathered through SNL staff interviews and the team members' knowledge and project experiences.

97 MATHEMATICS AND COMPUTING↗

Iodine Immobilization by Materials through Sorption and Redox-Driven Processes: A Literature Review

Radioiodine-129 (129I) in the subsurface is mobile and limited information is available on treatment technologies. Scientific literature was reviewed to compile information on materials that could potentially be used to immobilize 129I through sorption and redox-driven processes, with an emphasis on ex-situ processes. Candidate materials to immobilize 129I include iron minerals, sulfur-based materials, silver-based materials, bismuth-based materials, ion exchange resins, activated carbon, modified clays, and tailored materials (metal organic frameworks (MOFS), layered double hydroxides (LDHs) and aerogels). Where available, compiled information includes material performance in terms of (i) capacity for 129I uptake; (ii) long-term performance (i.e., solubility of a precipitated phase); (iii) technology maturity; (iv) cost; (v) available quantity; (vi) environmental impact; (vii) ability to emplace the technology for in situ use at the field-scale; and (viii) ex situ treatment (for media extracted from the subsurface or secondary waste streams). Because it can be difficult to compare materials due to differences in experimental conditions applied in the literature, Part II of this review describes results of laboratory studies for selected materials using a standardized batch loading test.

Moore, Robert C.↗

Resilience–runtime tradeoff relations for quantum algorithms

Abstract A leading approach to algorithm design aims to minimize the number of operations in an algorithm’s compilation. One intuitively expects that reducing the number of operations may decrease the chance of errors. This paradigm is particularly prevalent in quantum computing, where gates are hard to implement and noise rapidly decreases a quantum computer’s potential to outperform classical computers. Here, we find that minimizing the number of operations in a quantum algorithm can be counterproductive, leading to a noise sensitivity that induces errors when running the algorithm in non-ideal conditions. To show this, we develop a framework to characterize the resilience of an algorithm to perturbative noises (including coherent errors, dephasing, and depolarizing noise). Some compilations of an algorithm can be resilient against certain noise sources while being unstable against other noises. We condense these results into a tradeoff relation between an algorithm’s number of operations and its noise resilience. We also show how this framework can be leveraged to identify compilations of an algorithm that are better suited to withstand certain noises.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Framework for Extensible, Asynchronous Task Scheduling (FEATS) in Fortran

Most parallel scientific programs contain compiler directives (pragmas) such as those from OpenMP, explicit calls to runtime library procedures such as those implementing the Message Passing Interface (MPI), or compiler-specific language extensions such as those provided by CUDA. By contrast, the recent Fortran standards empower developers to express parallel algorithms without directly referencing lower-level parallel programming models. Fortran’s parallel features place the language within the Partitioned Global Address Space (PGAS) class of programming models. When writing programs that exploit data-parallelism, application developers often find it straightforward to develop custom parallel algorithms. Problems involving complex, heterogeneous, staged calculations, however, pose much greater challenges. Such applications require careful coordination of tasks in a manner that respects dependencies prescribed by a directed acyclic graph. When rolling one’s own solution proves difficult, extending a customizable framework becomes attractive. The paper presents the design, implementation, and use of the Framework for Extensible Asynchronous Task Scheduling (FEATS), which we believe to be the first task-scheduling tool written in modern Fortran. We describe the benefits and compromises associated with choosing Fortran as the implementation language, and we propose ways in which future Fortran standards can best support the use case in this paper.

Richardson, Brad↗

Substrate and environmental controls on microbial assimilation of soil organic carbon: a framework for Earth System Models

Microbial assimilation of soil organic carbon is one of the fundamental processes of global carbon cycling and it determines the magnitude of microbial biomass in soils. Mechanistic understanding of microbial assimilation of soil organic carbon and its controls is important for to improve Earth system models ability to simulate carbon-climate feedbacks. Although microbial assimilation of soil organic carbon is broadly considered to be an important parameter, it really comprises two separate physiological processes: one-time assimilation efficiency and time-dependent microbial maintenance energy. Representing of these two mechanisms is crucial to more accurately simulate carbon cycling in soils. In this study, a simple modeling framework was developed to evaluate the substrate and environmental controls on microbial assimilation of soil organic carbon using a new term: microbial annual active period (the length of microbes remaining active in one year). Substrate quality has a positive effect on microbial assimilation of soil organic carbon: higher substrate quality (lower C:N ratio) leads to higher ratio of microbial carbon to soil organic carbon and vice versa. Increases in microbial annual active period from zero stimulate microbial assimilation of soil organic carbon; however, when microbial annual active period is longer than an optimal threshold, increasing this period decreases microbial biomass. The simulated ratios of soil microbial biomass to soil organic carbon are reasonably consistent with a recently compiled global dataset at the biome-level. The modeling framework of microbial assimilation of soil organic carbon and its controls developed in this study offers an applicable ways to incorporate microbial contributions to the carbon cycling into Earth system models for simulating carbon-climate feedbacks and to explain global patterns of microbial biomass.

Xu, Xiaofeng↗

An Event Detection Framework for Virtual Observation System: Anomaly Identification for an ACME Land Simulation

Based on previous work on in-situ data transfer infrastructure and compiler-based software analysis, we have designed a virtual observation system for real time computer simulations. This paper presents an event detection framework for a virtual observation system. By using signal processing and detection approaches to the memory-based data streams, this framework can be reconfigured to capture high-frequency events and low-frequency events. These approaches used in the framework can dramatically reduce the data transfer needed for in-situ data analysis (between distributed computing nodes or between the CPU/GPU nodes). In the paper, we also use a terrestrial ecosystem system simulation within the Earth System Model to demonstrate the practical values of this effort.

Yao, Cindy↗

Extending C++ for Heterogeneous Quantum-Classical Computing

In this report we present qcor - a language extension to C++ and compiler implementation that enables heterogeneous quantum-classical programming, compilation, and execution in a single-source context. Our work provides a first-of-its-kind C++ compiler enabling high-level quantum kernel (function) expression in a quantum-language agnostic manner, as well as a hardware-agnostic, retargetable compiler workflow targeting a number of physical and virtual quantum computing backends. qcor leverages novel Clang plugin interfaces and builds upon the XACC system-level quantum programming framework to provide a state-of-the-art integration mechanism for quantum-classical compilation that leverages the best from the community at-large. qcor translates quantum kernels ultimately to the XACC intermediate representation, and provides user-extensible hooks for quantum compilation routines like circuit optimization, analysis, and placement. This work details the overall architecture and compiler workflow for qcor, and provides a number of illuminating programming examples demonstrating its utility for near-term variational tasks, quantum algorithm expression, and feed-forward error correction schemes.

97 MATHEMATICS AND COMPUTING↗

Static and Dynamic Frequency Scaling on Multicore CPUs

Dynamic voltage and frequency scaling (DVFS) adapts CPU power consumption by modifying a processor’s operating frequency (and the associated voltage). Typical approaches employing DVFS involve default strategies such as running at the lowest or the highest frequency, or observing the CPU’s runtime behavior and dynamically adapting the voltage/frequency configuration based on CPU usage. In this paper, we argue that many previous approaches suffer from inherent limitations, such as not account- ing for processor-specific impact of frequency changes on energy for different workload types. We first propose a lightweight runtime-based approach to automatically adapt the frequency based on the CPU workload, that is agnostic of the processor characteristics. We then show that further improvements can be achieved for affine kernels in the application, using a compile-time characterization instead of run-time monitoring to select the frequency and number of CPU cores to use. Our framework relies on a one-time energy characterization of CPU-specific DVFS profiles followed by a compile-time categorization of loop-based code segments in the application. These are combined to determine a priori of the frequency and the number of cores to use to execute the application so as to optimize energy or energy-delay product, outperforming runtime approach. Extensive evaluation on 60 benchmarks and five multi-core CPUs show that our approach systematically outperforms the powersave Linux governor, while improving overall performance.

24 POWER TRANSMISSION AND DISTRIBUTION↗

Opinion: Coordinated development of emission inventories for climate forcers and air pollutants

Emissions into the atmosphere of fine particulate matter, its precursors, and precursors to tropospheric ozone impact not only human health and ecosystems, but also the climate by altering Earth's radiative balance. Accurately quantifying these impacts across local to global scales historically and in future scenarios requires emission inventories that are accurate, transparent, complete, comparable, and consistent. In an effort to better quantify the emissions and impacts of these pollutants, also called short-lived climate forcers (SLCFs), the Intergovernmental Panel on Climate Change (IPCC) is developing a new SLCF emissions methodology report. This report would supplement existing IPCC reporting guidance on greenhouse gas (GHG) emission inventories, which are currently used by inventory compilers to fulfill national reporting requirements under the United Nations Framework Convention on Climate Change (UNFCCC) and new requirements of the Enhanced Transparency Framework (ETF) under the Paris Agreement starting in 2024. We review the relevant issues, including how air pollutant and GHG inventory activities have historically been structured, as well as potential benefits, challenges, and recommendations for coordinating GHG and air pollutant inventory efforts. We argue that, while there are potential benefits to increasing coordination between air pollutant and GHG inventory development efforts, we also caution that there are differences in appropriate methodologies and applications that must jointly be considered.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Simulation Framework for Regional Geologic CO 2 Storage Along Arches Province of Midwestern United States

This report presents final technical results for the project Simulation Framework for Regional Geologic CO 2 Storage Infrastructure along Arches Province of the Midwest United States . The Arches Simulation project was a three year effort designed to develop a simulation framework for regional geologic carbon dioxide (CO 2 ) storage infrastructure along the Arches Province through development of a geologic model and advanced reservoir simulations of large-scale CO 2 storage. The project included five major technical tasks: (1) compilation of geologic, hydraulic and injection data on Mount Simon, (2) development of model framework and parameters, (3) preliminary variable density flow simulations, (4) multi-phase model runs of regional storage scenarios, and (5) implications for regional storage feasibility. The Arches Province is an informal region in northeastern Indiana, northern Kentucky, western Ohio, and southern Michigan where sedimentary rock formations form broad arch and platform structures. In the province, the Mount Simon sandstone is an appealing deep saline formation for CO 2 storage because of the intersection of reservoir thickness and permeability. Many CO 2 sources are located in proximity to the Arches Province, and the area is adjacent to coal fired power plants along the Ohio River Valley corridor. Geophysical well logs, rock samples, drilling logs, and geotechnical tests were evaluated for a 500,000 km2 study area centered on the Arches Province. Hydraulic parameters and historical operational information was also compiled from Mount Simon wastewater injection wells in the region. This information was integrated into a geocellular model that depicts the parameters and conditions in a numerical array. The geologic and hydraulic data were integrated into a three-dimensional grid of porosity and permeability, which are key parameters regarding fluid flow and pressure buildup due to CO 2 injection. Permeability data were corrected in locations where reservoir tests have been performed in Mount Simon injection wells. The geocellular model was used to develop a series of numerical simulations designed to support CO 2 storage applications in the Arches Province. Variable density fluid flow simulations were initially run to evaluate model sensitivity to input parameters. Two dimensional, multiple-phase simulations were completed to evaluate issues related to arranging injection fields in the study area. A basin-scale, multiple-phase model was developed to evaluate large scale injection effects across the region. Finally, local scale simulations were also completed with more detailed depiction of the Eau Claire formation to investigate to the potential for upward migration of CO 2 . Overall, the technical work on the project concluded that injection large-scale injection may be achieved with proper field design, operation, siting, and monitoring. Records from Mount Simon injection wells were compiled, documenting more than 20 billion gallons of injection into the Mount Simon formation in the Arches Province over the past 40 years, equivalent to approximately 60 million metric tons CO 2 . The multi-state team effort was useful in delineating the geographic variability in the Mount Simon reservoir properties. Simulations better defined potential well fields, well field arrangement, CO 2 pipeline distribution system, and operational parameters for large-scale injection in the Arches Province. Multiphase scoping level simulations suggest that injection fields with arrays of 9 to 50+ wells may be used to accommodate large injection volumes. Individual wells may need to be separated by 3 to 10 km. Injection fields may require spacing of 25 to 40 km to limit pressure and saturation front interference. Basin-scale multiple-phase simulations in STOMP reflect variability in the Mount Simon. While simulations suggest a total injection rate of 100 million metric tons per year (approximately to a 40% reduction of CO 2 emissions from large point sources across the Arches Province) may be feasible, some areas are more suitable due to favorable geology. Sustainable injection rates were higher in areas where there was higher thickness and reservoir permeability. Distribution of injection across well fields is an effective method to reduce pressure and CO 2 saturation front interference.

54 ENVIRONMENTAL SCIENCES↗