Search NASA⌕ Search

SEARCH · Search NASA

Results for “code reuse”

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 91 records · Page 5

Fragment approach to constrained density functional theory calculations using Daubechies wavelets

In a recent paper, we presented a linear scaling Kohn-Sham density functional theory (DFT) code based on Daubechies wavelets, where a minimal set of localized support functions are optimized in situ and therefore adapted to the chemical properties of the molecular system. Thanks to the systematically controllable accuracy of the underlying basis set, this approach is able to provide an optimal contracted basis for a given system: accuracies for ground state energies and atomic forces are of the same quality as an uncontracted, cubic scaling approach. This basis set offers, by construction, a natural subset where the density matrix of the system can be projected. In this paper, we demonstrate the flexibility of this minimal basis formalism in providing a basis set that can be reused as-is, i.e., without reoptimization, for charge-constrained DFT calculations within a fragment approach. Support functions, represented in the underlying wavelet grid, of the template fragments are roto-translated with high numerical precision to the required positions and used as projectors for the charge weight function. We demonstrate the interest of this approach to express highly precise and efficient calculations for preparing diabatic states and for the computational setup of systems in complex environments.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

DOE Office of Scientific and Technical Information (OSTI) Artificial Intelligence and Machine Learning

The Department of Energy (DOE) Office of Scientific and Technical Information (OSTI) established its artificial intelligence (AI) team in the summer of 2019. The AI Team's work and research in this space are new endeavors for OSTI; identifying the appropriate areas of research and investigation are priorities for the team and will ensure results and products that support OSTI and the collection, preservation, and dissemination of R&D results. To support OSTI’s strategic plan, the AI Team has started an assessment of the current R&D results corpus (e.g., metadata and full text) collected through ingest products such as E-Link and DOE CODE and disseminated through OSTI.GOV and other discovery applications. This presentation will present applied AI and Machine Learning (ML) approaches to assess and address data challenges and discuss how these data challenges are being evaluated to establish a comprehensive corpus of R&D results, support the reuse of R&D results and its data, and extend these findings to the broader DOE community. This presentation can be presented live or via a recorded presentation.

96 KNOWLEDGE MANAGEMENT AND PRESERVATION↗

autoGEMM: Pushing the Limits of Irregular Matrix Multiplication on Arm Architectures

This paper presents an open-source library that pushes the limits of performance portability for irregular General Matrix Multiplication (GEMM) on the widely-used Arm architectures. Our library, autoGEMM, is designed to support a wide range of Arm processors: from edge devices to HPC-grade CPUs. autoGEMM generates optimized kernels for various hardware configurations by auto-combining fragments of autogenerated micro-kernels that employ hand-written optimizations to maximize computational efficiency. We optimize the kernel pipeline by tuning the register reuse and the data load/store overlapping. In addition, we use a dynamic tiling scheme to generate balanced tile shapes. Finally, we position autoGEMM on top of the TVM framework where our dynamic tiling scheme prunes the search space for TVM to identify the optimal combination of parameters for code optimization. Evaluations on five different classes of Arm chips demonstrate the advantages of autoGEMM. For small matrices, autoGEMM achieves 98% of peak and up to 2.0x speedup over state-of-the-art libraries such as LIBXSMM and LibShalom. For irregular matrices (i.e. tall skinny and long rectangles), autoGEMM is 1.3-2.0x faster than widely-used libraries such as OpenBLAS and Eigen. autoGEMM is publicly available at: https://github.com/wudu98/autoGEMM.

Wu, Du↗

The Circular Home: Development and Demonstration of a Net Negative Carbon, Reusable Residence

