Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “ARITHMETIC”

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 145 records · Page 8

Automatic Generation of Guard-Stable Floating-Point Code

In floating-point programs, test instability occurs when the control flow of a conditional statement diverges from its ideal execution under real arithmetic. This phenomenon is caused by the presence of round-off errors in floating-point computations. Writing programs that correctly handle test instability often require expertise on finite precision computations and rounding errors. This paper presents a fully automatic tool chain that generates and formally verifies a test-stable floating-point C program from its functional specification in real arithmetic. The generated program is instrumented to soundly detect when unstable tests may occur and, in these cases, to issue a warning. The proposed approach combines the PRECiSA floating-point static analyzer, the Frama-C software verification suite, and the PVS theorem prover.

Floating-Point Arithmetic↗

Software Aspects of IEEE Floating-Point Computations for Numerical Applications in High Energy Physics

Floating-point computations are at the heart of much of the computing done in high energy physics. The correctness, speed and accuracy of these computations are of paramount importance. The lack of any of these characteristics can mean the difference between new, exciting physics and an embarrassing correction. This talk will examine practical aspects of IEEE 754-2008 floating-point arithmetic as encountered in HEP applications. After describing the basic features of IEEE floating-point arithmetic, the presentation will cover: common hardware implementations (SSE, x87) techniques for improving the accuracy of summation, multiplication and data interchange compiler options for gcc and icc affecting floating-point operations hazards to be avoided. About the speaker: Jeffrey M Arnold is a Senior Software Engineer in the Intel Compiler and Languages group at Intel Corporation. He has been part of the Digital->Compaq->Intel compiler organization for nearly 20 years; part of that time, he worked on both low- and high-level math libraries. Prior to that, he was in the VMS Engineering organization at Digital Equipment Corporation. In the late 1980s, Jeff spent 2½ years at CERN as part of the CERN/Digital Joint Project. In 2008, he returned to CERN to spent 10 weeks working with CERN/openlab. Since that time, he has returned to CERN multiple times to teach at openlab workshops and consult with various LHC experiments. Jeff received his Ph.D. in physics from Case Western Reserve University.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

Improved Nested Sampling and Surrogate-Enabled Comparison With Other Marginal Likelihood Estimators

Estimating marginal likelihood is of central importance to Bayesian model selection and/or model averaging. The nested sampling method has been recently used together with the Metropolis-Hasting (M-H) sampling algorithm for estimating marginal likelihood. This study develops a new implementation of nested sampling by using the DiffeRential Evolution Adaptive Metropolis (DREAMzs) sampling algorithm. The two implementations of nested sampling are evaluated for four models of a synthetic groundwater flow modeling. The DREAMzs-based nested sampling outperforms the M-H-based nested sampling in terms of their accuracy, convergence, efficiency, and stability, which is attributed to the fact that DREAMzs is more robust than M-H for parameter sampling. The nested sampling method is also compared with four other methods (arithmetic mean, harmonic mean, stabilized harmonic mean, and thermodynamic integration) commonly used for estimating marginal likelihood and posterior probability of the four groundwater models. The comparative study requires hundreds of millions of model executions, which would not be possible without using surrogate models to replace the original models. Using the arithmetic mean estimator as the reference, the comparison reveals that thermodynamic integration outperforms nested sampling in terms of accuracy and stability, whereas nested sampling is more computationally efficient to reach to convergence. Here, the harmonic mean and stabilized harmonic mean methods give the worst marginal likelihood estimation. Accurate marginal likelihood estimation is important for accurate estimation of posterior model probability and better predictive performance of Bayesian model averaging.

54 ENVIRONMENTAL SCIENCES↗

Multistage mixed precision iterative refinement

Abstract Low precision arithmetic, in particular half precision (16‐bit) floating point arithmetic, is now available in commercial hardware. Using lower precision can offer significant savings in computation and communication costs with proportional savings in energy. Motivated by this, there has been a renewed interest in mixed precision iterative refinement schemes for solving linear systems , and new variants of GMRES‐based iterative refinement have been developed. Each particular variant with a given combination of precisions leads to different condition number‐based constraints for convergence of the backward and forward errors, and each has different performance costs. The constraints for convergence given in the literature are, as an artifact of the analyses, often overly strict in practice, and thus could lead a user to select a more expensive variant when a less expensive one would have sufficed. In this work, we develop a multistage mixed precision iterative refinement solver which aims to combine existing mixed precision approaches to balance performance and accuracy and improve usability. For a user‐specified initial combination of precisions, the algorithm begins with the least expensive approach and convergence is monitored via inexpensive computations with quantities produced during the iteration. If slow convergence or divergence is detected using particular stopping criteria, the algorithm switches to use a more expensive, but more reliable variant. A novel aspect of our approach is that, unlike existing implementations, our algorithm first attempts to use “stronger” GMRES‐based solvers for the solution update before resorting to increasing the precision(s). In some scenarios, this can avoid the need to refactorize the matrix in higher precision. We perform extensive numerical experiments on a variety of random dense problems and problems from real applications which confirm the benefits of the multistage approach.

