Search NASA⌕ Search

SEARCH · Search NASA

Results for “Source Code Analysis”

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 235 records · Page 13

Further Development and Implementation of Implicit Time Marching in the CAA Code

The fellowship research project continued last-year work on implementing implicit time marching concepts in the Broadband Aeroacoustic System Simulator (BASS) code. This code is being developed at NASA Glenn for analysis of unsteady flow and sources of noise in propulsion systems, including jet noise and fan noise.

Golubev, Vladimir V.↗

Precise and Scalable Static Program Analysis of NASA Flight Software

Recent NASA mission failures (e.g., Mars Polar Lander and Mars Orbiter) illustrate the importance of having an efficient verification and validation process for such systems. One software error, as simple as it may be, can cause the loss of an expensive mission, or lead to budget overruns and crunched schedules. Unfortunately, traditional verification methods cannot guarantee the absence of errors in software systems. Therefore, we have developed the CGS static program analysis tool, which can exhaustively analyze large C programs. CGS analyzes the source code and identifies statements in which arrays are accessed out of bounds, or, pointers are used outside the memory region they should address. This paper gives a high-level description of CGS and its theoretical foundations. It also reports on the use of CGS on real NASA software systems used in Mars missions (from Mars PathFinder to Mars Exploration Rover) and on the International Space Station.

Brat, G.↗

Directed Incremental Symbolic Execution

The last few years have seen a resurgence of interest in the use of symbolic execution -- a program analysis technique developed more than three decades ago to analyze program execution paths. Scaling symbolic execution and other path-sensitive analysis techniques to large systems remains challenging despite recent algorithmic and technological advances. An alternative to solving the problem of scalability is to reduce the scope of the analysis. One approach that is widely studied in the context of regression analysis is to analyze the differences between two related program versions. While such an approach is intuitive in theory, finding efficient and precise ways to identify program differences, and characterize their effects on how the program executes has proved challenging in practice. In this paper, we present Directed Incremental Symbolic Execution (DiSE), a novel technique for detecting and characterizing the effects of program changes. The novelty of DiSE is to combine the efficiencies of static analysis techniques to compute program difference information with the precision of symbolic execution to explore program execution paths and generate path conditions affected by the differences. DiSE is a complementary technique to other reduction or bounding techniques developed to improve symbolic execution. Furthermore, DiSE does not require analysis results to be carried forward as the software evolves -- only the source code for two related program versions is required. A case-study of our implementation of DiSE illustrates its effectiveness at detecting and characterizing the effects of program changes.

Person, Suzette↗

An Integrated Design Tool for Tow-Steered Laminates of Composites in Abaqus and MSC.Patran/Nastran

Tow-steered composites can be tailored for optimal mechanical performance of lightweight structures. However, there are no commercial-grade design tools for tow-steered composite structures, which hinders the design innovation of tow-steered composites in realistic structures. The novelty of this paper is to develop an integrated design framework along with the development of graphical user interface (GUI) plug-ins in commercial finite element (FE) software Abaqus and MSC.Patran/Nastran. The GUI plug-ins take all the design setups and communicate with external codes for the material modeling and optimization, and hence provide a unified design environment within the FE codes. The mechanics of structure genome (MSG) plate model computes shell element properties based on user-defined fiber paths and layup, which are defined via the GUI plug-ins. The optimization is performed by an open-source code, Dakota, from Sandia National Laboratories (Sandia), which also coordinates the structural analysis, material modeling, and optimization in design iterations. Two examples are presented to demonstrate the user-friendliness and versatility of the developed GUI plug-ins. The developed tools will ease the design process and facilitate the application of tow-steered composites in realistic aerospace structures.

Xin Liu↗

An Integrated Design Tool for Tow-Steered Laminates of Composites in Abaqus and MSC.Patran/Nastran

Tow-steered composites can be tailored for optimal mechanical performance of lightweight structures. However, there are no commercial-grade design tools for tow-steered composite structures, which hinders the design innovation of tow-steered composites in realistic structures. The novelty of this paper is to develop an integrated design framework along with the development of graphical user interface (GUI) plug-ins in commercial finite element (FE) software Abaqus and MSC.Patran/Nastran. The GUI plug-ins take all the design setups and communicate with external codes for the material modeling and optimization, and hence provide a unified design environment within the FE codes. The mechanics of structure genome (MSG) plate model computes shell element properties based on user-defined fiber paths and layup, which are defined via the GUI plug-ins. The optimization is performed by an open-source code, Dakota, from Sandia National Laboratories (Sandia), which also coordinates the structural analysis, material modeling, and optimization in design iterations. Two examples are presented to demonstrate the user-friendliness and versatility of the developed GUI plug-ins. The developed tools will ease the design process and facilitate the application of tow-steered composites in realistic aerospace structures.

