Search NASA⌕ Search

SEARCH · Search NASA

Results for “Compilation modes”

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 19 records

Clacc: OpenACC for C/C++ in Clang

The Clacc project has developed OpenACC compiler, runtime, and profiling interface support for C/C++ by extending Clang and LLVM. A key Clacc design feature is that it translates OpenACC to OpenMP to leverage the OpenMP offloading support that is actively being developed for Clang and LLVM. A benefit of this design is support for two compilation modes: traditional compilation mode produces a binary, and source-to-source mode produces OpenMP source. Clacc has been deployed on Oak Ridge National Laboratory’s (ORNL’s) Frontier, on which Clacc is the only OpenACC implementation for C/C++. Clacc supports x86_64, POWER9, AMD GPUs, and NVIDIA GPUs. Clacc’s OpenACC profiling interface support has been integrated with TAU, which is also deployed on Frontier. While Clacc has always supported C as a base language, Clacc also has increasing C++ support, including support for Kokkos’s OpenACC back end. Clacc itself is hosted publicly on GitHub. In this paper, we describe Clacc’s design and mapping from OpenACC directives to OpenMP. We also present a performance evaluation on ORNL’s Frontier (AMD MI250x GPU offload) and Argonne National Laboratory’s (ANL’s) Polaris (NVIDIA A100 GPU offload) for various SPEC ACCEL and Kokkos OpenACC back end benchmarks.

97 MATHEMATICS AND COMPUTING↗

A Case Study on the HACCmk Routine in SYCL on Integrated Graphics

As opposed to the Open Computing Language (OpenCL) programming model in which host and device codes are generally written in different languages, the SYCL programming model can combine host and device codes for an application in a type-safe way to improve development productivity. In this paper, we chose the HACCmk routine, a representative compute-bound kernel, as a case study on the performance of the SYCL programming model targeting a heterogeneous computing device. More specifically, we introduced the SYCL programming model, presented the OpenCL and SYCL implementations of the routine, and compared the performance of the two implementations using the offline and online compilation on Intel (R) Iris (TM) Pro integrated GPUs. We found that the overhead of online compilation may become significant compared to the execution time of a kernel. Compared to the performance of OpenCL implementations, the SYCL implementation can maintain the performance using the offline compilation. The number of execution units in a GPU are critical to improving the raw performance of a compute-bound kernel.

Compilation modes↗

Variational Optical Phase Learning on a Continuous-Variable Quantum Compiler

Quantum process learning is a fundamental primitive that draws inspiration from machine learning with the goal of better studying the dynamics of quantum systems. One approach to quantum process learning is quantum compilation, whereby an analog quantum operation is digitized by compiling it into a series of basic gates. While there has been significant focus on quantum compiling for discrete-variable systems, the continuous-variable (CV) framework has received comparatively less attention. We present an experimental implementation of a CV quantum compiler that uses two-mode squeezed light to learn a Gaussian unitary operation. We demonstrate the compiler by learning a parameterized linear phase unitary through the use of target and control phase unitaries to demonstrate a factor of 5.4 increase in the precision of the phase estimation and a 3.6-fold acceleration in the time-to-solution metric when leveraging quantum resources. We further show how our approach can be extended to higher-dimensional compilation tasks. Our results are enabled by the tunable control of our cost landscape via variable squeezing, thus providing a critical framework to simultaneously increase precision and reduce time-to-solution.

97 MATHEMATICS AND COMPUTING↗

Efficient Trainability of Linear Optical Modules in Quantum Optical Neural Networks

The existence of “barren plateau landscapes” for generic discrete-variable quantum neural networks, which obstructs efficient gradient-based optimization of cost functions defined by global measurements, would be surprising in the case of generic linear optical modules in quantum optical neural networks due to the tunability of the intensity of continuous variable states and the relevant unitary group having exponentially smaller dimension. We demonstrate that coherent light in m modes can be generically compiled efficiently if the total intensity scales sublinearly with m, and extend this result to cost functions based on homodyne, heterodyne, or photon detection measurement statistics, and to noisy cost functions in the presence of attenuation. Here, we further demonstrate efficient trainability of m mode linear optical quantum circuits for variational mean field energy estimation of positive quadratic Hamiltonians for input states that do not have energy exponentially vanishing with m.

47 OTHER INSTRUMENTATION↗

Design and development of a structural mode control system