Oktay, Eda↗

Numerically stable, scalable formulas for parallel and online computation of higher-order multivariate central moments with arbitrary weights

Formulas for incremental or parallel computation of second order central moments have long been known, and recent extensions of these formulas to univariate and multivariate moments of arbitrary order have been developed. Such formulas are of key importance in scenarios where incremental results are required and in parallel and distributed systems where communication costs are high. We survey these recent results, and improve them with arbitrary-order, numerically stable one-pass formulas which we further extend with weighted and compound variants. We also develop a generalized correction factor for standard two-pass algorithms that enables the maintenance of accuracy over nearly the full representable range of the input, avoiding the need for extended-precision arithmetic. We then empirically examine algorithm correctness for pairwise update formulas up to order four as well as condition number and relative error bounds for eight different central moment formulas, each up to degree six, to address the trade-offs between numerical accuracy and speed of the various algorithms. Finally, we demonstrate the use of the most elaborate among the above mentioned formulas, with the utilization of the compound moments for a practical large-scale scientific application.

97 MATHEMATICS AND COMPUTING↗

Accelerating nuclear configuration interaction calculations through a preconditioned block iterative eigensolver

We describe a number of recently developed techniques for improving the performance of large-scalenuclear configuration interaction calculations on high performance parallel computers. We show thebenefit of using a preconditioned block iterative method to replace the Lanczos algorithm that hastraditionally been used to perform this type of computation. The rapid convergence of the block iterativemethod is achieved by a proper choice of starting guesses of the eigenvectors and the construction of aneffective preconditioner. These acceleration techniques take advantage of special structure of the nuclearconfiguration interaction problem which we discuss in detail. The use of a block method also allows usto improve the concurrency of the computation, and take advantage of the memory hierarchy of modernmicroprocessors to increase the arithmetic intensity of the computation relative to data movement. Wealso discuss the implementation details that are critical to achieving high performance on massivelyparallel multi-core supercomputers, and demonstrate that the new block iterative solver is two to threetimes faster than the Lanczos based algorithm for problems of moderate sizes on a Cray XC30 system.

Shao, Meiyue↗

Maternal nutritional status during pregnancy and surma use determine cord lead levels in Karachi, Pakistan

Objectives: To estimate the umbilical cord blood lead levels (BLLs) of Pakistani neonates and to identify determinants for umbilical BLLs. Methods: We conducted a cross-sectional study of mothers and infants at one of the two obstetric units of two tertiary care hospitals in Karachi during January-August 2005. Information from 540 mothers selected randomly from those registered for delivery was obtained about their pregnancy, diet, and current and past lead exposures. We collected umbilical cord blood for lead levels analyzed using graphite furnace atomic absorption spectrophotometry. We computed geometric and arithmetic means. We performed multiple linear regression analysis to identify factors associated with log-transformed umbilical cord BLLs. We also performed logistic regression analysis to identify determinants of high lead cord BLLs ({>=}10 {mu}g/dl). Results: The geometric mean cord BLL of the neonates was 9.6 {mu}g/dl; arithmetic mean (S.D.) was 10.8 {mu}g/dl (5.7) with a median of 9.7 {mu}g/dl and a range of 1.8-48.9 {mu}g/dl. Women who reported intake of less than 58.5 mg of elemental iron supplement per day during pregnancy had cord BLL of 10.0 {mu}g/dl; in comparison those women who had higher iron intake had lower cord BLL (8.4 {mu}g/dl). Those who used surma (an eye cosmetic) daily had higher cord BLL (11.5 {mu}g/dl) as compared to those who used it less frequently (9.4 {mu}g/dl). In multivariable linear regression model, higher iron intake, owning a car, and being in 2nd quartile of mid-arm circumference were associated with low lead levels while father's occupation in lead-based industry was associated with significantly higher umbilical cord BLLs. There was interaction of daily surma use and ethnicity. Geometric mean BLLs were varied among surma users by ethnicity. Conclusions: Umbilical cord BLLs are high in Karachi, Pakistan, in comparison to those in developed countries such as United States. Measures are needed to reduce fetal lead exposure to prevent adverse affect on neurocognitive development. Association of low iron (below RDA of 60 mg per day) with high umbilical cord has implications for strengthening iron supplement intake during pregnancy. Umbilical cord BLLs differed among surma users by ethnicity.