This project started the development of an innovative modular building system intended for residential construction. The project was centered around single-family homes that were carbon-negative cradle-to-grave over a 100 year time frame, which is approximately double the current standard for operational life. The project sought to accomplish this objective by designing the modular home in a manner that ensures circularity, where the main house components can be used over several consecutive 50-year lifespans. To accomplish these objectives, this project utilized integrated design with the inclusion of life-cycle assessment to design the single-family house for architectural, structural, energy, mechanical, thermal, and moisture demands, while ensuring carbon negativity and annual net-zero energy use. The core technology of this project was the use of cross-laminated timber and biogenic materials, such as wood-fiber insulation, in the construction of the modular building units. The robustness and factory manufacturing ability of cross-laminated timber allow for factory construction of most of the home, which minimizes on-site time, saving money and reducing construction waste. During this project, initial milestones were met that delivered the architectural plans for the circular home and an initial structural testing matrix. Compared to current code-built homes, which average 13 kg CO2eq. / ft2 and are demolished at their end of life, the circular home has an estimated -30 kg CO2eq. / ft2 of embodied carbon emissions during its first build iteration. It is estimated that approximately 60%-70% of the total building mass could be reused and/or recycled during subsequent rebuilds. This project was concluded at approximately the 1/3 point and a separate project was established to conclude the remaining milestones. This project promises to benefit the public by delivering another option for single-family, and eventually multi-family, housing using a novel building construction system. The system of reusable modular construction facilitates not only lower emissions during the first building iteration, but also lower emissions during subsequent iterations that drastically reduce waste and help society meet its climate goals. Many other industries, such as clothing and technology sectors, are starting to focus on circularity and this project adds the residential building construction industry to that list.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

LULESH Programming Model and Performance Ports Overview

This document gives a description of various versions of the LULESH proxy application described in [1]. All the the codes described in this document are available at https://codesign.llnl. gov/lulesh.php. This report describes versions that fall into three categories: performance tuning exploration, programming model exploration and other versions. In this document we focus on giving a brief overview of what makes each version different from the others. The purpose is to allow others to reuse our work as a starting point for their exploration. Therefore, references to publications and presentations are provided to allow those who want more detailed information to be able to find it.

97 MATHEMATICS AND COMPUTING↗

Guidelines for Publicly Archiving Terrestrial Model Data to Enhance Usability, Intercomparison, and Synthesis

Scientific communities are increasingly publishing data to evaluate, accredit, and build on published research. However, guidelines for curating data for publication are sparse for model-related research, limiting the usability of archived simulation data. In particular, there are no established guidelines for archiving data related to terrestrial models that simulate land processes and their coupled interactions with climate. Terrestrial modelers have a unique set of challenges when publishing data due to the diversity of scientific domains, research questions, and the types and scales of simulations. Researchers in the U.S. Department of Energy’s (DOE) projects use a variety of multiscale models to advance robust predictions of terrestrial and subsurface ecosystem processes. Here, we synthesize archiving needs for data associated with different DOE models, and provide guidelines for publishing terrestrial model data components following FAIR (Findable, Accessible, Interoperable, Reusable) principles. The guidelines recommend archiving model inputs and testing data used in final simulation runs along with associated codes, workflow scripts, and metadata in public repositories. Researchers should consider archiving model outputs if they are within the storage limits of the repository. We also provide considerations for how to bundle files into different data publications with citable digital object identifiers. Finally, we identify repository features and tools that would enable storage and reuse of model data. Given the diversity of DOE terrestrial models, these guidelines are transferable to other model types and will enable efficient reuse of simulation data for purposes such as model intercomparisons, initialization, benchmarking, synthesis, and comparisons with field observations.

58 GEOSCIENCES↗

express: Extensible, high-level workflows for swifter ab initio materials modeling

In this work, we introduce an open-source Julia project, express, an extensible, lightweight, high-throughput, high-level workflow framework that aims to automate ab initio calculations for the materials science community. express is shipped with well-tested workflow templates, including structure optimization, equation of state (EOS) fitting, phonon spectrum (lattice dynamics) calculation, and thermodynamic property calculation in the framework of the quasi-harmonic approximation (QHA). It is designed to be highly modularized so that its components can be reused across various occasions, and customized workflows can be built on top of that. Users can also track the status of workflows in real-time, and rerun failed jobs thanks to the data lineage feature express provides. Finally, two working examples, i.e., all workflows applied to lime and akimotoite, are also presented in the code and this paper.

36 MATERIALS SCIENCE↗

MemFriend: Understanding Memory Performance with Spatial-Temporal Affinity

In HPC applications, memory access behavior is one of the main factors affecting performance. Improving an application’s memory access behavior involves optimizing data layout and/or restructuring code, and requires studying spatial-temporal data locality. Existing data locality analyses focus on single-location metrics and are restricted to evaluating temporal locality. We introduce spatial-temporal affinity metrics that quantify temporal access proximity, forward access correlation, and nearby access correlation between pairs of memory locations. We describe methods for distinguishing between potential vs. realized affinity and for reasoning about affinity at multiple resolutions (3D, 2D, 1D). Finally, we construct spatial-temporal affinity signatures that classify memory behavior and that be used to reason about changes in software (data relayout, code refactoring) or hardware (caching, prefetching). We describe methods for signature visualization, interpretation, and quantitative comparison of signatures. We evaluate our methodology using applications with variants that contrast data structures, data layouts and algorithms. We show that spatial-temporal affinity analysis provides novel insights and enables predictive reasoning about application performance when contrasted with reuse distance analysis.