A program was conducted to compile and document some of the existing information about the conceptual design, development, and tests of the B-1 structural mode control system (SMCS) and its impact on ride quality. This report covers the following topics: (1) Rationale of selection of SMCS to meet ride quality criteria versus basic aircraft stiffening. (2) Key considerations in designing an SMCS, including vane geometry, rate and deflection requirements, power required, compensation network design, and fail-safe requirements. (3) Summary of key results of SMCS vane wind tunnel tests. (4) SMCS performance. (5) SMCS design details, including materials, bearings, and actuators. (6) Results of qualification testing of SMCS on the "Iron Bird" flight control simulator, and lab qualification testing of the actuators. (7) Impact of SMCS vanes on engine inlet characteristics from wind tunnel tests.

Source record↗

AERO-MAP: a data compilation and modeling approach to understand spatial variability in fine- and coarse-mode aerosol composition

Abstract. Aerosol particles are an important part of the Earth climate system, and their concentrations are spatially and temporally heterogeneous, as well as being variable in size and composition. Particles can interact with incoming solar radiation and outgoing longwave radiation, change cloud properties, affect photochemistry, impact surface air quality, change the albedo of snow and ice, and modulate carbon dioxide uptake by the land and ocean. High particulate matter concentrations at the surface represent an important public health hazard. There are substantial data sets describing aerosol particles in the literature or in public health databases, but they have not been compiled for easy use by the climate and air quality modeling community. Here, we present a new compilation of PM2.5 and PM10 surface observations, including measurements of aerosol composition, focusing on the spatial variability across different observational stations. Climate modelers are constantly looking for multiple independent lines of evidence to verify their models, and in situ surface concentration measurements, taken at the level of human settlement, present a valuable source of information about aerosols and their human impacts complementarily to the column averages or integrals often retrieved from satellites. We demonstrate a method for comparing the data sets to outputs from global climate models that are the basis for projections of future climate and large-scale aerosol transport patterns that influence local air quality. Annual trends and seasonal cycles are discussed briefly and are included in the compilation. Overall, most of the planet or even the land fraction does not have sufficient observations of surface concentrations – and, especially, particle composition – to characterize and understand the current distribution of particles. Climate models without ammonium nitrate aerosols omit ∼ 10 % of the globally averaged surface concentration of aerosol particles in both PM2.5 and PM10 size fractions, with up to 50 % of the surface concentrations not being included in some regions. In these regions, climate model aerosol forcing projections are likely to be incorrect as they do not include important trends in short-lived climate forcers.

Mahowald, Natalie M. (ORCID:000000022873997X)↗

Performance Investigation and Characterization of Scramjet and Dual-Mode Scramjet Flow-Fields

The following compilation documents significant deliverables under this grant. Note that this summary is extracted from a larger report provided to the Hyper-X office last year at the conclusion of the grant. Current status is documented of the ongoing JANNAF (Joint-Army-Navy-NASA-AirForce) Scramjet Test standards activity from the standpoint of the Analysis SubGroup of which the PI was requested by NASA to be chairman. Also included are some representative contributions to date from the Principle investigator relating to this activity.

Riggins, David W.↗

PIFCGT: A PIF autopilot design program for general aviation aircraft

This report documents the PIFCGT computer program. In FORTRAN, PIFCGT is a computer design aid for determing Proportional-Integral-Filter (PIF) control laws for aircraft autopilots implemented with a Command Generator Tracker (CGT). The program uses Linear-Quadratic-Regulator synthesis algorithms to determine feedback gains, and includes software to solve the feedforward matrix equation which is useful in determining the command generator tracker feedforward gains. The program accepts aerodynamic stability derivatives and computes the corresponding aerodynamic linear model. The nine autopilot modes that can be designed include four maneuver modes (ROLL SEL, PITCH SEL, HDG SEL, ALT SEL), four final approach models (APR GS, APR LOCI, APR LOCR, APR LOCP), and a BETA HOLD mode. The program has been compiled and executed on a CDC computer.

Broussard, J. R.↗

3D Representation of UAV-obstacle Collision Risk Under Off-nominal Conditions

Safe operations of autonomous unmanned aerial vehicles (UAVs) in low-altitude airspace with beyond visual line-of-sight (BVLOS) flights demand robust risk monitoring of airspace as well as of people and property on ground. One of the safety critical factors for UAV flights is the risk of collision with static and dynamic obstacles in proximity to its flight path. This paper presents a detailed formulation of risk of obstacle collision incorporating the effects of off-nominal conditions introduced by component failures, degraded controllability and environmental disturbances such as wind gusts. The risk is represented in terms of a matrix with rows corresponding to the likelihood of occurrence of collision and columns representing severity of collision to the vehicle and surrounding structures. Risk likelihood is generated using a Bayesian Belief Network (BBN) that compiles knowledge from related Failure Modes and Effects Analysis (FMEAs) and Subject Matter Experts (SMEs) to determine the probability of collision based on on-board sensor measurements indicative of vehicle health and controllability. Risk severity is computed utilizing a point-mass 3D kinematic model of the vehicle in presence of wind. The proposed risk factor is demonstrated on real flight data from experimental flights of an octocopter at NASA Langley Research Center in presence of simulated obstacles and wind conditions. Effect of varying wind conditions, level of controllability and obstacle measurement noise on the risk factor is demonstrated. The proposed approach enables risk-informed decision making for timely mitigation of current and future unsafe events in autonomous systems.

