Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “Scientific 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 595 records · Page 33

Nuclear Physics Science Network Requirements Workshop, May 2008 - Final Report

The Energy Sciences Network (ESnet) is the primary provider of network connectivity for the US Department of Energy Office of Science, the single largest supporter of basic research in the physical sciences in the United States of America. In support of the Office of Science programs, ESnet regularly updates and refreshes its understanding of the networking requirements of the instruments, facilities, scientists, and science programs that it serves. This focus has helped ESnet to be a highly successful enabler of scientific discovery for over 20 years. In May 2008, ESnet and the Nuclear Physics (NP) Program Office of the DOE Office of Science organized a workshop to characterize the networking requirements of the science programs funded by the NP Program Office. Most of the key DOE sites for NP related work will require significant increases in network bandwidth in the 5 year time frame. This includes roughly 40 Gbps for BNL, and 20 Gbps for NERSC. Total transatlantic requirements are on the order of 40 Gbps, and transpacific requirements are on the order of 30 Gbps. Other key sites are Vanderbilt University and MIT, which will need on the order of 20 Gbps bandwidth to support data transfers for the CMS Heavy Ion program. In addition to bandwidth requirements, the workshop emphasized several points in regard to science process and collaboration. One key point is the heavy reliance on Grid tools and infrastructure (both PKI and tools such as GridFTP) by the NP community. The reliance on Grid software is expected to increase in the future. Therefore, continued development and support of Grid software is very important to the NP science community. Another key finding is that scientific productivity is greatly enhanced by easy researcher-local access to instrument data. This is driving the creation of distributed repositories for instrument data at collaborating institutions, along with a corresponding increase in demand for network-based data transfers and the tools to manage those transfers effectively. Network reliability is also becoming more important as there is often a narrow window between data collection and data archiving when transfer and analysis can be done. The instruments do not stop producing data, so extended network outages can result in data loss due to analysis pipeline stalls. Finally, as the scope of collaboration continues to increase, collaboration tools such as audio and video conferencing are becoming ever more critical to the productivity of scientific collaborations.

97 MATHEMATICS AND COMPUTING↗

Yucca Mountain: How Do Global and Federal Initiatives Impact Clark County's Nuclear Waste Program?

Since 1987, Clark County has been designated by the U.S. Department of Energy (DOE) as an 'Affected Unit of Local Government' (AULG). The AULG designation is an acknowledgement by the federal government that activities associated with the Yucca Mountain proposal could result in considerable impacts on Clark County residents and the community as a whole. As an AULG, Clark County is authorized to identify 'any potential economic, social, public health and safety, and environmental impacts of a repository', 42 U.S.C. Section 10135(c)(1)(B)(i) under provisions of the Nuclear Waste Policy Act Amendments (NWPAA). Clark County's oversight program contains key elements of (1) technical and scientific analysis (2) transportation analysis (3) impact assessment and monitoring (4) policy and legislative analysis and monitoring, and (5) public outreach. Clark County has conducted numerous studies of potential impacts, many of which are summarized in Clark County's Impact Assessment Report that was submitted DOE and the President of the United States in February 2002. Given the unprecedented magnitude and duration of DOE's proposal, as well as the many unanswered questions about the transportation routes, number of shipments, and the modal mix that will ultimately be used, impacts to public health and safety and security, as well as socioeconomic impacts, can only be estimated. In order to refine these estimates, Clark County Comprehensive Planning Department's Nuclear Waste Division updates, assesses, and monitors impacts on a regular basis. Clark County's Impact Assessment program covers not only unincorporated Clark County but all five jurisdictions of Las Vegas, North Las Vegas, Henderson, Mesquite, and Boulder City as well as tribal jurisdictions that fall within Clark County's geographic boundary. National and global focus on nuclear power and nuclear waste could have significant impact on the Yucca Mountain Program, and therefore, Clark County's oversight of that program. (authors)

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

Python in the NERSC Exascale Science Applications Program for Data

We describe a new effort at the National Energy Re- search Scientific Computing Center (NERSC) in performance analysis and optimization of scientific Python applications targeting the Intel Xeon Phi (Knights Landing, KNL) many- core architecture. The Python-centered work outlined here is part of a larger effort called the NERSC Exascale Science Applications Program (NESAP) for Data. NESAP for Data focuses on applications that process and analyze high-volume, high-velocity data sets from experimental/observational science (EOS) facilities supported by the US Department of Energy Office of Science. We present three case study applications from NESAP for Data that use Python. These codes vary in terms of “Python purity” from applications developed in pure Python to ones that use Python mainly as a convenience layer for scientists without expertise in lower level programming lan- guages like C, C++ or Fortran. The science case, requirements, constraints, algorithms, and initial performance optimizations for each code are discussed. Our goal with this paper is to contribute to the larger conversation around the role of Python in high-performance computing today and tomorrow, highlighting areas for future work and emerging best practices