Suriyakumar, Yasodhadevi↗

Datasets for "Excessive rainfall leads to maize yield loss of a comparable magnitude to extreme drought in the United States"

Updated on 2021/07/01 Add python codes for data processing of the NASS yield data, PRISM climate data, RMA insurance data, agmip yield simulation data, and related geospatial analysis-------------------This repository is for the datasets and codes for “Excessive rainfall leads to maize yield loss of a comparable magnitude to extreme drought in the United States” (Li et al. 2019 GCB). The datasets include maize yield, climate data, maize yield loss from crop insurance data in the US, etc. The datasets can reproduce the results of the paper and they can also be reused to explore other topics. Please cite Li et al (2019) or acknowledge this dataset (DOI: 10.6084/m9.figshare.7581473) when using it.

Agricultural spatial analysis and modelling↗

Right-Sized Reuse - Use a Systematic Process, and Design for a Specialized, Yet Flexible Result - 13558

The process of transferring real property from the U.S. Department of Energy (DOE) is always the same - except when it's not. The most frequently asked questions in the process are: how can this take so long and be so complex, and why is it different every time? The process of transferring real property from the Department of Energy is always the same - except when it's not. Repeat as needed. The authority for DOE to transfer property is found in the Atomic Energy Act of 1954 (AEA). Specifically, the transfer of real property for mission-related purposes is done pursuant to the AEA Section 161(g). Another rule that can provide certain unique benefits to the transferee is found in 10 Code of Federal Regulations (CFR) Part 770, Transfer of Real Property at Defense Nuclear Facilities for Economic Development; it can be followed for economic development purposes at defense nuclear facilities. All federal real property transfers include at minimum a National Environmental Policy Act (NEPA) review and a Comprehensive Environmental Response, Compensation, and Liability Act (CERCLA) chap. 120(h) environmental due diligence evaluation. The end-point objective is to be able to demonstrate that a transfer is protective of human health and the environment - typically attained via a risk evaluation. That's it...mostly. None of these requirements are new; their processes are well-known. So, why is it different every time there is a transfer and what can be done to move things along? Time and the perception of open-ended schedules kill projects. Economic development projects that are proposed by Community Reuse Organizations (CROs) and others or by parties who need private capital are especially time-sensitive. It is not reasonable to expect business interests or investors to wait two years while the property transfer process is carried out. Lenders are also risk-sensitive and not solely business-risk sensitive. After all, these are federal properties where contamination is a factor. What are some of the things you can do to address those time and risk issues? Issues of time and complexity arise from several variables. Short-sighted vision and lack of project definition lead to wasted effort and lengthy delays. Some variability on the input side of the process can be controlled in a way that will save you time and actually work to your advantage. Steps can be taken to systematize the transfer process on the agency's part and on the requester/grantee's part. Having the right mix of dedicated people from the beginning, planning with flexibility, coordinating with the clean-up program at your site, knowing the interests and issues of your stakeholders, and working with the CRO/economic development authorities - all of these measures and others can and will help you. The key is not simply knowing the steps and making a punch-list, but understanding the steps and how to work with and use them. These concepts can be applied to create a vision of success for those engaged in real property transfer. (authors)

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

Implementation of Gamma Transport Capability in MPACT

This paper presents the latest work on the development of the gamma transport capability for the CASL neutronics code MPACT. MPACT is capable of performing pin-resolved neutronics calculations for full-core problems and the purpose of this project is to further expand its capability for gamma transport calculations at the same level of accuracy for potential applications of interests, such as gamma heating and gamma fluence calculations. The development of the gamma transport capability reuses many existing geometrical capabilities and neutronics solvers in MPACT, because essentially the same form of Boltzmann transport equation is solved. First, 2-D gamma transport is implemented in this work by leveraging the method of characteristics (MOC) sweeper. The HELIOS library is used to provide the neutron-induced gamma production and gamma interaction cross sections. The new gamma transport capability is verified with MCNP. Both the gamma spectrum of a pin cell problem and the gamma flux distribution of 2D assembly problems are consistent with reference calculations. A 2D quarter core case is qualitatively verified by comparing MCNP and MPACT predictions of the gamma flux and thermal neutron flux to confirm the gamma smearing effects.