Xin Liu↗

MicrobesOnline: an integrated portal for comparative and functional genomics

Since 2003, MicrobesOnline (http://www.microbesonline.org) has been providing a community resource for comparative and functional genome analysis. The portal includes over 1000 complete genomes of bacteria, archaea and fungi and thousands of expression microarrays from diverse organisms ranging from model organisms such as Escherichia coli and Saccharomyces cerevisiae to environmental microbes such as Desulfovibrio vulgaris and Shewanella oneidensis. To assist in annotating genes and in reconstructing their evolutionary history, MicrobesOnline includes a comparative genome browser based on phylogenetic trees for every gene family as well as a species tree. To identify co-regulated genes, MicrobesOnline can search for genes based on their expression profile, and provides tools for identifying regulatory motifs and seeing if they are conserved. MicrobesOnline also includes fast phylogenetic profile searches, comparative views of metabolic pathways, operon predictions, a workbench for sequence analysis and integration with RegTransBase and other microbial genome resources. The next update of MicrobesOnline will contain significant new functionality, including comparative analysis of metagenomic sequence data. Programmatic access to the database, along with source code and documentation, is available at http://microbesonline.org/programmers.html.

59 BASIC BIOLOGICAL SCIENCES↗

Verification, Validation, and Solution Quality in Computational Physics: CFD Methods Applied to Ice Sheet Physics

Procedures and methods for veri.cation of coding algebra and for validations of models and calculations used in the aerospace computational fluid dynamics (CFD) community would be ef.cacious if used by the glacier dynamics modeling community. This paper presents some of those methods, and how they might be applied to uncertainty management supporting code veri.cation and model validation for glacier dynamics. The similarities and differences between their use in CFD analysis and the proposed application of these methods to glacier modeling are discussed. After establishing sources of uncertainty and methods for code veri.cation, the paper looks at a representative sampling of veri.cation and validation efforts that are underway in the glacier modeling community, and establishes a context for these within an overall solution quality assessment. Finally, a vision of a new information architecture and interactive scienti.c interface is introduced and advocated.

Thompson, David E.↗

MCNP Version 6.2 Release Notes

Monte Carlo N-Particle or MCNP ® is a general-purpose Monte Carlo radiation-transport code designed to track many particle types over broad ranges of energies. This MCNP Version 6.2 follows the MCNP6.1.1 beta version and has been released in order to provide the radiation transport community with the latest feature developments and bug fixes for MCNP. Since the last release of MCNP major work has been conducted to improve the code base, add features, and provide tools to facilitate ease of use of MCNP version 6.2 as well as the analysis of results. These release notes serve as a general guide for the new/improved physics, source, data, tallies, unstructured mesh, code enhancements and tools. For more detailed information on each of the topics, please refer to the appropriate references or the user manual which can be found at http://mcnp.lanl.gov. This release of MCNP version 6.2 contains 39 new features in addition to 172 bug fixes and code enhancements. There are still some 33 known issues the user should familiarize themselves with (see Appendix).

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

External Dependencies-Driven Architecture Discovery and Analysis of Implemented Systems

A method for architecture discovery and analysis of implemented systems (AIS) is disclosed. The premise of the method is that architecture decisions are inspired and influenced by the external entities that the software system makes use of. Examples of such external entities are COTS components, frameworks, and ultimately even the programming language itself and its libraries. Traces of these architecture decisions can thus be found in the implemented software and is manifested in the way software systems use such external entities. While this fact is often ignored in contemporary reverse engineering methods, the AIS method actively leverages and makes use of the dependencies to external entities as a starting point for the architecture discovery. The AIS method is demonstrated using the NASA's Space Network Access System (SNAS). The results show that, with abundant evidence, the method offers reusable and repeatable guidelines for discovering the architecture and locating potential risks (e.g. low testability, decreased performance) that are hidden deep in the implementation. The analysis is conducted by using external dependencies to identify, classify and review a minimal set of key source code files. Given the benefits of analyzing external dependencies as a way to discover architectures, it is argued that external dependencies deserve to be treated as first-class citizens during reverse engineering. The current structure of a knowledge base of external entities and analysis questions with strategies for getting answers is also discussed.

Ganesan, Dharmalingam↗

Recent Improvements To CINDER2008 and Activation Analysis Tools

CINDER2008 is a transmutation code that calculates induced radioactivity for either reactor- or accelerator-driven radiation sources. Several Perl scripts have been developed to treat multi-cell problems in combination with either the radiation transport code MCNPX or a special version of MCNPX that writes residual nuclide tallies from model-based physics directly in the MCNPX output file. These scripts simplify the preparation of CINDER input, and can use CINDER output to prepare the source term for a subsequent MCNPX run to calculate dose rates due to activated material. In addition, these scripts support calculations with the transmutation codes SP-FISPACT and ORIHET-3. A number of improvements have been made to CINDER, its data libraries, and the Perl scripts, including (1) substantial corrections to the data libraries, (2) inclusion of recent revisions to USDOE HC-2/HC-3 thresholds and the corresponding thresholds for regulatory bodies in other countries, (3) the ability to run the CINDER accident analysis tool through the script input file, and (4) an easier way to write the script input file when treating a large number of cells. Some features of running CINDER and a number of example problems are discussed.

Micklich, Bradley J.↗

Optimality Of Variable-Length Codes

Report presents analysis of performances of conceptual Rice universal noiseless coders designed to provide efficient compression of data over wide range of source-data entropies. Includes predictive preprocessor that maps source data into sequence of nonnegative integers and variable-length-coding processor, which adapts to varying entropy of source data by selecting whichever one of number of optional codes yields shortest codeword.

Yeh, Pen-Shu↗

CDM analysis

The C Data Manager (CDM) is an advanced tool for creating an object-oriented database and for processing queries related to objects stored in that database. The CDM source code was purchased and will be modified over the course of the Arachnid project. In this report, the modified CDM is referred to as MCDM. Using MCDM, a detailed series of experiments was designed and conducted on a Sun Sparcstation. The primary results and analysis of the CDM experiment are provided in this report. The experiments involved creating the Long-form Faint Source Catalog (LFSC) database and then analyzing it with respect to following: (1) the relationships between the volume of data and the time required to create a database; (2) the storage requirements of the database files; and (3) the properties of query algorithms. The effort focused on defining, implementing, and analyzing seven experimental scenarios: (1) find all sources by right ascension--RA; (2) find all sources by declination--DEC; (3) find all sources in the right ascension interval--RA1, RA2; (4) find all sources in the declination interval--DEC1, DEC2; (5) find all sources in the rectangle defined by--RA1, RA2, DEC1, DEC2; (6) find all sources that meet certain compound conditions; and (7) analyze a variety of query algorithms. Throughout this document, the numerical results obtained from these scenarios are reported; conclusions are presented at the end of the document.

Larson, Robert E.↗

Sources of helicopter rotor hub inplane shears

Sources of helicopter rotor hub inplane shears are identified using simplified equations and the full aeroelastic analysis code, CAMRAD/JA (Johnson, 1988). Analytical results are obtained for an articulated rotor operating at moderate thrust and high airspeed. It is found that the blade chordwise inplane shear, which includes the aerodynamic component, the Coriolis contribution, and the inertial component, and the hub inplane shears are strongly dependent on the out-of-plane response. The sources of helicopter rotor hub inplane shears lie not only in the inplane response but depend on the flap and elastic flatwise responses/modes.

Kottapalli, Sesi↗

Development, Testing and Validation of a Waste Assay System for the Measurement and Characterisation of Active Spent Fuel Element Debris From UK Magnox Reactors - 12533

This paper describes the development, testing and validation of a waste measurement instrument for characterising active remote handled radioactive waste arising from the operation of Magnox reactors in the United Kingdom. Following operation in UK Magnox gas cooled reactors and a subsequent period of cooling, parts of the magnesium-aluminium alloy cladding were removed from spent fuel and the uranium fuel rods with the remaining cladding were removed to Sellafield for treatment. The resultant Magnox based spent fuel element debris (FED), which constitutes active intermediate level waste (ILW) has been stored in concrete vaults at the reactor sites. As part of the decommissioning of the FED vaults the FED must be removed, measured and characterised and placed in intermediate storage containers. The present system was developed for use at the Trawsfynydd nuclear power station (NPS), which is in the decommissioning phase, but the approach is potentially applicable to FED characterisation at all of the Magnox reactors. The measurement system consists of a heavily shielded and collimated high purity Germanium (HPGe) detector with electromechanical cooling and a high count-rate preamplifier and digital multichannel pulse height analyser. The HPGe based detector system is controlled by a software code, which stores the measurement result and allows a comprehensive analysis of the measured FED data. Fuel element debris is removed from the vault and placed on a tray to a uniform depth of typically 10 cm for measurement. The tray is positioned approximately 1.2 meters above the detector which views the FED through a tungsten collimator with an inverted pyramid shape. At other Magnox sites the positions may be reversed with the shielded and collimated HPGe detector located above the tray on which the FED is measured. A comprehensive Monte Carlo modelling and analysis of the measurement process has been performed in order to optimise the measurement geometry and eliminate interferences from radioactive sources and FED in the immediate vicinity of the measurement position. The detector system has been calibrated and high activity radioactive sources of Cs-137, Co-60 and Na-22 have been used to validate the measurement process. The data acquisition and analysis software code has been tested and validated in keeping with the software quality assurance requirements of both ISO:9001-2008 - TICK-IT in the UK and NQA-1. The measurement and analysis system has been comprehensively tested with high activity sources, is flexible and may be applicable to a wide range of remote handled radioactive waste measurement applications. It is due to be installed at Trawsfynydd NPS later this year. This paper describes the Waste Tray Assay System (WTAS) that has been developed for the measurement of Magnox FED waste. The WTAS has been tested with a range of radioactive sources and its operation has been simulated with benchmarked MCNP Monte Carlo calculations. The measurement software has been validated as has the operation of the system for a range of strong radioactive sources. A system based on the design is due for installation and operation in 2012. The system has application to the measurement of Magnox Fuel Element Debris (FED) waste at other Magnox reactor sites. The major design objective of the WTAS that has been achieved is the ability of the assay system to determine the content of Cs-137, and in turn to enable the fissile burden to be assessed using a radionuclide fingerprint, in the presence of higher and highly variable quantities of Co-60, typically from nimonic springs. The approach can be used in other Magnox FED waste configurations where the detector is located above the FED waste sorting tray and where the collimation is fixed below the detector and at a distance above the tray. In this case, which has also been investigated, there are different shielding problems and mechanical support issues. The extensive use of MCNP Monte Carlo modelling to simulate the geometry of the sorting cell and the distribution of radioactive sources has helped to ensure that all of the detector shielding requirements are addressed and suitable Cs-137 and Co-60 discrimination can be achieved. The WTAS in its present form or in other configurations has relevance to the measurement of other active ILW and highly active RH waste. Examples include high activity RH LLW and RH TRU (Transuranic) waste as defined in the United States arising from both commercial nuclear and Department of Energy (DOE) operations. The analysis is able to analyse a range of radionuclides beyong those expected in the Magnox FED cases. (authors)

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

Measurement and analysis of GPU-accelerated applications with HPCToolkit

To address the challenge of performance analysis on the US DOE’s forthcoming exascale supercomputers, Rice University has been extending its HPCToolkit performance tools to support measurement and analysis of GPU-accelerated applications. To help developers understand the performance of accelerated applications as a whole, HPCToolkit’s measurement and analysis tools attribute metrics to calling contexts that span both CPUs and GPUs. To measure GPU-accelerated applications efficiently, HPCToolkit employs a novel wait-free data structure to coordinate monitoring and attribution of GPU performance. To help developers understand the performance of complex GPU code generated from high-level programming models, HPCToolkit constructs sophisticated approximations of call path profiles for GPU computations. To support fine-grained analysis and tuning, HPCToolkit uses PC sampling and instrumentation to measure and attribute GPU performance metrics to source lines, loops, and inlined code. To supplement fine-grained measurements, HPCToolkit can measure GPU kernel executions using hardware performance counters. To provide a view of how an execution evolves over time, HPCToolkit can collect, analyze, and visualize call path traces within and across nodes. Finally, on NVIDIA GPUs, HPCToolkit can derive and attribute a collection of useful performance metrics based on measurements using GPU PC samples. Here, we illustrate HPCToolkit’s new capabilities for analyzing GPU-accelerated applications with several codes developed as part of the Exascale Computing Project.

97 MATHEMATICS AND COMPUTING↗

An Uncertainty Analysis of the Hydrogen Source Term for a Station Blackout Accident in Sequoyah Using MELCOR 1.8.5

A methodology for using the MELCOR code with the Latin Hypercube Sampling method was developed to estimate uncertainty in various predicted quantities such as hydrogen generation or release of fission products under severe accident conditions. In this case, the emphasis was on estimating the range of hydrogen sources in station blackout conditions in the Sequoyah Ice Condenser plant, taking into account uncertainties in the modeled physics known to affect hydrogen generation. The method uses user-specified likelihood distributions for uncertain model parameters, which may include uncertainties of a stochastic nature, to produce a collection of code calculations, or realizations, characterizing the range of possible outcomes. Forty MELCOR code realizations of Sequoyah were conducted that included 10 uncertain parameters, producing a range of in-vessel hydrogen quantities. The range of total hydrogen produced was approximately 583kg ± 131kg. Sensitivity analyses revealed expected trends with respected to the parameters of greatest importance, however, considerable scatter in results when plotted against any of the uncertain parameters was observed, with no parameter manifesting dominant effects on hydrogen generation. It is concluded that, with respect to the physics parameters investigated, in order to further reduce predicted hydrogen uncertainty, it would be necessary to reduce all physics parameter uncertainties similarly, bearing in mind that some parameters are inherently uncertain within a range. It is suspected that some residual uncertainty associated with modeling complex, coupled and synergistic phenomena, is an inherent aspect of complex systems and cannot be reduced to point value estimates. The probabilistic analyses such as the one demonstrated in this work are important to properly characterize response of complex systems such as severe accident progression in nuclear power plants.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Refining HPCToolkit for application performance analysis at exascale

As part of the US Department of Energy’s Exascale Computing Project (ECP), Rice University has been refining its HPCToolkit performance tools to better support measurement and analysis of applications executing on exascale supercomputers. To efficiently collect performance measurements of GPU-accelerated applications, HPCToolkit employs novel non-blocking data structures to communicate performance measurements between tool threads and application threads. To attribute performance information in detail to source lines, loop nests, and inlined call chains, HPCToolkit performs parallel analysis of large CPU and GPU binaries involved in the execution of an exascale application to rapidly recover mappings between machine instructions and source code. To analyze terabytes of performance measurements gathered during executions at exascale, HPCToolkit employs distributed-memory parallelism, multithreading, sparse data structures, and out-of-core streaming analysis algorithms. To support interactive exploration of profiles up to terabytes in size, HPCToolkit’s hpcviewer graphical user interface uses out-of-core methods to visualize performance data. The result of these efforts is that HPCToolkit now supports collection, analysis, and presentation of profiles and traces of GPU-accelerated applications at exascale. These improvements have enabled HPCToolkit to efficiently measure, analyze and explore terabytes of performance data for executions using as many as 64K MPI ranks and 64K GPU tiles on ORNL’s Frontier supercomputer. HPCToolkit’s support for measurement and analysis of GPU-accelerated applications has been employed to study a collection of open-science applications developed as part of ECP. This paper reports on these experiences, which provided insight into opportunities for tuning applications, strengths and weaknesses of HPCToolkit itself, as well as unexpected behaviors in executions at exascale.

Adhianto, Laksono↗

As-Run ATR Physics Evaluation for the UCF-1 HSIS Experiment

This Engineering Calculations and Analysis Report (ECAR) documents the Advanced Test Reactor (ATR) detailed MCNP full core model physics analysis performed to support the irradiation of the University of Central Florida (UCF-1) Hydraulic Shuttle Irradiation System Experiment in the ATR B-7 position. The purpose of this analysis is to calculate: • The as-run neutron and gamma heating rates for the experiment components (W/g); • The as-run DPA for the experiment specimens after 20 (test train 1) and 2 (test train 2) days of irradiation in the ATR B-7 position (neutrons/cm2-sec); • The radionuclide source term after 2 days and 20 days of irradiation in the ATR B-7 position; • The decay heat associated with the UCF-1 radionuclide source term. These calculations were performed using the computer codes MCNP and ORIGEN2. The neutronics model, analysis details, and results are presented in the attached report.

11 - NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