Ronaghi, Zahra↗

Laboratory Directed Research and Development Program - FY 2017 ORNL Annual Summary of Completed Projects

This report includes summaries of all ORNL LDRD research activities completed by September 30, 2017. It is sent to the ORNL Technical Officer for export control review and classification review prior to being delivered to the Office of Scientific and Technical Information. LDRD is a relatively small but vital program whose purpose is to meet the DOE mission. It allows ORNL and other DOE laboratories to improve their distinctive capabilities and to enhance their ability to conduct cutting-edge R&D for DOE and SPP sponsors. R&D projects funded through LDRD support the following general goals: maintain the scientific and technical vitality of the Laboratory; enhance the Laboratory’s ability to address future DOE missions; foster creativity and stimulate exploration of forefront areas of science and technology; serve as a proving ground for new concepts in R&D; and support high-risk, potentially high-value R&D. ORNL has established a program with three components to meet its LDRD objectives and to fulfill the particular needs of the Laboratory: the Director’s R&D Fund, the Seed Money Fund, and the Distinguished Fellowship Fund (Householder, Russell, Weinberg, and Wigner Fellowships). As outlined in Table 1, these three funds are complementary. The Director’s R&D Fund develops new capabilities in support of the Laboratory initiatives, the Seed Money Fund is open to all innovative ideas that have the potential for enhancing the Laboratory’s core scientific and technical competencies, and the Distinguished Fellowship Fund allows the Laboratory to hire exceptional early career scientists to refresh its scientific and technical capabilities. Provision for multiple routes of access to ORNL LDRD funds maximizes the likelihood that novel ideas with scientific and technological merit will be recognized and supported.

99 GENERAL AND MISCELLANEOUS↗

Key scientific findings and policy- and health-relevant insights from the US. Environmental Protection Agency's Particulate Matter Supersites Program and related studies: an integration and synthesis of results

Over 400 peer-reviewed journal articles and likely more than 1000 presentations resulted from the research conducted through EPA's PM Supersites Program. From the start, the program was developed with a policy focus - providing new information on the accumulation and sources of PM in air on urban and regional scales that might allow for the development of more effective approaches to reducing ambient concentrations of PM to below NAAQS levels. This paper synthesizes and integrates the atmospheric sciences findings from which are interpreted a series of policy-relevant and health-relevant insights developed to support policy decisions on approaches to reduce PM in air and to assist the health-effects and exposure science communities with future research planning. 548 refs., 10 figs., 13 tabs.

01 COAL, LIGNITE, AND PEAT↗

Whole-Program Adaptive Error Detection and Mitigation. Final Report

Errors in application state resulting from faults in hardware are an increasing concern on extreme-scale computing systems. Errors that escape detection and lead to silent data corruption are particularly problematic. Detecting errors is an important first step toward fault tolerant program execution. The multi-institutional project addressed a comprehensive approach to error detection and mitigation for scientific applications that combined configurable error detectors, a unified reliability specification, and whole-program detector composition.

97 MATHEMATICS AND COMPUTING↗

Manhattan District: A Lab-Embedded Entrepreneur Program

The goals of the Manhattan District are to attract top scientific innovators to New Mexico to start businesses that focus on breakthrough national security technologies, support them with access to scientific leaders, partner networks, and funding to ensure success, build economic prosperity locally and nationally, leverage national networks with UC, TAMU, Battelle and strategic partners in industry and venture capital, and build on proven models from other DOE National Labs to enhance NNSA missions.

36 MATERIALS SCIENCE↗

Emerging Connections: Quantum & Classical Optics Incubator Program Book

