SEARCH · Engineering Papers
Results for “compilers”
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.
PyOMP: Multithreaded Parallel Programming in Python
We know that Python is a widely used language in scientific computing. When the goal is high performance, however, Python lags far behind low-level languages such as C and Fortran. To support applications that stress performance, Python needs to access the full capabilities of modern CPUs. That means support for parallel multithreading. In this paper, we describe PyOMP, a system that enables OpenMP in Python. Programmers write code in Python with OpenMP, Numba generates code that compiles to LLVM, and the resulting programs run with performance that approaches that from code written with C and OpenMP. In this paper we provide an update on the PyOMP project and explain how to install it and use it to write parallel multithreaded code in Python.
ICED: An Integrated CGRA Framework Enabling DFVS-Aware Acceleration
oarse-grained reconfigurable arrays (CGRAs) are a promising solution to enable energy-efficient acceleration of applications from different domains. By leveraging reconfiguration at the functional level, they can adapt to significantly different computational patterns. Existing CGRA mapping approaches extract instruction-level parallelism, exploit loop-pipelining opportunities, guarantee the data dependency, and target high throughput of a given loop. However, the recurrence data-dependency in the DFG and the mismatch between required and available computing/communication resources complicate the mapping, and might lead to significant unbalances in the utilization of the CGRA's tiles. This results in wasted power for tiles with low utilization. Applying dynamic voltage and frequency scaling (DVFS) can potentially solve this challenge and improve energy efficiency by adjusting voltage and frequency of different tiles independently. CGRAs have also been successful in accelerating data-dependent streaming applications. However, in these applications, the execution time of each kernel in the pipeline might dynamically vary depending on the characteristics of the input. This also leads to under-utilization of resources for the dynamically changing kernels that do not limit the application throughput. DVFS can also improve energy efficiency for these applications by dynamically changing the voltage and frequency levels of tiles that host non performance-constraining kernels. This paper proposes ICEDTEA -- an integrated DVFS-aware framework to map applications on CGRAs that support power islands. ICEDTEA proposes a CGRA architecture supporting DVFS islands at varying granularity (from a single tile to a group of tiles) and the related DVFS-aware compilation and mapping toolchain. ICEDTEA is the first work that introduces DVFS support for spatio-temporal CGRAs at power-island levels. The experimental evaluation shows that ICEDTEA improves average utilization by 2.3$\times$ and energy-efficiency by 1.32$\times$ over a conventional CGRA. With streaming applications, ICEDTEA improves energy efficiency by 1.12$\times$ over a state-of-the-art CGRA that introduces partial dynamic reconfiguration to adapt to variations in kernels' throughput.
The Case for Custom TMY's: Examples Using the NSRDB
A typical meteorological year (TMY) data set essentially represents an hourly compilation of median months constructed using multi-year datasets. Although TMY data sets are generated from irradiance data in the horizontal plane, they are used in photovoltaic (PV) modeling for systems inclined to various angles. This paper demonstrates that a POA TMY (plane of array TMY) generated by selecting median months from a multi-year POA irradiance timeseries dataset produces significantly different results than a POA TMY generated by transposing a TMY dataset constructed from horizontal data. In some months the differences can be more than 3%. These results point to the need for generating TMY's using POA irradiance timeseries representing the orientation at which PV panels will be deployed.
Statistical Performance Analysis on Approximately 320 Perovskite Single- and Two-Junction Solar Cells and Modules from >30 Global Sources
As perovskite photovoltaics (PV) advance from the laboratory to commercial prototypes, their accurate and reliable performance testing is becoming increasingly important. The well documented dynamic response of perovskite solar cells to an external applied voltage has led to the development of steady-state performance measurement methods; however, these methods have not been widely adopted by the perovskite PV community. A key reason for this is that steady-state measurement methods take tens of minutes to complete, as opposed to conventional "fast" current-voltage (I-V) measurements usually lasting a few seconds. Fast I-Vs arise from a snapshot, almost always not a steady-state condition of the device; however, given their widespread use, the question arises: how do performance parameters of perovskite PV compare when measured with fast I-V and with a steady-state method? We compile results from ca. 320 perovskite PV cells and modules, including single junction, and two-terminal perovskite-perovskite and perovskite-Si tandems, and show that fast I-Vs can provide a useful measure of the open-circuit voltage of the devices, while the short-circuit current and the overall efficiency can be widely misestimated. We discuss implications of these findings on performance testing protocols and propose possible options for fast and accurate testing of perovskite PV.
Optimization of Simultaneous Measurement for Variational Quantum Eigensolver Applications
Variational quantum eigensolver (VQE) is a promising algorithm suitable for near-term quantum computers. VQE aims to approximate solutions to exponentially-sized optimization problems by executing a polynomial number of quantum sub-problems. However, the number of subproblems scales as N-4 for typical problems of interest-a daunting growth rate that poses a serious limitation for emerging applications such as quantum computational chemistry. We mitigate this issue by exploiting the simultaneous measurability of subproblems corresponding to commuting terms. Our technique transpiles VQE instances into a format optimized for simultaneous measurement, ultimately yielding 8-30x lower cost. Our work also encompasses a synthesis tool for compiling simultaneous measurement circuits with minimal overhead. We demonstrate experimental validation of our techniques by estimating the ground state energy of deuteron with a quantum computer. We also investigate the underlying statistics of simultaneous measurement and devise an adaptive strategy for mitigating harmful covariance terms.
Numerical Simulations of Noisy Variational Quantum Eigensolver Ansatz Circuits
This is a case study of the variational quantum eigensolver (VQE) method using numerical simulations to test the influence of noise on the accuracy of the underlying circuit ansatz. We investigate a computational chemistry application of VQE to calculate the electronic ground state and its energy for Sodium Hydride (NaH), a prototypical two-electron problem. Using a one-parameter ansatz derived from unitary coupled cluster (UCC) theory, we simulate the effects of noise on the energy expectation value and variance with respect to the ansatz parameter. These numerical simulations provide insights into the accuracy of the prepared quantum state and the efficiency of the classical optimizer that iteratively refines the ansatz. We conduct a comparative study between analytical results derived for the UCC ansatz in the absence of noise and the noisy numerical simulation results obtained using an isotropic depolarizing noise model for each gate. We also compare the relative increase in noise on logically equivalent UCC ansatz circuits generated by randomized compiling. Notably, we observe that the intrinsic variance in the energy due to the simplicity of the ansatz itself compares with the noise induced by the bare circuit.
Adaptive job and resource management for the growing quantum cloud
As the popularity of quantum computing continues to grow, efficient quantum machine access over the cloud is critical to both academic and industry researchers across the globe. And as cloud quantum computing demands increase exponentially, the analysis of resource consumption and execution characteristics are key to efficient management of jobs and resources at both the vendor-end as well as the client-end. While the analysis and optimization of job / resource consumption and management are popular in the classical HPC domain, it is severely lacking for more nascent technology like quantum computing.This paper proposes optimized adaptive job scheduling to the quantum cloud taking note of primary characteristics such as queuing times and fidelity trends across machines, as well as other characteristics such as quality of service guarantees and machine calibration constraints. Key components of the proposal include a) a prediction model which predicts fidelity trends across machine based on compiled circuit features such as circuit depth and different forms of errors, as well as b) queuing time prediction for each machine based on execution time estimations. Altogether, this proposal is evaluated on simulated IBM machines across a diverse set of quantum applications and system loading scenarios, and is able to reduce wait times by over 3x and improve fidelity by over 40% on specific usecases, when compared to traditional job schedulers.
Molecular Symmetry in VQE: A Dual Approach for Trapped-Ion Simulations of Benzene
Understanding complex chemical systems—such as biomolecules, catalysts, and novel materials—is a central goal of quantum simulations. Near-term strategies hinge on the use of variational quantum eigensolver (VQE) algorithms combined with a suitable ansatz. However, straightforward application of many chemically-inspired ansatze yields prohibitively deep circuits. In this work, we employ several circuit optimization methods tailored for trapped-ion quantum devices to enhance the feasibility of intricate chemical simulations. The techniques aim to lessen the depth of the unitary coupled cluster with singles and doubles (uCCSD) ansatz's circuit compilation, a considerable challenge on current noisy quantum devices. Furthermore, we use symmetry-inspired classical post-selection methods to further refine the outcomes and minimize errors in energy measurements, without adding quantum overhead. Our strategies encompass optimal mapping from orbital to qubit, term reordering to minimize entangling gates, and the exploitation of molecular spin and point group symmetry to eliminate redundant parameters. The inclusion of error mitigation via post-selection based on known molecular symmetries improves the results to near milli-Hartree accuracy. These methods, when applied to a benzene molecule simulation, enabled the construction of an 8-qubit circuit with 69 two-qubit entangling operations, pushing the limits for variational quantum eigensolver (VQE) circuits executed on quantum hardware to date. 1 1 This manuscript has been authored in part by UT-Battelle, LLC, under contract DE-AC05-000R22725 with the US Department of Energy (DOE). The publisher acknowledges the US government license to provide public access under the DOE Public Access Plan(https://energy.gov/doe-public-access-plan).
IRIS-GNN: Leveraging Graph Neural Networks for Scheduling on Truly Heterogeneous Runtime Systems
The diversity of accelerators in computer systems poses significant challenges for software developers, such as managing vendor-specific compiler toolchains, code fragmentation requiring different kernel implementations, and performance portability issues. To address these, the Intelligent Runtime System (IRIS) was developed. IRIS works across various systems, from smartphones to supercomputers, enabling automatic performance scaling based on available accelerators. It introduces abstract tasks for seamless execution transitions between accelerators while ensuring memory consistency and task dependencies. Although IRIS simplifies system details, optimal dynamic scheduling still requires user input to understand workload structures. To address this, we introduce a new scheduling policy for IRIS, termed IRIS-GNN, which is the first IRIS hybrid policy that operates in conjunction with the dynamic policies. This policy employs a Graph-Neural Network (GNN) to conduct Graph Classification of any task graphs submitted to IRIS. This GNN analyzes the structure and attributes of the task graph, categorizing it as either locality, concurrency, or mixed. This classification subsequently guides the selection of the dynamic policy used by IRIS. We provide a comparison of the performance of IRIS-GNN against the complete spectrum of IRIS’s dynamic policies, assess the overhead introduced by the GNN within this scheduling framework, and ultimately explore its practical application in real-world scenarios.
PANTHER: A Programmable Architecture for Neural Network Training Harnessing Energy-Efficient ReRAM
The wide adoption of deep neural networks has been accompanied by ever-increasing energy and performance demands due to the expensive nature of training them. Additionally, numerous special-purpose architectures have been proposed to accelerate training: both digital and hybrid digital-analog using resistive RAM (ReRAM) crossbars. ReRAM-based accelerators have demonstrated the effectiveness of ReRAM crossbars at performing matrix-vector multiplication operations that are prevalent in training. However, they still suffer from inefficiency due to the use of serial reads and writes for performing the weight gradient and update step. A few works have demonstrated the possibility of performing outer products in crossbars, which can be used to realize the weight gradient and update step without the use of serial reads and writes. However, these works have been limited to low precision operations which are not sufficient for typical training workloads. Moreover, they have been confined to a limited set of training algorithms for fully-connected layers only. To address these limitations, we propose a bit-slicing technique for enhancing the precision of ReRAM-based outer products, which is substantially different from bit-slicing for matrix-vector multiplication only. We incorporate this technique into a crossbar architecture with three variants catered to different training algorithms. To evaluate our design on different types of layers in neural networks (fully-connected, convolutional, etc.) and training algorithms, we develop PANTHER, an ISA-programmable training accelerator with compiler support. Our design can also be integrated into other accelerators in the literature to enhance their efficiency. Our evaluation shows that PANTHER achieves up to 8.02×, 54.21×, and 103× energy reductions as well as 7.16×, 4.02×, and 16× execution time reductions compared to digital accelerators, ReRAM-based accelerators, and GPUs, respectively.
Nutrient foraging by mycorrhizas: From species functional traits to ecosystem processes
1. Plant roots and the associated mycorrhizal fungal hyphae often selectively proliferate into patchily distributed soil nutrient hotspots, but interactions between these two components of a mycorrhizal root system are usually ignored or experimentally isolated in nutrient foraging studies. 2. From studies in which both roots and mycorrhizal hyphae had access to nutrient hotspots, we compiled data on root foraging precision (increase in roots in nutrient hotspots relative to outside hotspots) of plant species from different ecosystems, ranging from temperate grasslands to subtropical forests. We found that root for- aging precision across the wide range of plant species was strongly influenced by root morphology and mycorrhizal type. 3. The precision of root nutrient foraging, as a plant functional trait, may coordinate with other root traits that are related to the economics of nutrient acquisition. High foraging precision is expected to associate with the strategy of fast return on the investment in roots, such as low construction cost, high metabolic rate and rapid turnover. 4. Nutrient foraging by mycorrhizal fungi alone may be influenced by functional traits such as hyphal exploration distance, hyphal turnover, and hyphal uptake capacity and efficiency, but such data are limited to a small portion of mycorrhizal fungal species. 5. We propose a conceptual framework in which to simulate nitrogen and phosphorus acquisition from both nutrient hotspots and outside hotspots in mixed-species plant communities. Simulation outputs suggest that plant species with varying root morphology and mycorrhizal type can be adaptive to a range of nutrient heterogeneity. 6. Although there are still knowledge gaps related to nutrient foraging, as well as many unexplored plant and fungal species, we suggest that scaling nutrient foraging from individual plants to communities would advance understanding of plant species interactions and below-ground ecosystem function.
A historical and comparative review of 50 years of root data collection in Puerto Rico
Fine roots play an important role in plant nutrition, as well as in carbon, water, and nutrient cycling. Fine roots account for a third of terrestrial net primary production (NPP), and inclusion of their structure and function in global carbon models should improve predictions of ecosystem responses to climate change. However, studies focusing on underground plant components are much less frequent than those on aboveground structure. This is more marked in the tropics, where one-third of the planet's terrestrial NPP is produced. Some tropical forests have been more represented in the literature than others, as demonstrated in the collective studies in Puerto Rico. This Caribbean island's biodiversity, frequency of natural disturbances, ease of access to forests, and long-term plots have created an ideal place for the study of tropical ecological processes. This review of the literature emphasizes 50 years of root research and patterns revealed around Puerto Rico. The data in this review were compiled from scientific publications, conference reports, symposiums, and raw data shared by some researches. Emergent patterns include the shallow distribution of fine roots, the great variation in root biomass among different forest types, little variation in root phosphorus concentrations, the slow recovery of root biomass after Hurricane Hugo, and the fact that most data on roots come from the wet tropical Luquillo Experimental Forest, causing other habitat types to be underrepresented. This review also shows the gaps in knowledge about fine roots in the island's ecosystems, which should be used to promote and guide future studies. Abstract in Spanish is available with online material.
Forest Age Rivals Climate to Explain Reproductive Allocation Patterns in Forest Ecosystems Globally
ABSTRACT Forest allocation of net primary productivity (NPP) to reproduction (carbon required for flowers, fruits, and seeds) is poorly quantified globally, despite its critical role in forest regeneration and a well‐supported trade‐off with allocation to growth. Here, we present the first global synthesis of a biometric proxy for forest reproductive allocation (RA) across environmental and stand age gradients from a compiled dataset of 824 observations across 393 sites. We find that ecosystem‐scale RA increases ~60% from boreal to tropical forests. Climate shows important non‐linear relationships with RA, but is not the sole predictor. Forest age effects are comparable to climate in magnitude (MAT: ß = 0.24,p = 0.021; old growth forest: ß = 0.22,p < 0.001), while metrics of soil fertility show small but significant relationships with RA (soil pH: ß = 0.07,p = 0.001; soil N: ß = −0.07,p = 0.001). These results provide strong evidence that ecosystem‐scale RA is mediated by climate, forest age, and soil conditions, and is not a globally fixed fraction of positive NPP as assumed by most vegetation and ecosystem models. Our dataset and findings can be used by modellers to improve predictions of forest regeneration and carbon cycling.
Assessing biogeographic survey gaps in bacterial diversity knowledge: A global synthesis of freshwaters
Freshwaters account for 0.8% of Earth's surface area, yet support >10% of known plant and animal species making them disproportionately biodiverse. Modern molecular techniques have begun to reveal microbial diversity, but application of these approaches to address global microbial biogeography is relatively unknown in freshwaters. Our aim was to identify gaps in microbial data coverage along climatic and landscape disturbance gradients and among terrestrial biomes and hydrographic regions for all freshwater ecosystems and three freshwater habitat types: lakes and reservoirs (lentic); streams and rivers (lotic); and wetlands. We reviewed literature on microbial diversity in freshwaters surveyed using 16S ribosomal RNA sequencing which identify microbial taxa. We georeferenced survey locations and used a geographic information system to identify and map gaps in survey coverage using open-source data for climate, landscape disturbance, terrestrial biomes, and freshwater ecoregions. In our study, we compiled 3,425 georeferenced survey locations reported from 963 studies. Streams were surveyed most frequently (60.8% of survey locations), followed by lakes (33.5%) and wetlands (5.6%). Surveys were concentrated in North America, central and western Europe, and Southeast Asia; 35% of freshwater ecoregions were surveyed at least once across freshwater habitat types, whereas 23%, 23%, and 12% were surveyed at least once for lentic, lotic, and wetland habitat types, respectively. The climatic gap analysis indicated coverage is high for temperate regions but lacking in the tropics and Arctic, particularly for wetland ecosystems. Our assessment revealed high climatic coverage of freshwater microbial diversity knowledge, but expansive ecoregional gaps attributable to biased sampling near research institutions in North America, western Europe, and China. Future surveys should target ecoregions in Africa, South America, Central Asia, Australia, and Antarctica. An essential next step will be to curate and disseminate sequencing efforts to facilitate the study of processes driving global diversity patterns.
The role of protected areas in land use/land cover change and the carbon cycle in the conterminous United States
Protected areas (PAs) cover about 22% of the conterminous United States. Understanding their role on historical land use and land cover change (LULCC) and on the carbon cycle is essential to provide guidance for environmental policies. In this study, we compiled historical LULCC and PAs data to explore these interactions within the terrestrial ecosystem model (TEM). We found that intensive LULCC occurred in the conterminous United States from 1700 to 2005. More than 3 million km2 of forest, grassland and shrublands were converted into agricultural lands, which caused 10,607 Tg C release from land ecosystems to atmosphere. PAs had experienced little LULCC as they were generally established in the 20th century after most of the agricultural expansion had occurred. PAs initially acted as a carbon source due to land use legacies, but their accumulated carbon budget switched to a carbon sink in the 1960s, sequestering an estimated 1,642 Tg C over 1700–2005, or 13.4% of carbon losses in non-PAs. We also find that PAs maintain larger carbon stocks and continue sequestering carbon in recent years (2001–2005), but at a lower rate due to increased heterotrophic respiration as well as lower productivity associated to aging ecosystems. It is essential to continue efforts to maintain resilient, biodiverse ecosystems and avoid large-scale disturbances that would release large amounts of carbon in PAs.
Biochar application as a tool to decrease soil nitrogen losses (NH3 volatilization, N2O emissions, and N leaching) from croplands: Options and mitigation strength in a global perspective
Biochar application to croplands has been proposed as a potential strategy to decrease losses of soil-reactive nitrogen (N) to the air and water. However, the extent and spatial variability of biochar function at the global level are still unclear. Using Random Forest regression modelling of machine learning based on data compiled from the literature, we mapped the impacts of different biochar types (derived from wood, straw, or manure), and their interactions with biochar application rates, soil properties, and environmental factors, on soil N losses (NH3 volatilization, N2O emissions, and N leaching) and crop productivity. The results show that a suitable distribution of biochar across global croplands (i.e., one application of <40 t ha-1 wood biochar for poorly buffered soils, such as those characterized by soil pH<5, organic carbon<1%, or clay>30%; and one application of <80 t ha-1 wood biochar, <40 t ha-1 straw biochar, or <10 t ha-1 manure biochar for other soils) could achieve an increase in global crop yields by 222–766 Tg yr-1 (4%–16% increase), a mitigation of cropland N2O emissions by 0.19–0.88 Tg N yr-1 (6%–30% decrease), a decline of cropland N leaching by 3.9–9.2 Tg N yr-1 (12%–29% decrease), but also a fluctuation of cropland NH3 volatilization by -1.9–4.7 Tg N yr-1 (-12%–31% change). The decreased sum of the three major reactive N losses amount to 1.7–9.4 Tg N yr-1, which corresponds to 3%–14% of the global cropland total N loss. Biochar generally has a larger potential for decreasing soil N losses but with less benefits to crop production in temperate regions than in tropical regions.
Linking drought legacy effects across scales: From leaves to tree rings to ecosystems
Severe drought can cause lagged effects on tree physiology that negatively impact forest functioning for years. These “drought legacy effects” have been widely documented in tree-ring records and could have important implications for our understanding of broader scale forest carbon cycling. However, legacy effects in tree-ring increments may be decoupled from ecosystem fluxes due to (a) postdrought alterations in carbon allocation patterns; (b) temporal asynchrony between radial growth and carbon uptake; and (c) dendrochronological sampling biases. In order to link legacy effects from tree rings to whole forests, we leveraged a rich dataset from a Midwestern US forest that was severely impacted by a drought in 2012. At this site, we compiled tree-ring records, leaf-level gas exchange, eddy flux measurements, dendrometer band data, and satellite remote sensing estimates of greenness and leaf area before, during, and after the 2012 drought. Additionally, after accounting for the relative abundance of tree species in the stand, we estimate that legacy effects led to ~10% reductions in tree-ring width increments in the year following the severe drought. Despite this stand-scale reduction in radial growth, we found that leaf-level photosynthesis, gross primary productivity (GPP), and vegetation greenness were not suppressed in the year following the 2012 drought. Neither temporal asynchrony between radial growth and carbon uptake nor sampling biases could explain our observations of legacy effects in tree rings but not in GPP. Instead, elevated leaf-level photosynthesis co-occurred with reduced leaf area in early 2013, indicating that resources may have been allocated away from radial growth in conjunction with postdrought upregulation of photosynthesis and repair of canopy damage. Collectively, our results indicate that tree-ring legacy effects were not observed in other canopy processes, and that postdrought canopy allocation could be an important mechanism that decouples tree-ring signals from GPP.