60 APPLIED LIFE SCIENCES↗

Atmospheric mercury in Changbai Mountain area, northeastern China I. The seasonal distribution pattern of total gaseous mercury and its potential sources

An intensive field campaign for the measurement of total gaseous mercury (TGM) concentrations in ambient air was conducted in Changbai Mountain area from 5 August 2005 to 5 July 2006 using an automatic atmospheric mercury analyzer (Tekran 2537A), which was the first time TGM was monitored at a remote area in northeastern China. 99% of the hourly TGM concentrations fell between 1.28 and 9.49 ng m{sup -3} with an annual arithmetic mean of 3.58 {+-} 1.78 ng m{sup -3}, which was significantly elevated compared to values obtained in remote areas of Europe and North America. Seasonal mean TGM concentrations displayed a descending trend as follows: winter, spring, fall, and summer. Compared to spring/winter, TGM concentrations were lower in the summer/fall but the standard deviation (SD) of TGM levels was higher and indicated a correlation with anthropogenic emissions. TGM concentrations showed seasonal differences with respect to meteorological parameters: TGM levels in spring/winter were most correlated with wind speed, and correlated with solar radiation only in the winter, while TGM levels in summer/fall periods were most correlated with air temperature. There was a strong diurnal variation of seasonal TGM with significantly higher concentrations in daytime/nighttime compared to the early morning. The seasonal diel TGM pattern indicated regional biofuel and coal combustion were the primary mercury sources.

01 COAL, LIGNITE, AND PEAT↗

Higher-order particle representation for particle-in-cell simulations

In this paper we present an alternative approach to the representation of simulation particles for unstructured electrostatic and electromagnetic PIC simulations. In our modified PIC algorithm we represent particles as having a smooth shape function limited by some specified finite radius, r 0 . A unique feature of our approach is the representation of this shape by surrounding simulation particles with a set of virtual particles with delta shape, with fixed offsets and weights derived from Gaussian quadrature rules and the value of r 0 . As the virtual particles are purely computational, they provide the additional benefit of increasing the arithmetic intensity of traditionally memory bound particle kernels. The modified algorithm is implemented within Sandia National Laboratories' unstructured EMPIRE-PIC code, for electrostatic and electromagnetic simulations, using periodic boundary conditions. We show results for a representative set of benchmark problems, including electron orbit, a transverse electromagnetic wave propagating through a plasma, numerical heating, and a plasma slab expansion. In this work, good error reduction across all of the chosen problems is achieved as the particles are made progressively smoother, with the optimal particle radius appearing to be problem-dependent.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

Evaluating MPI resource usage summary statistics

The Message Passing Interface (MPI) remains the dominant programming model for scientific applications running on today’s high-performance computing (HPC) systems. This dominance stems from MPI’s powerful semantics for inter-process communication that has enabled scientists to write applications for simulating important physical phenomena. MPI does not, however, specify how messages and synchronization should be carried out. Those details are typically dependent on low-level architecture details and the message characteristics of the application. Therefore, analyzing an application’s MPI resource usage is critical to tuning MPI’s performance on a particular platform. The result of this analysis is typically a discussion of the mean message sizes, queue search lengths and message arrival times for a workload or set of workloads. While a discussion of the arithmetic mean in MPI resource usage might be the most intuitive summary statistic, it is not always the most accurate in terms of representing the underlying data. In this paper, we analyze MPI resource usage for a number of key MPI workloads using an existing MPI trace collector and discrete-event simulator. Our analysis demonstrates that the average, while easy and efficient to calculate, is a useful metric for characterizing latency and bandwidth measurements, but may not be a good representation of application message sizes, match list search depths, or MPI inter-operation times. Additionally, we show that the median and mode are superior choices in many cases. We also observe that the arithmetic mean is not the best representation of central tendency for data that are drawn from distributions that are multi-modal or have heavy tails. Furthermore, the results and analysis of our work provide valuable guidance on how we, as a community, should discuss and analyze MPI resource usage data for scientific applications.