The Emerging Connections: Quantum & Classical Optics Incubator was a scientific meeting held in Washington, DC on 6-8 November 2016. This Incubator provided unique and focused experiences and valuable opportunities to discuss advances, challenges and opportunities regarding this important area of research. Quantum optics and classical optics have coexisted for nearly a century as two distinct, but consistent descriptions of light in their respective domains. Recently, a number of detailed examinations of the structure of classical light beams have revealed that effects widely thought to be solely quantum in origin also have a place in classical optics. These new quantum-classical connections are informing classical optics in meaningful ways specifically by expanding understanding of optical coherence. Simultaneously, relationships discovered with classical light beams now also serve as a vehicle to illuminate concepts that no longer solely belong to the quantum realm. Interference, polarization, coherence, complementarity and entanglement are a partial list of elementary notions that now appear to belong to both quantum and classical optics. The goal of this meeting was to bring emerging quantum-classical links into wider view and to indicate directions in which forthcoming and future work would promote discussion and lead to a more unified understanding of optics.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Exploring HPCS Languages in Scientific Computing

As computers scale up dramatically to tens and hundreds of thousands of cores, develop deeper computational and memory hierarchies, and increased heterogeneity, developers of scientific software are increasingly challenged to express complex parallel simulations effectively and efficiently. In this paper, we explore the three languages developed under the DARPA High-Productivity Computing Systems (HPCS) program to help address these concerns: Chapel, Fortress, and X10. These languages provide a variety of features not found in currently popular HPC programming environments and make it easier to express powerful computational constructs, leading to new ways of thinking about parallel programming. Though the languages and their implementations are not yet mature enough for a comprehensive evaluation, we discuss some of the important features, and provide examples of how they can be used in scientific computing. We believe that these characteristics will be important to the future of high-performance scientific computing, whether the ultimate language of choice is one of the HPCS languages or something else.

parallel computing↗

Optimizing Blocking and Nonblocking Reduction Operations for Multicore Systems: Hierarchical Design and Implementation

Many scientific simulations, using the Message Passing Interface (MPI) programming model, are sensitive to the performance and scalability of reduction collective operations such as MPI Allreduce and MPI Reduce. These operations are the most widely used abstractions to perform mathematical operations over all processes that are part of the simulation. In this work, we propose a hierarchical design to implement the reduction operations on multicore systems. This design aims to improve the efficiency of reductions by 1) tailoring the algorithms and customizing the implementations for various communication mechanisms in the system 2) providing the ability to configure the depth of hierarchy to match the system architecture, and 3) providing the ability to independently progress each of this hierarchy. Using this design, we implement MPI Allreduce and MPI Reduce operations (and its nonblocking variants MPI Iallreduce and MPI Ireduce) for all message sizes, and evaluate on multiple architectures including InfiniBand and Cray XT5. We leverage and enhance our existing infrastructure, Cheetah, which is a framework for implementing hierarchical collective operations to implement these reductions. The experimental results show that the Cheetah reduction operations outperform the production-grade MPI implementations such as Open MPI default, Cray MPI, and MVAPICH2, demonstrating its efficiency, flexibility and portability. On Infini- Band systems, with a microbenchmark, a 512-process Cheetah nonblocking Allreduce and Reduce achieves a speedup of 23x and 10x, respectively, compared to the default Open MPI reductions. The blocking variants of the reduction operations also show similar performance benefits. A 512-process nonblocking Cheetah Allreduce achieves a speedup of 3x, compared to the default MVAPICH2 Allreduce implementation. On a Cray XT5 system, a 6144-process Cheetah Allreduce outperforms the Cray MPI by 145%. The evaluation with an application kernel, Conjugate Gradient solver, shows that the Cheetah reductions speeds up total time to solution by 195%, demonstrating the potential benefits for scientific simulations.

Gorentla Venkata, Manjunath↗

Laboratory Directed Research and Development Program: FY 2024 Completed Projects Report

Oak Ridge National Laboratory (ORNL) is the US Department of Energy’s (DOE’s) largest multiprogram science, technology, and energy laboratory. It possesses distinctive capabilities in a variety of fields, such as neutron science, computing, advanced materials, and nuclear science and technology. Using these capabilities, ORNL conducts basic and applied research and development (R&D) to support DOE’s overarching mission “to ensure America’s security and prosperity by addressing its energy, environmental and nuclear challenges through transformative science and technology solutions.” As a national resource, ORNL also applies its capabilities and skills to the specific needs of other federal agencies and customers through the DOE Strategic Partnership Projects (SPP) Program. Information about the laboratory and its programs is available on the ORNL website. The Laboratory Directed Research and Development (LDRD) Program at ORNL operates under the authority of DOE Order 413.2C, Laboratory Directed Research and Development,3 which establishes DOE’s requirements for the program while providing the laboratory director broad flexibility for program implementation. The LDRD Program funds are obtained through a charge to all laboratory programs. Although it represents a relatively small portion of the overall research budget, the LDRD Program plays an essential role in maintaining the laboratory’s ability to respond to national needs. The program allows ORNL to improve its distinctive capabilities and to enhance its ability to conduct cutting-edge R&D. In accordance with the DOE order, R&D projects funded through the LDRD Program at ORNL support the goals of • maintaining the scientific and technical vitality of the laboratory; • enhancing the laboratory’s ability to address future DOE missions; • fostering creativity and stimulating exploration of forefront areas of science and technology; • serving as a proving ground for new concepts in R&D; and • supporting high-risk, potentially high-value R&D. This report provides an overview of the LDRD Program at ORNL in FY 2024 and contains summaries of all the LDRD research projects that concluded between October 1, 2023, and September 30, 2024.

