Search NASA⌕ Search

SEARCH · Search NASA

Results for “code optimization”

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 415 records · Page 23

Portability for GPU-accelerated molecular docking applications for cloud and HPC: can portable compiler directives provide performance across all platforms?

High-throughput structure-based screening of drug-like molecules has become a common tool in biomedical research. Recently, acceleration with graphics processing units (GPUs) has provided a large performance boost for molecular docking programs. Both cloud and high-performance computing (HPC) resources have been used for large screens with molecular docking programs; while NVIDIA GPUs have dominated cloud and HPC resources, new vendors such as AMD and Intel are now entering the field, creating the problem of software portability across different GPUs. Ideally, software productivity could be maximized with portable programming models that are able to maintain high performance across architectures. While in many cases compiler directives have been used as an easy way to offload parallel regions of a CPU-based program to a GPU accelerator, they may also be an attractive programming model for providing portability across different GPU vendors, in which case the porting process may proceed in the reverse direction: from low-level, architecture-specific code to higher-level directive-based abstractions. MiniMDock is a new mini-application (miniapp) designed to capture the essential computational kernels found in molecular docking calculations, such as are used in phar-maceutical drug discovery efforts, in order to test different solutions for porting across GPU architectures. Here we extend MiniMDock to GPU offloading with OpenMP directives, and compare to performance of kernels using CUDA and HIP on NVIDIA and AMD GPUs, respectively, as well as across different compilers, exploring performance bottlenecks. We document this reverse-porting process, from highly optimized device code to a higher-level version using directives, compare code structure, and describe barriers that were overcome in this effort.

Thavappiragasam, Mathialakan↗

An optimized model and test of the China's first high temperature parabolic trough solar receiver

The vacuum solar receiver is the key component of a parabolic trough solar plant, which plays a prominent role in the gross system efficiency. Recently, China's first high temperature vacuum receiver, Sanle-3 HCE, has been developed and produced by Southeast University and Sanle Electronic Group. Before being utilized in China's first parabolic trough solar plant, accurately estimating the thermal properties of this new receiver is important. This paper first establishes and optimizes a 1-D theoretical model at Matlab program to compute the receiver's major heat loss through glass envelope, and then systematically analyzes the major influence factors of heat loss. With the laboratorial steady state test stand, the heat losses of both good vacuum and non-vacuum Sanle-3 receivers were surveyed. Comparison shows the original 1-D model agrees with the ends covered test while remarkably deviating from end exposed test. For the purpose of identifying the influence of receiver's end to total heat loss, an additional 3-D model is built by CFD software to further investigate the different heat transfer processes of receiver's end components. The 3-D end model is verified by heating power and IR temperature distribution images in the test. Combining the optimized 1-D model with the new 3-D end model, the comparison with test data shows a good accordance. At the same time the heat loss curve and emittance curve of this new receiver are given and compared with those of several other existing receivers as references. (author)

14 SOLAR ENERGY↗

SU-E-T-786: Utility of Gold Wires to Optimize Intensity Modulation Capacity of a Novel Directional Modulated Brachytherapy Tandem Applicator for Image Guided Cervical Cancer Brachytherapy

Purpose: To evaluate the impact of using gold wires to differentially fill various channels on plan quality compared with conventional T&R applicator, inside a novel directional modulated brachytherapy (DMBT) tandem applicator for cervical cancer brachytherapy. Materials and Methods: The novel DMBT tandem applicator has a 5.4-mm diameter MR-compatible tungsten alloy enclosed in a 0.3-mm thick plastic tubing that wraps around the tandem. To modulate the radiation intensity, 6 symmetric peripheral holes of 1.3-mm diameter are grooved along the tungsten alloy rod. These grooved holes are differentially filled with gold wires to generate various degrees of directional beams. For example, three different fill patterns of 1) all void, 2) all filled except the hole containing the 192-Ir source, and 3) two adjacent holes to the 192-Ir source filled were Monte Carlo simulated. The resulting 3D dose distributions were imported into an in-house-coded inverse optimization planning system to generate HDR brachytherapy clinical plans for 19 patient cases. All plans generated were normalized to the same D90 as the clinical plans and D2cc doses of OARs were evaluated. Prescription ranged between 15 and 17.5Gy. Results: In general, the plans in case 1) resulted in the highest D2cc doses for the OARs with 11.65±2.30Gy, 7.47±3.05Gy, and 9.84±2.48Gy for bladder, rectum, and sigmoid, respectively, although the differences were small. For the case 2), D2cc doses were 11.61±2.29Gy, 7.41±3.07Gy, and 9.75±2.45Gy, respectively. And, for the case 3), D2cc doses were 11.60±2.28Gy, 7.41±3.05Gy, and 9.74±2.45Gy, respectively. Difference between 1) and 2) cases were small with the average D2cc difference of <0.64%. Difference between 1) and 3) cases were even smaller with the average D2cc difference of <0.1%. Conclusions: There is a minimal clinical benefit by differentially filling grooved holes in the novel DMBT tandem applicator for image guided cervical cancer brachytherapy.