Wang, Xinyan↗

Measurement Concept for a Possible Clearance of Mercury Waste from Nuclear Facilities - 19138

This paper describes the development of a measurement concept for a clearance of mercury waste from the decommissioning of nuclear facilities. A decontamination of mercury is performed after which large parts of the waste could possibly be released into reuse or conventional mercury disposal. The focus of this work is on the development and validation of a gamma-spectrometric measurement setup that is used for decision-making measurements for a possible clearance procedure. The measurement system is validated by a comparison of experimental measurements with nuclear simulations using Monte Carlo N-Particle{sup R} Transport Code (MCNP{sup R}). The validated MCNP{sup R} simulation model is used to determine the energy-dependent photopeak efficiencies and subsequently the sensitivity of the measurements. Preliminary results of gamma spectrometry in combination with MCNP{sup R} simulations indicate that a clearance of elemental mercury should be possible after decontamination. (authors)

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

TAO Users Manual (Rev. 3.15)

The Toolkit for Advanced Optimization (TAO) focuses on the development of algorithms and software for the solution of large-scale optimization problems on high-performance architectures. Areas of interest include unconstrained and bound-constrained optimization, nonlinear least squares problems, optimization problems with partial differential equation constraints, and variational inequalities and complementarity constraints. The development of TAO was motivated by the scattered support for parallel computations and the lack of reuse of external toolkits in current optimization software. Our aim is to produce high-quality optimization software for computing environments ranging from workstations and laptops to massively parallel high-performance architectures. Our design decisions are strongly motivated by the challenges inherent in the use of large-scale distributed memory architectures and the reality of working with large, often poorly structured legacy codes for specific applications.

97 MATHEMATICS AND COMPUTING↗

Improved cache performance in Monte Carlo transport calculations using energy banding

We present an energy banding algorithm for Monte Carlo (MC) neutral particle transport simulations which depend on large cross section lookup tables. In MC codes, read-only cross section data tables are accessed frequently, exhibit poor locality, and are typically too much large to fit in fast memory. Thus, performance is often limited by long latencies to RAM, or by off-node communication latencies when the data footprint is very large and must be decomposed on a distributed memory machine. The proposed energy banding algorithm allows maximal temporal reuse of data in band sizes that can flexibly accommodate different architectural features. The energy banding algorithm is general and has a number of benefits compared to the traditional approach. In the present analysis we explore its potential to achieve improvements in time-to-solution on modern cache-based architectures.

97 MATHEMATICS AND COMPUTING↗

Pseudonymization at Scale: OLCF’s Summit Usage Data Case Study

The analysis of vast amounts of data and the processing of complex computational jobs have traditionally relied upon high performance computing (HPC) systems, which offer reliable and efficient management of large-scale computational and data resources. Understanding these analyses’ needs is paramount for designing solutions that can lead to better science, and similarly, understanding the characteristics of the user behavior on those systems is important for improving user experiences on HPC systems. A common approach to gathering data about user behavior is to extract workload characteristics from system log data available only to system administrators. Recently at Oak Ridge Leadership Computing Facility (OLCF), however, we unveiled user behavior about the Summit supercomputer by collecting data from a user’s point of view with ordinary Unix commands.In this paper, we discuss the process, challenges, and lessons learned while preparing this dataset for publication and submission to an open data challenge. The original dataset contains personal identifiable information (PII) about the users of OLCF which needed be masked prior to publication, and we determined that anonymization, which scrubs PII completely, destroyed too much of the structure of the data to be interesting for the data challenge. We instead chose to pseudonymize the dataset, which reduced the linkability of the dataset to the users’ identities. Pseudonymization is significantly more computationally expensive than anonymization, and the size of our dataset, which is approximately 175 million lines of raw text, necessitated the development of a parallelized workflow that could be reused on different HPC machines. We demonstrate the scaling behavior of the workflow on two leadership class HPC systems at OLCF, and we show that we were able to bring the overall makespan time from an impractical 20+ hours on a single node down to around 2 hours. As a result of this work, we release the entire pseudonymized dataset and make the workflows and source code publicly available.