99 GENERAL AND MISCELLANEOUS↗

Optimizing blocking and nonblocking reduction operations for multicore systems: Hierarchical design and implementation

Many scientific simulations, using the Message Passing Interface (MPI) programming model, are sensitive to the performance and scalability of reduction collective operations such as MPI_Allreduce and MPI_Reduce. These operations are the most widely used abstractions to perform mathematical operations over all processes that are part of the simulation. In this work, we propose a hierarchical design to implement the reduction operations on multicore systems. This design aims to improve the efficiency of reductions by 1) tailoring the algorithms and customizing the implementations for various communication mechanisms in the system 2) providing the ability to configure the depth of hierarchy to match the system architecture, and 3) providing the ability to independently progress each of this hierarchy. Using this design, we implement MPI_Allreduce and MPI_Reduce operations (and its nonblocking variants MPI_Iallreduce and MPI_Ireduce) for all message sizes, and evaluate on multiple architectures including InfiniBand and Cray XT5. We leverage and enhance our existing infrastructure, Cheetah, which is a framework for implementing hierarchical collective operations to implement these reductions. The experimental results show that the Cheetah reduction operations outperform the production-grade MPI implementations such as Open MPI default, Cray MPI, and MVAPICH2, demonstrating its efficiency, flexibility and portability. On Infini-Band systems, with a microbenchmark, a 512-process Cheetah nonblocking Allreduce and Reduce achieves a speedup of 23x and 10x, respectively, compared to the default Open MPI reductions. The blocking variants of the reduction operations also show similar performance benefits. A 512-process nonblocking Cheetah Allreduce achieves a speedup of 3x, compared to the default MVAPICH2 Allreduce implementation. On a Cray XT5 system, a 6144-process Cheetah Allreduce outperforms the Cray MPI by 145%. The evaluation with an application kernel, Conjugate Gradient solver, shows that the Cheetah reductions speeds up total time to solution by 195%, demonstrating the potential benefits for scientific simulations.

Venkata, Manjunath Gorentla↗

Laboratory Directed Research and Development Program: FY 2025 Completed Projects

Oak Ridge National Laboratory (ORNL) is the US Department of Energy’s (DOE’s) largest multiprogram science, technology, and energy laboratory. It possesses distinctive capabilities in a variety of fields, such as neutron science, computing, advanced materials, and nuclear science and technology. Using these capabilities, ORNL conducts basic and applied research and development (R&D) to support DOE’s overarching mission “to ensure America’s security and prosperity by addressing its energy, environmental and nuclear challenges through transformative science and technology solutions.” As a national resource, ORNL also applies its capabilities and skills to the specific needs of other federal agencies and customers through the DOE Strategic Partnership Projects (SPP) Program. Information about the laboratory and its programs is available on the ORNL website. The Laboratory Directed Research and Development (LDRD) Program at ORNL operates under the authority of DOE Order 413.2C, Laboratory Directed Research and Development, which establishes DOE’s requirements for the program while providing the laboratory director broad flexibility for program implementation. The LDRD Program funds are obtained through a charge to all laboratory programs. Although it represents a relatively small portion of the overall research budget, the LDRD Program plays an essential role in maintaining the laboratory’s ability to respond to national needs. The program allows ORNL to improve its distinctive capabilities and enhance its ability to conduct cutting-edge R&D. In accordance with the DOE order, R&D projects funded through the LDRD Program at ORNL support the goals of • maintaining the scientific and technical vitality of the laboratory, • enhancing the laboratory’s ability to address future DOE missions, • fostering creativity and stimulating exploration of forefront areas of science and technology, • serving as a proving ground for new concepts in R&D, and • supporting high-risk, potentially high-value R&D. This report provides an overview of the LDRD Program at ORNL in FY 2025 and contains summaries of all the LDRD research projects that concluded between October 1, 2024, and September 30, 2025.