60 APPLIED LIFE SCIENCES↗

Program user's manual for optimizing the design of a liquid or gaseous propellant rocket engine with the automated combustor design code AUTOCOM

This computer program manual describes in two parts the automated combustor design optimization code AUTOCOM. The program code is written in the FORTRAN 4 language. The input data setup and the program outputs are described, and a sample engine case is discussed. The program structure and programming techniques are also described, along with AUTOCOM program analysis.

Reichel, R. H.↗

Mission Analysis, Operations, and Navigation Toolkit Environment (Monte) Version 040

Monte is a software set designed for use in mission design and spacecraft navigation operations. The system can process measurement data, design optimal trajectories and maneuvers, and do orbit determination, all in one application. For the first time, a single software set can be used for mission design and navigation operations. This eliminates problems due to different models and fidelities used in legacy mission design and navigation software. The unique features of Monte 040 include a blowdown thruster model for GRAIL (Gravity Recovery and Interior Laboratory) with associated pressure models, as well as an updated, optimalsearch capability (COSMIC) that facilitated mission design for ARTEMIS. Existing legacy software lacked the capabilities necessary for these two missions. There is also a mean orbital element propagator and an osculating to mean element converter that allows long-term orbital stability analysis for the first time in compiled code. The optimized trajectory search tool COSMIC allows users to place constraints and controls on their searches without any restrictions. Constraints may be user-defined and depend on trajectory information either forward or backwards in time. In addition, a long-term orbit stability analysis tool (morbiter) existed previously as a set of scripts on top of Monte. Monte is becoming the primary tool for navigation operations, a core competency at JPL. The mission design capabilities in Monte are becoming mature enough for use in project proposals as well as post-phase A mission design. Monte has three distinct advantages over existing software. First, it is being developed in a modern paradigm: object- oriented C++ and Python. Second, the software has been developed as a toolkit, which allows users to customize their own applications and allows the development team to implement requirements quickly, efficiently, and with minimal bugs. Finally, the software is managed in accordance with the CMMI (Capability Maturity Model Integration), where it has been ap praised at maturity level 3.

Sunseri, Richard F.↗

Simit: A Language for Physical Simulation

With existing programming tools, writing high-performance simulation code is labor intensive and requires sacrificing readability and portability. Here, the alternative is to prototype simulations in a high-level language like Matlab, thereby sacrificing performance. The Matlab programming model naturally describes the behavior of an entire physical system using the language of linear algebra. However, simulations also manipulate individual geometric elements, which are best represented using linked data structures like meshes. Translating between the linked data structures and linear algebra comes at significant cost, both to the programmer and to the machine. High-performance implementations avoid the cost by rephrasing the computation in terms of linked or index data structures, leaving the code complicated and monolithic, often increasing its size by an order of magnitude. In this article, we present Simit, a new language for physical simulations that lets the programmer view the system both as a linked data structure in the form of a hypergraph and as a set of global vectors, matrices, and tensors depending on what is convenient at any given time. Simit provides a novel assembly construct that makes it conceptually easy and computationally efficient to move between the two abstractions. Using the information provided by the assembly construct, the compiler generates efficient in-place computation on the graph. We demonstrate that Simit is easy to use: a Simit program is typically shorter than a Matlab program; that it is high performance: a Simit program running sequentially on a CPU performs comparably to hand-optimized simulations; and that it is portable: Simit programs can be compiled for GPUs with no change to the program, delivering 4 to 20× speedups over our optimized CPU code.

97 MATHEMATICS AND COMPUTING↗

SU-G-BRC-04: Collimator Angle Optimization in Volumetric Modulated Arc Therapy