Maheshwari, Ketan↗

Fast analysis of molecular dynamics trajectories with graphics processing units-Radial distribution function histogramming

The calculation of radial distribution functions (RDFs) from molecular dynamics trajectory data is a common and computationally expensive analysis task. The rate limiting step in the calculation of the RDF is building a histogram of the distance between atom pairs in each trajectory frame. Here we present an implementation of this histogramming scheme for multiple graphics processing units (GPUs). The algorithm features a tiling scheme to maximize the reuse of data at the fastest levels of the GPU's memory hierarchy and dynamic load balancing to allow high performance on heterogeneous configurations of GPUs. Several versions of the RDF algorithm are presented, utilizing the specific hardware features found on different generations of GPUs. We take advantage of larger shared memory and atomic memory operations available on state-of-the-art GPUs to accelerate the code significantly. The use of atomic memory operations allows the fast, limited-capacity on-chip memory to be used much more efficiently, resulting in a fivefold increase in performance compared to the version of the algorithm without atomic operations. The ultimate version of the algorithm running in parallel on four NVIDIA GeForce GTX 480 (Fermi) GPUs was found to be 92 times faster than a multithreaded implementation running on an Intel Xeon 5550 CPU. On this multi-GPU hardware, the RDF between two selections of 1,000,000 atoms each can be calculated in 26.9 s per frame. The multi-GPU RDF algorithms described here are implemented in VMD, a widely used and freely available software package for molecular dynamics visualization and analysis.

97 MATHEMATICS AND COMPUTING↗

The behaviour of transuranic mixed oxide fuel in a Candu-900 reactor

The production of transuranic actinide fuels for use in current thermal reactors provides a useful intermediary step in closing the nuclear fuel cycle. Extraction of actinides reduces the longevity, radiation and heat loads of spent material. The burning of transuranic fuels in current reactors for a limited amount of cycles reduces the infrastructure demand for fast reactors and provides an effective synergy that can result in a reduction of as much as 95% of spent fuel waste while reducing the fast reactor infrastructure needed by a factor of almost 13.5 [1]. This paper examines the features of actinide mixed oxide fuel, TRUMOX, in a CANDU{sup R}* nuclear reactor. The actinide concentrations used were based on extraction from 30 year cooled spent fuel and mixed with natural uranium in 3.1 wt% actinide MOX fuel. Full lattice cell modeling was performed using the WIMS-AECL code, super-cell calculations were analyzed in DRAGON and full core analysis was executed in the RFSP 2-group diffusion code. A time-average full core model was produced and analyzed for reactor coefficients, reactivity device worth and online fuelling impacts. The standard CANDU operational limits were maintained throughout operations. The TRUMOX fuel design achieved a burnup of 27.36 MWd/kg HE. A full TRUMOX fuelled CANDU was shown to operate within acceptable limits and provided a viable intermediary step for burning actinides. The recycling, reprocessing and reuse of spent fuels produces a much more sustainable and efficient nuclear fuel cycle. (authors)

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Linear actuation using milligram quantities of CL-20 and TAGDNAT.

There are numerous applications for small-scale actuation utilizing pyrotechnics and explosives. In certain applications, especially when multiple actuation strokes are needed, or actuator reuse is required, it is desirable to have all gaseous combustion products with no condensed residue in the actuator cylinder. Toward this goal, we have performed experiments on utilizing milligram quantities of high explosives to drive a millimeter-diameter actuator with a stroke of 30 mm. Calculations were performed to select proper material quantities to provide 0.5 J of actuation energy. This was performed utilizing the thermochemical code Cheetah to calculate the impetus for numerous propellants and to select quantities based on estimated efficiencies of these propellants at small scales. Milligram quantities of propellants were loaded into a small-scale actuator and ignited with an ignition increment and hot wire ignition. Actuator combustion chamber pressure was monitored with a pressure transducer and actuator stroke was monitored using a laser displacement meter. Total actuation energy was determined by calculating the kinetic energy of reaction mass motion against gravity. Of the materials utilized, the best performance was obtained with a mixture of 2,4,6,8,10,12-hexanitro-2,4,6,8,10,12-hexaazaisowurtzitane (CL-20) and bis-triaminoguanidinium(3,3{prime}dinitroazotriazolate) (TAGDNAT).

45 MILITARY TECHNOLOGY, WEAPONRY, AND NATIONAL DEF↗