99 GENERAL AND MISCELLANEOUS↗

Detection and Perception of Sound by Eagles and Surrogate Raptors

One overarching objective of this program of study was the accumulation of objective, scientifically valid information relating to auditory performance of bald and golden eagles that may be used to guide the development of acoustic alerting/deterrence technologies intended to discourage encroachment into wind energy air spaces. To that end, analyses aimed at the characterization of sensitivity to sound in bald and golden eagles, along with findings in the supra-threshold, dynamic frequency spaces related to response latencies and amplitudes, leads us to conclude that bald, and golden eagles navigate the same basic working auditory space, as in other known and thus far characterized members of the diurnal raptor family. Specifically, bald and golden eagles, along with other raptor species within the group, operate in an auditory space characterized by a frequency band at least four octaves wide and centered on 2 kHz, with an upper frequency limit between 6 and 10 kHz at 80 dB SPL and a lower frequency limit that almost certainly extends below 0.2 kHz. Consequently, we recommend that signal designers use these data as a guideline in efforts to design effective and efficient acoustic alerting/deterrent systems. It is important to note that signal energy broadcast outside of this frequency band at moderate levels will not contribute to the efficacy of a deterrent but will add an unnecessary fraction to the overall acoustic pollution budget. The importance of this consideration is heightened by contemporaneous concerns related to the transmission of noise broadcast by wind energy farms. In addition, based on analyses of data acquired from red-tailed hawks using the same experimental paradigm and data acquisition system, we conclude that auditory function in the red-tailed hawk is sufficiently like that observed in bald and golden eagles to permit its use as a surrogate species. Response waveforms, threshold-frequency curves, and input-output characteristics match those of eagles closely. It should be noted however, that differences in sensitivity and slightly extended high-frequency limits of hearing should be taken into account when extrapolating findings from one species to the others. Although the inclusion of behavioral tests of red-tailed hawks to acoustic stimuli was beyond the scope of this investigation, future efforts to assess response parameters like signal-type preference and habituation rate will further elucidate their suitability to serve as eagle surrogates in behavioral studies; nonetheless, the species in question are well matched with respect to basic auditory performance. A second essential objective of this program of study was the acoustic characterization of a subset of calls comprising the vocal repertoires of bald and golden eagles that may be used to supplement auditory performance findings in the effort to guide the development of acoustic alerting signals. With regard to that objective, the vocal repertoires of both bald and golden eagle species are rich and varied. While similar in spectrographic structure, distinctive differences are also clear. Generally, golden eagles produce some calls with shorter durations, and similar “sounding” calls exhibit distinctively different spectrographic patterns than those of bald eagles. Both species produce calls that contain a wide variety of nonlinear elements that operate to enhance the rich and varied nature of commonly observed vocal products. Comparison of the average power spectra of commonly observed bald and golden eagle calls with threshold-frequency curves leads to the conclusion that call energies fall within the frequency bounds of hearing. Further, the acoustic energy of calls considered in this report tend to fall into overlapping, but different frequency ranges of the acoustic sensitivity curve. This condition may encourage signal designers to vary the frequency content of acoustic deterrence signals in the field. Finally, preliminary observations relating to the tendencies and proclivities of bald eagles to attend to the acoustic landscape lead to the conclusion that eagles monitor their immediate sound environment assiduously. Individuals respond to a variety of natural and synthetic sound signals reliably and, perhaps most relevant in the context of the engineering of acoustic alerting/deterrence technologies, habituation to most sounds considered in this effort was minimal. These preliminary results, while calling for extended behavioral testing, are promising and set the stage for the exportation of behavioral studies into real world scenarios.

17 WIND ENERGY↗

Exploration of Artificial Frustrated Magnets