97 MATHEMATICS AND COMPUTING↗

Can We Describe Graphene Confined Water Structures as Overlapping of Approaching Graphene–Water Interfacial Structures?

We investigate the microscopic mechanisms of the overlap of interfacial structures in confined fluids and attempt to answer the question whether the confined structures can be predicted from the original density profiles of individual solid–fluid interfaces. For that purpose, we perform (globally) isobaric–isothermal (locally, grand canonical) molecular dynamics simulations to extract not only the axial distribution functions of the water sites for the uncoupled graphene–water interfaces, but also those corresponding to the confined aqueous environments over the interplate range $8 ≤ h (Å) ≤ 28$ typically at ambient conditions. We have tested two (i.e., an arithmetic and a geometric) superposition approximations for the singlet density of confined water between flat graphene plates, as well as for a combination of flat and corrugated graphene plates. The outcome of this study suggests that the answer to the title’s question is a “yes”, provided that the interplate distance h is large enough to avoid fluid geometric packing frustration.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

On the Nonmonotone Behavior of the Newton-Gmback Method

GMBACK is a Krylov solver for large linear systems, which is based on backward error minimization properties. The minimum backward error is guaranteed (in exact arithmetic) to decrease when the subspace dimension is increased. In this paper we consider two test problems which lead to nonlinear systems which we solve by the Newton-GMBACK. We notice that in floating point arithmetic the mentioned property does not longer hold; this leads to nonmonotone behavior of the errors, as reported in a previous paper. We also propose a remedy, which solves this drawback.

97 MATHEMATICS AND COMPUTING↗

Quantum mechanics problems in observer's mathematics

This work considers the ontology, guiding equation, Schrodinger's equation, relation to the Born Rule, the conditional wave function of a subsystem in a setting of arithmetic, algebra and topology provided by Observer's Mathematics (see www.mathrelativity.com). Observer's Mathematics creates new arithmetic, algebra, geometry, topology, analysis and logic which do not contain the concept of continuum, but locally coincide with the standard fields. Certain results and communications pertaining to solutions of these problems are provided. In particular, we prove the following theorems: Theorem I (Two-slit interference). Let {Psi}{sub 1} be a wave from slit 1, {Psi}{sub 2} - from slit 2, and {Psi} = {Psi}{sub 1}+{Psi}{sub 2}. Then the probability of {Psi} being a wave equals to 0.5. Theorem II (k-bodies solution). For W{sub n} from m-observer point of view with m>log{sub 10}((2 Multiplication-Sign 10{sup 2n}-1){sup 2k}+1), the probability of standard expression of Hamiltonian variation is less than 1 and depends on n,m,k.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Retention of intermediate polarization states in ferroelectric materials enabling memories for multi-bit data storage

A homogeneous ferroelectric single crystal exhibits only two remanent polarization states that are stable over time, whereas intermediate, or unsaturated, polarization states are thermodynamically instable. Commonly used ferroelectric materials however, are inhomogeneous polycrystalline thin films or ceramics. To investigate the stability of intermediate polarization states, formed upon incomplete, or partial, switching, we have systematically studied their retention in capacitors comprising two classic ferroelectric materials, viz. random copolymer of vinylidene fluoride with trifluoroethylene, P(VDF-TrFE), and Pb(Zr,Ti)O{sub 3}. Each experiment started from a discharged and electrically depolarized ferroelectric capacitor. Voltage pulses were applied to set the given polarization states. The retention was measured as a function of time at various temperatures. The intermediate polarization states are stable over time, up to the Curie temperature. We argue that the remarkable stability originates from the coexistence of effectively independent domains, with different values of polarization and coercive field. A domain growth model is derived quantitatively describing deterministic switching between the intermediate polarization states. We show that by using well-defined voltage pulses, the polarization can be set to any arbitrary value, allowing arithmetic programming. The feasibility of arithmetic programming along with the inherent stability of intermediate polarization states makes ferroelectric materials ideal candidates for multibit data storage.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Spectral induced polarization monitoring of induced calcite precipitation in subsurface sediments