risk analysis↗

Cause and impact of low-frequency chirping modes in DIII-D hybrid discharges

Significant variations in MHD activity and fast-ion transport are observed in the DIIID high-beta, steady-state hybrid discharges with a mixture of Electron Cyclotron (EC) waves and Neutral Beam Injection (NBI). When Electron Cyclotron Heating (ECH) or Current Drive (ECCD) is applied, Alfven Eigenmodes (AEs) are usually suppressed and replaced by low-frequency bursting modes. The analysis of a recently compiled database of hybrid discharges suggests that the change of the fast-ion pressure especially the perpendicular pressure is the main factor responsible for the instability transition. The lower ratio of fast-ion injection speed v inj to Alfven speed v alfven and slight drop of safety factor q min during ECCD may also facilitate the transition. The database shows that AEs mainly occur when the fast-ion fraction P f /P total is less than 0.53 and v inj /v alfven is greater than 0.50, while low-frequency bursting modes appear in the opposite regime. In this research, P f and P total are the central fast-ion pressure from classical prediction and total plasma pressure, respectively. The reason why the instability transition correlates with P f /P total and v inj /v alfven is that they can significantly modify the drive of low-frequency bursting modes and AEs. The explanation is supported by the observation that low-frequency bursting modes are rarely seen in the hybrids with NBI only, with EC waves and counter-NBI, or with high plasma density. A careful check of the low-frequency bursting modes suggests that they are mainly chirping (neoclassical) tearing modes [referred to as chirping (N)TM], i.e. the mode frequency firstly jumps up from the steady (N)TM frequency, then chirps down, and finally returns to the steady (N)TM frequency. Sometimes, the (N)TMs are fully stabilized and replaced with pure fishbones. Lastly, the resonance condition calculation and ’Kick’ model simulations suggest that (N)TMs and fishbones can interact through modification of the fast ion distribution in phase space, which influences the drive.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Ion Engine Service Life Validation by Analysis and Testing

Assessment of the NSTAR ion engine service life is being accomplished through a combination of long duration testing and probabilistic analyses of the credible failure modes. A literature review that examined 65 ion engine endurance tests perfromed over the past 35 years was conducted to compile a list of possible ion engine failure modes.

Ion Engine↗

Ion Engine Service Life Validation by Analysis and Testing

Assessment of the NSTAR ion engine service life is being accomplished through a combination of long duration testing and probabilistic analyses of the credible failure modes. A literature review that examined 65 ion engine endurance tests perfromed over the past 35 years was conducted to compile a list of possible ion engine failure modes.

Ion Engine↗

ZBLAN Viscosity Instrumentation

The past year's contribution from Dr. Kaukler's experimental effort consists of these 5 parts: a) Construction and proof-of-concept testing of a novel shearing plate viscometer designed to produce small shear rates and operate at elevated temperatures; b) Preparing nonlinear polymeric materials to serve as standards of nonlinear Theological behavior; c) Measurements and evaluation of above materials for nonlinear rheometric behavior at room temperature using commercial spinning cone and plate viscometers available in the lab; d) Preparing specimens from various forms of pitch for quantitative comparative testing in a Dynamic Mechanical Analyzer, Thermal Mechanical Analyzer; and Archeological Analyzer; e) Arranging to have sets of pitch specimens tested using the various instruments listed above, from different manufacturers, to form a baseline of the viscosity variation with temperature using the different test modes offered by these instruments by compiling the data collected from the various test results. Our focus in this project is the shear thinning behavior of ZBLAN glass over a wide range of temperature. Experimentally, there are no standard techniques to perform such measurements on glasses, particularly at elevated temperatures. Literature reviews to date have shown that shear thinning in certain glasses appears to occur, but no data is available for ZBLAN glass. The best techniques to find shear thinning behavior require the application of very low rates of shear. In addition, because the onset of the thinning behavior occurs at an unknown elevated temperature, the instruments used in this study must provide controlled low rates of shear and do so for temperatures approaching 600 C. In this regard, a novel shearing parallel plate viscometer was designed and a prototype built and tested.

Kaukler, William↗

Fast interrupt platform for extended DOS