Purpose: Volumetric modulated arc therapy (VMAT) has revolutionized radiation treatment by decreasing treatment time and monitor units, thus reducing scattered and whole body radiation dose. As the collimator angle changes the apparent leaf gap becomes larger which can impact plan quality, organ at risk (OAR) sparing as well as IMRT QA passing rate which is investigated. Methods: Two sites (prostate and head and neck) that have maximum utilization of VMAT were investigated. Two previously treated VMAT patients were chosen. For each patient 10 plans were created by maintaining constant optimization constraints while varying collimator angles from 0-90 deg at an interval of 10 degrees for the first arc and the appropriate complimentary angle for the second arc. Plans were created with AAA algorithm using 6 MV beam on a Varian IX machine with Millennium 120 MLC. The dose-volume histogram (DVH) for each plan was exported and dosimetric parameters (D98, D95, D50, D2) as well homogeneity index (HI) and conformity index (CI) were computed. Each plan was validated for QA using ArcCheck with gamma index passing criteria of 2%/2 mm and 3%/3 mm. Additionally, normal tissue complication probability (NTCP) for each OAR was computed using Uzan-Nahum software. Results: The CI values for both sites had no impact as target volume coverage in every collimator angle were the same since it was optimized for adequate coverage. The HI which is representative of DVH gradient or dose uniformity in PTV showed a clear trend in both sites. The NTCP for OAR (brain and cochlea) in H&N plan and (bladder and rectum) in prostate plan showed a distinct superiority for collimator angles between 15-30 deg. The gamma passing rates were not correlated with angle. Conclusion: Based on CI, HI, NTCP and gamma passing index, it can be concluded that collimator angles should be maintained within 15–30 deg.

60 APPLIED LIFE SCIENCES↗

A LIBRARY OF THEORETICAL ULTRAVIOLET SPECTRA OF MASSIVE, HOT STARS FOR EVOLUTIONARY SYNTHESIS

We computed a comprehensive set of theoretical ultraviolet spectra of hot, massive stars with the radiation-hydrodynamics code WM-Basic. This model atmosphere and spectral synthesis code is optimized for computing the strong P Cygni type lines originating in the winds of hot stars, which are the strongest features in the ultraviolet spectral region. The computed set is suitable as a spectral library for inclusion in evolutionary synthesis models of star clusters and star-forming galaxies. The chosen stellar parameters cover the upper left Hertzsprung-Russell diagram at L {approx}> 10{sup 2.75} L {sub sun} and T {sub eff} {approx}> 20,000 K. The adopted elemental abundances are 0.05 Z {sub sun}, 0.2 Z {sub sun}, 0.4 Z {sub sun}, Z {sub sun}, and 2 Z {sub sun}. The spectra cover the wavelength range from 900 to 3000 A and have a resolution of 0.4 A. We compared the theoretical spectra to data of individual hot stars in the Galaxy and the Magellanic Clouds obtained with the International Ultraviolet Explorer and Far Ultraviolet Spectroscopic Explorer satellites and found very good agreement. We built a library with the set of spectra and implemented it into the evolutionary synthesis code Starburst99 where it complements and extends the existing empirical library toward lower chemical abundances. Comparison of population synthesis models at solar and near-solar composition demonstrates consistency between synthetic spectra generated with either library. We discuss the potential of the new library for the interpretation of the rest-frame ultraviolet spectra of star-forming galaxies. Properties that can be addressed with the models include ages, initial mass function, and heavy-element abundance. The library can be obtained both individually or as part of the Starburst99 package.

79 ASTRONOMY AND ASTROPHYSICS↗

A Framework for Robust Multivariable Optimization of Integrated Circuits in Space Applications

Application Specific Integrated Circuit (ASIC) design for space applications involves multiple challenges of maximizing performance, minimizing power and ensuring reliable operation in extreme environments. This is a complex multidimensional optimization problem which must be solved early in the development cycle of a system due to the time required for testing and qualification severely limiting opportunities to modify and iterate. Manual design techniques which generally involve simulation at one or a small number of corners with a very limited set of simultaneously variable parameters in order to make the problem tractable are inefficient and not guaranteed to achieve the best possible results within the performance envelope defined by the process and environmental requirements. What is required is a means to automate design parameter variation, allow the designer to specify operational constraints and performance goals, and to analyze the results in a way which facilitates identifying the tradeoffs defining the performance envelope over the full set of process and environmental corner cases. The system developed by the Mixed Signal ASIC Group (MSAG) at the Goddard Space Flight Center is implemented as framework of software modules, templates and function libraries. It integrates CAD tools and a mathematical computing environment, and can be customized for new circuit designs with only a modest amount of effort as most common tasks are already encapsulated. Customization is required for simulation test benches to determine performance metrics and for cost function computation. Templates provide a starting point for both while toolbox functions minimize the code required. Once a test bench has been coded to optimize a particular circuit, it is also used to verify the final design. The combination of test bench and cost function can then serve as a template for similar circuits or be re-used to migrate the design to different processes by re-running it with the new process specific device models. The system has been used in the design of time to digital converters for laser ranging and time-of-flight mass spectrometry to optimize analog, mixed signal and digital circuits such as charge sensitive amplifiers, comparators, delay elements, radiation tolerant dual interlocked (DICE) flip-flops and two of three voter gates.