This program encompasses experimental and theoretical studies of arrays of nanometer-scale magnets known as “artificial frustrated magnets”. These magnets are small and closely spaced, so that their behavior as a collective group is complex and reveals insights into how such collections of interacting objects behave as a group. In particular, the placement of the magnets is such that the interactions between them are “frustrated”, in that they compete with each other. These systems are analogs to a class of magnetic materials in which the lattice geometry frustrates interactions between individual atomic moments, and in which a wide range of novel physical phenomena have been recently observed. The advantage to studying the arrays is that they are both designable and resolvable: i.e., the experiments can control all aspects of the array geometry, and can also observe how individual elements of the arrays behave. This research program demonstrated a number of phenomena including the role of multiple collective interactions, the feasibility of using systems with their magnetism aligned perpendicular to the plane of the array, the importance of disorder in the arrays, and the possibility of using high temperatures to adjust the magnet orientations. All of these phenomena, and others explored in this program, add to the body of knowledge around collective magnetic behavior and magnetism in general. Aside from building scientific knowledge in an important technological area, with relevance to computing and memory, the program also gave critical support to the education of students working on the experiments.

97 MATHEMATICS AND COMPUTING↗

Final Report for completed IPP Project:"Development of Plasma Ablation for Soft Tissue and Bone Surgery"

ArthroCare is a medical device company that develops, manufactures, and markets an advanced surgical tool, a plasma electro-surgical system for cutting and removing tissue. The hand-held electrical discharge device produces plasma in a biocompatible conductive fluid and tissue to which it is applied during surgery. Its products allow surgeons to operate with increased precision and accuracy, limiting damage to surrounding tissue thereby reducing pain and speeding recovery for the patient. In the past, the design of ArthfoCare's plasma wands has been an empirical undertaking. One goal of this R&D program was to put the phenomena involved on a sound scientific footing, allowing optimization of existing plasma based electro-surgery system technology, and the design and manufacture of new and improved kinds of scalpels, in particular for the surgical cutting of bone. Another important related goal of the program was to develop, through an experimental approach, new plasma wand approaches to the cutting ('shaving') of hard bone tissue. The goals of the CRADA were accomplished - computer models were used to predict important parameters of the plasma discharge and the bone environment, and several different approaches to bone-shaving were developed and demonstrated. The primary goal of the project was to develop and demonstrate an atmospheric-pressure plasma tool that is suitable for surgical use for shaving bone in humans. This goal was accomplished, in fact with several different alternative plasma approaches. High bone ablation speeds were measured. The use of probes ('plasma wand' - the surgical tool) with moving active electrodes was also explored, and there are advantages to this method. Another important feature is that the newly-exposed bone surface have only a very thin necrosis layer; this feature was demonstrated. This CRADA has greatly advanced our understanding of bone removal by atmospheric pressure plasmas in liquid, and puts ArthroCare in a good position to develop the techniques for commercial (surgical) application.

43 PARTICLE ACCELERATORS↗

Mid-circuit Measurement & Branching in QSCOUT: A Ping-Pong Teleportation Exemplar Program

This document is intended to help users program the new mid-circuit measurement (MCM) and classical branching capabilities of the Quantum Scientific Computing Open User Testbed (QSCOUT). Here, we present and explain an exemplar “ping-pong teleportation” program that makes repeated MCM and branching calls. The program is written in Jaqal, the quantum assembly language used by QSCOUT. This document is intended to accompany a companion Jupyter notebook Exemplar_one_bit_teleportation_pingpong.ipynb.

97 MATHEMATICS AND COMPUTING↗

Towards reverse mode automatic differentiation of Kokkos-based codes

Derivative computation is a key component of optimization, sensitivity analysis, uncertainty quantification, and the solving of nonlinear problems. Automatic differentiation (AD) is a powerful technique for evaluating such derivatives, and in recent years, has been integrated into programming environments such as Jax, PyTorch, and TensorFlow to support derivative computations needed for training of machine learning models, facilitating wide-spread use of these technologies. The C++ language has become the de facto standard for scientific computing due to numerous factors, yet language complexity has made the wide-spread adoption of AD technologies for C++ difficult, hampering the incorporation of powerful differentiable programming approaches into C++ scientific simulations. This is exacerbated by the increasing emergence of architectures, such as GPUs, with limited memory capabilities and requiring massive thread-level concurrency. C++ AD tools must effectively use these environments to bring novel scientific simulations to next-generation DOE experimental and observational facilities. In this project, we investigated source transformation-based automatic differentiation using LLVM compiler infrastructure to automatically generate portable and efficient gradient computations of Kokkos-based code. We have demonstrated that our proposed strategy is feasible by investigating the usage of a prototype LLVM-based source transformation tool to generate gradients of simple functions made of sequences of simple Kokkos parallel regions. Speedups of up to 500x compared to Sacado were observed on NVIDIA V100 GPU.

97 MATHEMATICS AND COMPUTING↗