Extended DOS offers the unique combination of a simple operating system which allows direct access to the interrupt tables, 32 bit protected mode access to 4096 MByte address space, and the use of industry standard C compilers. The drawback is that fast interrupt handling requires both 32 bit and 16 bit versions of each real-time process interrupt handler to avoid mode switches on the interrupts. A set of tools has been developed which automates the process of transforming the output of a standard 32 bit C compiler to 16 bit interrupt code which directly handles the real mode interrupts. The entire process compiles one set of source code via a make file, which boosts productivity by making the management of the compile-link cycle very simple. The software components are in the form of classes written mostly in C. A foreground process written as a conventional application which can use the standard C libraries can communicate with the background real-time classes via a message passing mechanism. The platform thus enables the integration of high performance real-time processing into a conventional application framework.

Duryea, T. W.↗

Fast interrupt platform for extended DOS

Extended DOS offers the unique combination of a simple operating system which allows direct assess to the interrupt tables, 32 bit protected mode access to a 4096 MByte address space, and the use of industry standard C compilers. The drawback is that fast interrupt handling requires both 32 bit and 16 bit versions of each real-time process interrupt handler to avoid mode switches on the interrupts. A set of tools has been developed which automates the process of transforming the output of a standard 32 bit C compiler to 16 bit interrupt code which directly handles the real mode interrupts. The entire process compiles one set of source code via a make file, which boosts productivity by making the management of the compile-link cycle very simple. The software components are in the form of classes written mostly in C. A foreground process written as a conventional application which can use the standard C libraries can communicate with the background real-time classes via a message passing mechanism. The platform thus enables the integration of high performance real-time processing into a conventional application framework.

Duryea, T. W.↗

Transportation Energy: A Comparison Including and Excluding Upstream Energy

Thirty-eight editions of the Transportation Energy Data Book (Data Book) have been published since the report began in 1976. It was designed as a desk-top reference of statistics and information that characterize transportation activity. The most recent Data Book, edition 38, has 226 tables and 70 figures in the body of the report, with an additional 51 tables in appendices. One of the most-often used tables in the Data Book is referred to by the authors as “the big energy table.” It has transportation energy use in British thermal units (Btu) by mode and fuel type. The data are compiled from about 20 different sources and combined to create a detailed picture of transportation energy use. From the first edition to edition 35 of the Data Book, electricity use in the big energy table was converted from the original kilowatt-hours (kWh) to Btu using the net generation heat rate for fossil fuels. In those days, electricity was used mainly by transit rail. As electricity began to be used in the highway modes with consumer sales of electric vehicles, that process was revisited. Since energy use in the Data Book’s big energy table for all other fuels did not include the upstream energy to create the fuel, it seemed inconsistent to include upstream energy for generation of electricity. Beginning with edition 36, electricity use for the big energy table was converted from kilowatt hours to Btu using the heat content of electricity. Using heat content instead of net generation reduced electricity use data by about two-thirds. Feedback in recent years on the change in process for electricity led to an investigation of the differences in transportation energy use when adding estimates of upstream energy use to all the fuels used in transportation. This report documents the result of that effort.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

Survey Parameters and Availability of Low-level Aeromagnetic Data for Geomagnetic Field Modelling

Since aeromagnetic surveying started immediately after World War II, a considerable area of the earth's surface both onshore (in excess of 25 million sq. km) has been magnetically surveyed. For about the first 15 years or so, fluxgate magnetometers were employed in aeromagnetic surveys, but the introduction of proton free-precession magnetometers resulted in absolute readings being recorded. Proton precession magnetometers have now been replaced to a large extent by the more sensitive optical absorption magnetometers. Some care has to be taken to calibrate aeromagnetic survey systems and this is best done using a calibration range tied to a magnetic observatory so that accuracies of 10nT or better are achieved for the total field values recorded. Survey navigation has always posed a problem for aeromagnetic surveys, especially offshore. Over land, vertically pointed 35 mm cameras were initially used to recover the aircraft track using a combination of aerial photos and topographic maps. Over featureless areas, it was necessary to utilize existing electronic positioning systems such as Loran C or set up special navigation systems. The advent of the satellite-based Global Positioning Systems (GPS) has to a larger extent solved the navigational problem because there is now almost continuous worldwide coverage to 10 m accuracy in the differential mode. The resultant aeromagnetic data is normally compiled into contour maps in which the diurnal variation and aircraft heading effects are removed. The resultant digital data are normally made publicly available both in gridded and profile form along with the published contour maps. Most aeromagnetic coverage has been obtained in the developed western countries, but elsewhere a considerable amount of surveying has been carried out; as an example, some 80 percent of Africa has been surveyed mostly as a result of aid programs. The data is usually held by the national geological survey or equivalent organizations, but in a number of cases the data (e.g., for the Magnetic Anomaly Map of North America) is also held by the World Data Centres.

Hood, Peter↗