DuMonthier, Jeffrey↗

Optimization of nonlinear turbulence in stellarators

We present new stellarator equilibria that have been optimized for reduced turbulent transport using nonlinear gyrokinetic simulations within the optimization loop. The optimization routine involves coupling the pseudo-spectral GPU-native gyrokinetic code GX with the stellarator equilibrium and optimization code DESC . Since using GX allows for fast nonlinear simulations, we directly optimize for reduced nonlinear heat fluxes. To handle the noisy heat flux traces returned by these simulations, we employ the simultaneous perturbation stochastic approximation (SPSA) method that only uses two objective function evaluations for a simple estimate of the gradient. We show several examples that optimize for both reduced heat fluxes and good quasi-symmetry as a proxy for low neoclassical transport. Finally, we run full transport simulations using the T3D stellarator transport code to evaluate the changes in the macroscopic profiles.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

MPMC and MCMD: Free High-Performance Simulation Software for Atomistic Systems

Advancements in parallel computing and hardware have allowed computational exploration of chemical systems of interest with unprecendented accuracy and efficiency. The typical development of molecular simulation software is initially inspired by a particular scientific inquiry. The softwares presented herein, MPMC (Massively Parallel Monte Carlo) and MCMD (Monte Carlo/Molecular Dynamics) were born out of a pursuit to simulate condensed phase physical and chemical interactions in porous materials. MPMC first began in 2005 and has been used for dozens of published results in the literature but has not yet been introduced in a standalone paper. MCMD is a more recent expansion and re-write with some published work, focused on adding molecular dynamics algorithms for transport and other time-dependent properties of chemical systems. Each software functions as a standalone with some unique and other overlapping features. Here, a driving aim of this work is to consider periodic, long-range polarization effects in classical simulation, and both codes are optimized to perform such calculations. Sample results will be presented which highlight methodically that inclusion of explicit polarization produces simulation results with predictive power which in general are in greater agreement with experiment than non-polarizable analogous simulations.

97 MATHEMATICS AND COMPUTING↗

Accelerating x-ray tracing for exascale systems using Kokkos

The upcoming exascale computing systems Frontier and Aurora will draw much of their computing power from GPU accelerators. The hardware for these systems will be provided by AMD and Intel, respectively, each supporting their own GPU programming model. The challenge for applications that harness one of these exascale systems will be to avoid lock-in and to preserve performance portability. We report here on our results of using Kokkos to accelerate a real-world application on NERSC's Perlmutter Phase 1 (using NVIDIA A100 accelerators) and Crusher, the testbed system for OLCF's Frontier (using AMD MI250X). By porting to Kokkos, we successfully ran the same X-ray tracing code on both systems and achieved speed-ups between 13 % and 66 % compared to the original CUDA code. Finally, these results are a highly encouraging demonstration of using Kokkos to accelerate production science code.

97 MATHEMATICS AND COMPUTING↗

Integrated State Estimation and Contingency Analysis Software Implementation using High Performance Computing Techniques

Power system simulation tools are traditionally developed in sequential mode and codes are optimized for single core computing only. However, the increasing complexity in the power grid models requires more intensive computation. The traditional simulation tools will soon not be able to meet the grid operation requirements. Therefore, power system simulation tools need to evolve accordingly to provide faster and better results for grid operations. This paper presents an integrated state estimation and contingency analysis software implementation using high performance computing techniques. The software is able to solve large size state estimation problems within one second and achieve a near-linear speedup of 9,800 with 10,000 cores for contingency analysis application. The performance evaluation is presented to show its effectiveness.

Chen, Yousu↗

Rapid discovery and evolution of nanosensors containing fluorogenic amino acids