Co-precipitation of contaminants within the crystalline structure of calcite is a promising natural attenuation or remedial technology being considered at contaminated sites. We explore the sensitivity of the spectral induced polarization (SIP) method to induced calcite precipitation in natural sediments as a path forward to non-invasively monitor these sites. We performed time-lapse column experiments using phased (I-IV) injections over 40 days on natural sediments from the Hanford Site (Washington State, USA). In the phased injections, abiotic calcite precipitation was induced and confirmed to have occurred. Previous work in glass beads and homogeneous sand was limited to high frequency detection of calcite, however in this work we observed the development of two polarization mechanisms, one at high frequency (>100 Hz) and one at low frequency (< 100 Hz). Based on the characteristic frequencies from the SIP high and low frequency regimes, characteristic length scales (L) were computed where the adsorption mode of Na+ versus Ca2+ was compared by using diffusion coefficients corresponding to Na+ versus an arithmetically averaged value for Na+ and Ca2+. Using the diffusion coefficient of Na+, the high frequency L was found to correlate well with the size of the calcite crystals. The low frequency L correlated well with the individual natural sediment grain sizes within the columns. During late experimental times (day 36 and 40), the characteristic low frequency in two of the experimental columns shifted to lower frequencies (<0.001 Hz) which may signify SIP sensitivity of the formed calcite with the sediment grains. In field applications, the development of a low frequency polarization length scale to monitor calcite precipitation is promising for field monitoring applications, however further laboratory work needs to be performed to examine the SIP sensitivity of calcite formation in the presence of to natural sediments

calcium carbonate, calcite, precipitation, spectra↗

Efficient phase-factor evaluation in quantum signal processing

Quantum signal processing (QSP) is a powerful quantum algorithm to exactly implement matrix polynomials on quantum computers. Asymptotic analysis of quantum algorithms based on QSP has shown that asymptotically optimal results can in principle be obtained for a range of tasks, such as Hamiltonian simulation and the quantum linear system problem. A further benefit of QSP is that it uses a minimal number of ancilla qubits, which facilitates its implementation on near-to-intermediate term quantum architectures. However, there is so far no classically stable algorithm allowing computation of the phase factors that are needed to build QSP circuits. Existing methods require the use of variable precision arithmetic and can only be applied to polynomials of a relatively low degree. We present here an optimization-based method that can accurately compute the phase factors using standard double precision arithmetic operations. We demonstrate the performance of this approach with applications to Hamiltonian simulation, eigenvalue filtering, and quantum linear system problems. Furthermore, our numerical results show that the optimization algorithm can find phase factors to accurately approximate polynomials of a degree larger than 10000 with errors below 10 -12 .

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Fast inversion, preconditioned quantum linear system solvers, fast Green's-function computation, and fast evaluation of matrix functions

Preconditioning is the most widely used and effective way for treating ill-conditioned linear systems in the context of classical iterative linear system solvers. We introduce a quantum primitive called fast inversion, which can be used as a preconditioner for solving quantum linear systems. The key idea of fast inversion is to directly block encode a matrix inverse through a quantum circuit implementing the inversion of eigenvalues via classical arithmetics. We demonstrate the application of preconditioned linear system solvers for computing single-particle Green's functions of quantum many-body systems, which are widely used in quantum physics, chemistry, and materials science. We analyze the complexities in three scenarios: the Hubbard model, the quantum many-body Hamiltonian in the plane-wave-dual basis, and the Schwinger model. We also provide a method for performing Green's function calculation in second quantization within a fixed-particle manifold and note that this approach may be valuable for simulation more broadly. Aside from solving linear systems, fast inversion also allows us to develop fast algorithms for computing matrix functions, such as the efficient preparation of Gibbs states. Furthermore, we introduce two efficient approaches for such a task, based on the contour-integral formulation and the inverse transform, respectively.

97 MATHEMATICS AND COMPUTING↗

Pion cross section parametrizations for intermediate energy, nucleus-nucleus collisions

Space radiation and cosmic ray transport codes require simple and accurate models for hadron production in intermediate energy, nucleus-nucleus collisions. Several arithmetic parametrization models for pion production are compared to laboratory frame data. It is found that models based on high energy parametrizations are unable to describe intermediate energy, differential cross section data. However, simple thermal model parametrizations, when appropriately transformed from the center of momentum to the laboratory frame, are able to account for the data. Heavy ion transport codes that require algebraic cross section formulas can therefore use arithmetic parametrizations at high energy, but should use thermal model parametrizations at intermediate energy.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