Binding-activated optical sensors are powerful tools for imaging, diagnostics, and biomolecular sensing. However, biosensor discovery is slow and requires tedious steps in rational design, screening, and characterization. Here we report on a platform that streamlines biosensor discovery and unlocks directed nanosensor evolution through genetically encodable fluorogenic amino acids (FgAAs). Building on the classical knowledge-based semisynthetic approach, we engineer ~15 kDa nanosensors that recognize specific proteins, peptides, and small molecules with up to 100-fold fluorescence increases and subsecond kinetics, allowing real-time and wash-free target sensing and live-cell bioimaging. An optimized genetic code expansion chemistry with FgAAs further enables rapid (~3 h) ribosomal nanosensor discovery via the cell-free translation of hundreds of candidates in parallel and directed nanosensor evolution with improved variant-specific sensitivities (up to ~250-fold) for SARS-CoV-2 antigens. Altogether, this platform could accelerate the discovery of fluorogenic nanosensors and pave the way to modify proteins with other non-standard functionalities for diverse applications.

Biosensors↗

Design of a compact, permanent magnet electron cyclotron resonance ion source for proton and H{sub 2}{sup +} beam production

A 2.45 GHz microwave ion source was developed at China Institute of Atomic Energy (CIAE) for proton beam production of over 60 mA [B.-Q. Cui, Y.-W. Bao, L.-Q. Li, W.-S. Jiang, and R.-W. Wang, Proceedings of the High Current Electron Cyclotron Resonance (ECR) Ion Source for Proton Accelerator, APAC-2001, 2001 (unpublished)]. For various proton beam applications, another 2.45 GHz microwave ion source with a compact structure is designed and will be built at CIAE as well for high current proton beam production. It is also considered to be used for the test of H{sub 2}{sup +} beam, which could be injected into the central region model cyclotron at CIAE, and accelerated to 5 MeV before extraction by stripping. The required ECR magnetic field is supplied by all the permanent magnets rather than electrical solenoids and six poles. The magnetic field distribution provided by this permanent magnets configuration is a large and uniformly volume of ECR zone, with central magnetic field of a magnitude of {approx}875 Gs[T. Taylor and J. S. C. Wills, Nucl. Instrum. Methods Phys. Res. A 309, 37 (1991)]. The field adjustment at the extraction end can be implemented by moving the position of the magnet blocks. The results of plasma, coupling with 2.45 GHz microwave in the ECR zone inside the ion source are simulated by particle-in-cell code to optimize the density by adjusting the magnetic field distribution. The design configuration of the ion source will be summarized in the paper.

43 PARTICLE ACCELERATORS↗

Development of uncertainty-aware equation-of-state models: Application to copper

Sophisticated hydrodynamic codes are commonly used to understand and predict events relevant to natural and applied sciences. The degree to which these simulations reflect reality, however, is dependent on how well we understand the materials and underlying physics involved. These research communities need material models that communicate the uncertainty in the physical properties, which at their basest form comes from the uncertainty in the underlying experimental measurements. Additionally, we have constructed a new framework for using both experimental measurements and the associated experimental uncertainties to build equation-of-state models that reflect not only current best measurements but also the accuracy of those measurements. This method had been used to construct an ensemble of equation-of-state models for copper that communicates the experimental uncertainties in the data through the equation-of-state model, which is available for application in any simulation metric of interest.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

A 3D helical filament surrogate model for 3D tokamak equilibria

A novel approach for efficient representation of three-dimensional (3D) tokamak equilibria is investigated, where a set of helical current filaments occupying the plasma region are employed to resolve deviations from the two-dimensional (2D) axi-symmetric state. A discrete set of 3D filaments, located at rational surfaces for a given toroidal mode number n and following the 2D equilibrium field lines (thus forming closed current loops), are found to provide a surrogate model of 3D equilibria with reasonable accuracy. Specifically, application of the filament model to 3D perturbed equilibria, due to the resonant magnetic perturbation (RMP) in DIII-D and MAST-U discharges, reveals that (1) a single helical filament per rational surface is sufficient; (2) 21 such helical filaments are capable of representing the n = 2 3D response field in MAST-U with less than 10% relative error as compared to that computed by a full magnetohydrodynamic code; (3) optimizing currents (both amplitude and phase) flowing in 3D filaments with fixed geometry, the highest accuracy fitting is found to depend on the characteristics of the 3D equilibria such as the coil current phasing of the RMP coils in our case studies. Here, whis filament approach is also applicable for generating surrogate models of other type of 3D tokamak equilibria, including those during the initial phase of the plasma disruption.

MARS-F↗