Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “COMPILERS”

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 865 records · Page 48

Evaluating Performance Portability with the CMS Heterogeneous Pixel Reconstruction code

In the past years the landscape of tools for expressing parallel algorithms in a portable way across various compute accelerators has continued to evolve significantly. There are many technologies on the market that provide portability between CPU, GPUs from several vendors, and in some cases even FPGAs. These technologies include C++ libraries such as Alpaka and Kokkos, compiler directives such as OpenMP, the SYCL open specification that can be implemented as a library or in a compiler, and standard C++ where the compiler is solely responsible for the offloading. Given this developing landscape, users have to choose the technology that best fits their applications and constraints. For example, in the CMS experiment the experience so far in heterogeneous reconstruction algorithms suggests that the full application contains a large number of relatively short computational kernels and memory transfer operations. In this work we use a stand-alone version of the CMS heterogeneous pixel reconstruction code as a realistic use case of HEP reconstruction software that is capable of leveraging GPUs effectively. We summarize the experience of porting this code base from CUDA to Alpaka, Kokkos, SYCL, std::par, and OpenMP offloading. We compare the event processing throughput achieved by each version on NVIDIA and AMD GPUs as well as on a CPU, and compare those to what a native version of the code achieves on each platform.

Andriotis, Nikolaos↗

An Improved Reaction Rate Formulation for Charged-Particle Induced Thermonuclear Reaction of {sup 2}H(d,{gamma}){sup 4}He

The reaction rate formula utilized in compilations such as the Nuclear Astrophysics Compilation of Reaction Rates (NACRE) uses low energy approximation due to temperatures in stars are in the region of a few keVs. Most nuclear reaction experiments were done in MeV range and the interior temperatures of massive stars are {approx}10{sup 9} K. Hence an improved formulation for calculating the nuclear reaction rate that is applicable to high temperatures is discussed in this work. The exact tunneling probability that is applicable for all energies is obtained by solving the Schroedinger equation. This yields an enhanced expression for the astrophysical S-factor for calculating the thermonuclear reaction rate at high temperature. The thermonuclear reaction rate from this work is applied to the {sup 2}H(d,{gamma}){sup 4}He reaction and is compared with the NACRE compilation. This improved reaction rate can be included in the nuclear reaction network in a Big Bang nucleosynthesis (BBN) code or a stellar nuclear network code.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

VINE-A NUMERICAL CODE FOR SIMULATING ASTROPHYSICAL SYSTEMS USING PARTICLES. I. DESCRIPTION OF THE PHYSICS AND THE NUMERICAL METHODS

We present a numerical code for simulating the evolution of astrophysical systems using particles to represent the underlying fluid flow. The code is written in Fortran 95 and is designed to be versatile, flexible, and extensible, with modular options that can be selected either at the time the code is compiled or at run time through a text input file. We include a number of general purpose modules describing a variety of physical processes commonly required in the astrophysical community and we expect that the effort required to integrate additional or alternate modules into the code will be small. In its simplest form the code can evolve the dynamical trajectories of a set of particles in two or three dimensions using a module which implements either a Leapfrog or Runge-Kutta-Fehlberg integrator, selected by the user at compile time. The user may choose to allow the integrator to evolve the system using individual time steps for each particle or with a single, global time step for all. Particles may interact gravitationally as N-body particles, and all or any subset may also interact hydrodynamically, using the smoothed particle hydrodynamic (SPH) method by selecting the SPH module. A third particle species can be included with a module to model massive point particles which may accrete nearby SPH or N-body particles. Such particles may be used to model, e.g., stars in a molecular cloud. Free boundary conditions are implemented by default, and a module may be selected to include periodic boundary conditions. We use a binary 'Press' tree to organize particles for rapid access in gravity and SPH calculations. Modules implementing an interface with special purpose 'GRAPE' hardware may also be selected to accelerate the gravity calculations. If available, forces obtained from the GRAPE coprocessors may be transparently substituted for those obtained from the tree, or both tree and GRAPE may be used as a combination GRAPE/tree code. The code may be run without modification on single processors or in parallel using OpenMP compiler directives on large-scale, shared memory parallel machines. We present simulations of several test problems, including a merger simulation of two elliptical galaxies with 800,000 particles. In comparison to the Gadget-2 code of Springel, the gravitational force calculation, which is the most costly part of any simulation including self-gravity, is {approx}4.6-4.9 times faster with VINE when tested on different snapshots of the elliptical galaxy merger simulation when run on an Itanium 2 processor in an SGI Altix. A full simulation of the same setup with eight processors is a factor of 2.91 faster with VINE. The code is available to the public under the terms of the Gnu General Public License.

79 ASTRONOMY AND ASTROPHYSICS↗

SPECTRAL ENERGY DISTRIBUTIONS OF WEAK ACTIVE GALACTIC NUCLEI ASSOCIATED WITH LOW-IONIZATION NUCLEAR EMISSION REGIONS

We present a compilation of spectral energy distributions (SEDs) of 35 weak active galactic nuclei (AGNs) in low-ionization nuclear emission regions (LINERs) using recent data from the published literature. We make use of previously published compilations of data, after complementing and extending them with more recent data. The main improvement in the recent data is afforded by high-spatial-resolution observations with the Chandra X-Ray Observatory and high-spatial-resolution radio observations utilizing a number of facilities. In addition, a considerable number of objects have been observed with the Hubble Space Telescope in the near-IR through near-UV bands since the earlier compilations were published. The data include upper limits resulting from either non-detections or observations at low spatial resolution that do not isolate the AGN. For the sake of completeness, we also compute and present a number of quantities from the data, such as optical-to-X-ray spectral indices ({alpha}{sub ox}), bolometric corrections, bolometric luminosities, Eddington ratios, and the average SED. We anticipate that these data will be useful for a number of applications. In a companion paper, we use a subset of these data ourselves to assess the energy budgets of LINERs.

79 ASTRONOMY AND ASTROPHYSICS↗

A CATALOG OF QUASAR PROPERTIES FROM SLOAN DIGITAL SKY SURVEY DATA RELEASE 7

We present a compilation of properties of the 105,783 quasars in the Sloan Digital Sky Survey Data Release 7 (DR7) quasar catalog. In this product, we compile continuum and emission line measurements around the H{alpha}, H{beta}, Mg II, and C IV regions, as well as other quantities such as radio properties, and flags indicating broad absorption line quasars, disk emitters, etc. We also compile virial black hole mass estimates based on various calibrations. For the fiducial virial mass estimates we use the Vestergaard and Peterson (VP06) calibrations for H{beta} and C IV, and our own calibration for Mg II which matches the VP06 H{beta} masses on average. We describe the construction of this catalog and discuss its limitations. The catalog and its future updates will be made publicly available online.

79 ASTRONOMY AND ASTROPHYSICS↗

Observational constraints on scalar field models of dark energy with barotropic equation of state

We constrain the parameters of dynamical dark energy in the form of a classical or tachyonic scalar field with barotropic equation of state jointly with other cosmological parameters using the following datasets: the CMB power spectra from WMAP7, the baryon acoustic oscillations in the space distribution of galaxies from SDSS DR7, the power spectrum of luminous red galaxies from SDSS DR7 and the light curves of SN Ia from 2 different compilations: Union2 (SALT2 light curve fitting) and SDSS (SALT2 and MLCS2k2 light curve fittings). It has been found that the initial value of dark energy equation of state parameter is constrained very weakly by most of the data while the other cosmological parameters are well constrained: their likelihoods and posteriors are similar, their forms are close to Gaussian (or half-Gaussian) and the confidence ranges are narrow. The most reliable determinations of the best-fit value and 1σ confidence range for the initial value of the dark energy equation of state parameter are obtained from the combined datasets including SN Ia data from the full SDSS compilation with MLCS2k2 light curve fitting. In all such cases the best-fit value of this parameter is lower than the value of corresponding parameter for current epoch. Such dark energy loses its repulsive properties and in future the expansion of the Universe changes into contraction. We also perform a forecast for the Planck mock data and show that they narrow significantly the confidence ranges of cosmological parameters values, moreover, their combination with SN SDSS compilation with MLCS2k2 light curve fitting may exclude the fields with initial equation of state parameter > −0.1 at 2σ confidence level.

79 ASTRONOMY AND ASTROPHYSICS↗

Constraints on cosmological parameters in power-law cosmology

In this paper, we examine observational constraints on the power law cosmology; essentially dependent on two parameters H{sub 0} (Hubble constant) and q (deceleration parameter). We investigate the constraints on these parameters using the latest 28 points of H(z) data and 580 points of Union2.1 compilation data and, compare the results with the results of ΛCDM . We also forecast constraints using a simulated data set for the future JDEM, supernovae survey. Our studies give better insight into power law cosmology than the earlier done analysis by Kumar [arXiv:1109.6924] indicating it tuning well with Union2.1 compilation data but not with H(z) data. However, the constraints obtained on and i.e. H{sub 0} average and q average using the simulated data set for the future JDEM, supernovae survey are found to be inconsistent with the values obtained from the H(z) and Union2.1 compilation data. We also perform the statefinder analysis and find that the power-law cosmological models approach the standard ΛCDM model as q → −1. Finally, we observe that although the power law cosmology explains several prominent features of evolution of the Universe, it fails in details.

79 ASTRONOMY AND ASTROPHYSICS↗

Trojan Horse cross section measurements and their impact on primordial nucleosynthesis

Big Bang Nucleosynthesis (BBN) nucleosynthesis requires several nuclear physics inputs and, among them, an important role is played by nuclear reaction rates. They are among the most important input for a quantitative description of the early Universe. An up-to-date compilation of direct cross sections of d(d,p)t, d(d,n) 3 He and 3 He(d,p) 4 He reactions is given, being these ones among the most uncertain bare-nucleus cross sections. An intense experimental effort has been carried on in the last decade to apply the Trojan Horse Method (THM) to study reactions of relevance for the BBN and measure their astrophysical S(E)-factor. The result of these recent measurements is reviewed and compared with the available direct data. The reaction rates and the relative error for the four reactions of interest are then numerically calculated in the temperature ranges of relevance for BBN (0.01 9 <10) and compared with up-to-date reaction rate compilations. Their value were therefore used as input physics for primordial nucleosynthesis calculations in order to evaluate their impact on the calculated primordial abundances of D, 3,4 He and 7 Li. These ones were then compared with the observational primordial abundance estimates in different astrophysical sites. A comparison was also performed with calculations using other reaction rates compilations available in literature.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

AN IMPROVED METHOD TO TEST THE DISTANCE-DUALITY RELATION

Many researchers have performed cosmological-model-independent tests for the distance-duality (DD) relation. Theoretical work has been conducted based on the results of these tests. However, we find that almost all of these tests were perhaps not cosmological-model-independent after all, because the distance moduli taken from a given type Ia supernovae (SNe Ia) compilation are dependent on a given cosmological model and Hubble constant. In this Letter, we overcome these defects and by creating a new cosmological-model-independent test for the DD relation. We use the original data from the Union2 SNe Ia compilation and the angular diameter distances from two galaxy cluster samples compiled by De Filippis et al. and Bonamente et al. to test the DD relation. Our results suggest that the DD relation is compatible with observations, and the spherical model is slightly better than the elliptical model at describing the intrinsic shape of galaxy clusters if the DD relation is valid. However, these results are different from those of previous work.

79 ASTRONOMY AND ASTROPHYSICS↗

Cosmological constraints from H ii starburst galaxy, quasar angular size, and other measurements

ABSTRACT We compare the constraints from two (2019 and 2021) compilations of H ii starburst galaxy (H iiG) data and test the model independence of quasar (QSO) angular size data using six spatially flat and non-flat cosmological models. We find that the new 2021 compilation of H iiG data generally provides tighter constraints and prefers lower values of cosmological parameters than those from the 2019 H iiG data. QSO data by themselves give relatively model-independent constraints on the characteristic linear size, lm, of the QSOs within the sample. We also use Hubble parameter [H(z)], baryon acoustic oscillation (BAO), Pantheon Type Ia supernova (SN Ia) apparent magnitude (SN-Pantheon), and DES-3 yr binned SN Ia apparent magnitude (SN-DES) measurements to perform joint analyses with H iiG and QSO angular size data, since their constraints are not mutually inconsistent within the six cosmological models we study. A joint analysis of H(z), BAO, SN-Pantheon, SN-DES, QSO, and the newest compilation of H iiG data provides almost model-independent summary estimates of the Hubble constant, $H_0=69.7\pm 1.2\ \rm {km\,s^{-1}\,Mpc^{-1}}$, the non-relativistic matter density parameter, $\Omega _{\rm m_0}=0.293\pm 0.021$, and lm = 10.93 ± 0.25 pc.

79 ASTRONOMY AND ASTROPHYSICS↗

Do quasar X-ray and UV flux measurements provide a useful test of cosmological models?

ABSTRACT The recent compilation of quasar (QSO) X-ray and ultraviolet (UV) flux measurements include QSOs that appear to not be standardizable via the X-ray luminosity and UV luminosity (LX–LUV) relation and so should not be used to constrain cosmological model parameters. Here, we show that the largest of seven sub-samples in this compilation, the SDSS-4XMM QSOs that contribute about 2/3 of the total QSOs, have LX–LUV relations that depend on the cosmological model assumed and also on redshift, and is the main cause of the similar problem discovered earlier for the full QSO compilation. The second and third biggest sub-samples, the SDSS-Chandra and XXL QSOs that together contribute about 30 per cent of the total QSOs, appear standardizable, but provide only weak constraints on cosmological parameters that are not inconsistent with the standard spatially flat ΛCDM model or with constraints from better-established cosmological probes.

79 ASTRONOMY AND ASTROPHYSICS↗

Gamma-ray burst data strongly favour the three-parameter fundamental plane (Dainotti) correlation over the two-parameter one

ABSTRACT Gamma-ray bursts (GRBs), observed to redshift z = 9.4, are potential probes of the largely unexplored z ∼ 2.7–9.4 part of the early Universe. Thus, finding relevant relations among GRB physical properties is crucial. We find that the Platinum GRB data compilation, with 50 long GRBs (with relatively flat plateaus and no flares) in the redshift range 0.553 ≤ z ≤ 5.0, and the LGRB95 data compilation, with 95 long GRBs in 0.297 ≤ z ≤ 9.4, as well as the 145 GRB combination of the two, strongly favour the 3D Fundamental Plane (Dainotti) correlation (between the peak prompt luminosity, the luminosity at the end of the plateau emission, and its rest-frame duration) over the 2D one (between the luminosity at the end of the plateau emission and its duration). The 3D Dainotti correlations in the three data sets are standardizable. We find that while LGRB95 data have ∼50 per cent larger intrinsic scatter parameter values than the better-quality Platinum data, they provide somewhat tighter constraints on cosmological-model and GRB-correlation parameters, perhaps solely due to the larger number of data points, 95 versus 50. This suggests that when compiling GRB data for the purpose of constraining cosmological parameters, given the quality of current GRB data, intrinsic scatter parameter reduction must be balanced against reduced sample size.

79 ASTRONOMY AND ASTROPHYSICS↗

Simulating non-native cubic interactions on noisy quantum machines

As a milestone for general-purpose computing machines, we demonstrate that quantum processors can be programed to efficiently simulate dynamics that are not native to the hardware. Moreover, on noisy devices without error correction, we show that simulation results are significantly improved when the quantum program is compiled using modular gates instead of a restricted set of standard gates. We demonstrate the general methodology by solving a cubic interaction problem, which appears in nonlinear optics, gauge theories, as well as plasma and fluid dynamics. To encode the non-native Hamiltonian evolution, we decompose the Hilbert space into a direct sum of invariant subspaces in which the nonlinear problem is mapped to a finite-dimensional Hamiltonian simulation problem. Furthermore, in a three-states example, the resultant unitary evolution is realized by a product of approximately 20 standard gates, using which approximately ten simulation steps can be carried out on state-of-the-art quantum hardware before results are corrupted by decoherence. In comparison, the simulation depth is improved by more than an order of magnitude when the unitary evolution is realized as a single cubic gate, which is compiled directly using optimal control. Alternatively, parametric gates may also be compiled by interpolating control pulses. Modular gates thus obtained provide high-fidelity building blocks for quantum Hamiltonian simulations.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

On Using Linux Kernel Huge Pages with FLASH, an Astrophysical Simulation Code

We present efforts at improving the performance of FLASH, a multi-scale, multi-physics simulation code principally for astrophysical applications, by using huge pages on Ookami, an HPE Apollo 80 A64FX platform. FLASH is written principally in modern Fortran and makes use of the PARAMESH library to manage a block-structured adaptive mesh. We explored options for enabling the use of huge pages with several compilers, but we were only able to successfully use huge pages when compiling with the Fujitsu compiler. As a result, the use of huge pages substantially reduced the number of translation lookaside buffer misses, but overall performance gains were marginal.

79 ASTRONOMY AND ASTROPHYSICS↗

A Pulse Generation Framework with Augmented Program-aware Basis Gates and Criticality Analysis

Near-term intermediate scale quantum (NISQ) de- vices are subject to considerable noise and short coherence time. Consequently, it is critical to minimize circuit execution latency. Traditionally, each basis gate of a transpiled circuit is decoded into a fixed episode of the device control pulses. Recently, people started to investigate merged pulse generation for customized gates through quantum optimal control (QOC). However, existing QOC approaches face the challenges of (i) restricted search space due to prohibitive compilation overhead; (ii) suboptimal end-to-end performance due to aggressive local optimization and falsely introduced dependency among the customized gates; (iii) inadequate adaptivity towards system calibration, which is critical for NISQ devices. In this work, we propose PAQOC, a novel QOC framework that can (i) automatically detect frequently encountered gate patterns in the logical circuit by modeling the problem as a subgraph mining process and reuse these patterns to enable much larger search space exploration (i.e., program aware); (ii) systemically construct customized gate-set based on the impact to the overall program latency (i.e., criticality-aware); and (iii) quickly adapt to system re-calibration thanks to the small-scale pattern-based gate generation (i.e., adaptivity-aware). PAQOC achieves a good tradeoff between circuit performance and compilation time, allowing fully automatic, single stop, ad- hoc customized pulse generation for more efficient execution of user programs on NISQ devices. Evaluations using fifteen applications show that PAQOC can achieve on average 1.95× speedup of the circuit latency and achieve on average 36.7% reduction in compilation overhead. With PAQOC, circuits can run faster with reduced noise, allowing deeper circuits to be tested within the coherence time of present NISQ platforms.

Chen, Yanhao↗

Reoptimization of Quantum Circuits via Hierarchical Synthesis

The current phase of quantum computing is in the Noisy Intermediate-Scale Quantum (NISQ) era. On NISQ devices, two-qubit gates such as CNOTs are much noisier than single-qubit gates, so it is essential to minimize their count. Quantum circuit synthesis is a process of decomposing an arbitrary unitary into a sequence of quantum gates, and can be used as an optimization tool to produce shorter circuits to improve overall circuit fidelity. However, the time-to-solution of synthesis grows exponentially with the number of qubits. As a result, synthesis is intractable for circuits on a large qubit scale. In this paper, we propose a hierarchical, block-by-block opti-mization framework, QGo, for quantum circuit optimization. Our approach allows an exponential cost optimization to scale to large circuits. QGo uses a combination of partitioning and synthesis: 1) partition the circuit into a sequence of independent circuit blocks; 2) re-generate and optimize each block using quantum synthesis; and 3) re-compose the final circuit by stitching all the blocks together. We perform our analysis and show the fidelity improvements in three different regimes: small-size circuits on real devices, medium-size circuits on noisy simulations, and large-size circuits on analytical models. Our technique can be applied after existing optimizations to achieve higher circuit fidelity. Further, using a set of NISQ benchmarks, we show that QGo can reduce the number of CNOT gates by 29.9% on average and up to 50% when compared with industrial compiler optimizations such as t|ket). When executed on the IBM Athens system, shorter depth leads to higher circuit fidelity. We also demonstrate the scalability of our QGo technique to optimize circuits of 60+ qubits, Our technique is the first demonstration of successfully employing and scaling synthesis in the compilation tool chain for large circuits. Overall, our approach is robust for direct incorporation in production compiler toolchains to further improve the circuit fidelity.

97 MATHEMATICS AND COMPUTING↗

PowerMappeR: Power-Optimized Mapping of SNNs onto ReRAM Crossbars coupled via Packet-Switched NoCs

Many recent efforts in developing hardware-accelerated spiking neural networks (SNNs) are characterized by deep co-design between algorithms, architectures, and devices. Architectural advances overcome device constraints by coupling together many small resistive-RAM (ReRAM) crossbars via a network-on-chip (NoC) for neuromorphic component operation. Concurrently, improved SNN training methods increase accuracy and structural sparsity in networks despite growing problem sizes. Finally, compilers leverage these attributes to minimize area and inter-crossbar communication while mapping large SNNs to sophisticated architectures. However, for compiler-driven co-design to realize increasingly complex and profitable optimizations, a compile-time view of power consumption is critical. We present PowerMappeR to express and optimize over mapping-, architecture-, and device-specific power consumption information. By modeling the dynamic power of well-established components, we develop an integer linear programming (ILP)-based, encoding-agnostic, parametric power estimation model. Using this model, we demonstrate practical improvements in area and inter-crossbar communication by 0%–9.5% and 1.4%–5.1%, respectively. We also limit hotspot formation during optimization, achieving comparable or better results in targeted metrics with up to 96.4%–97.1% restriction of hotspot magnitude. Finally, we introduce profile-guided formulations to reduce worst-case and expected-case hotspot magnitude by 40.7%–69.5% and 40.6%–56.3%, respectively. Optimizing worst-case hotspot magnitude incidentally improves expected-case magnitude by 10.85%–33.45%. Reciprocally, optimizing expected-case magnitude incidentally improves worst-case magnitude by 4.33%–39.87%. Validation against hardware simulators confirms that PowerMappeR can decrease dynamic power consumption by 12.6%–27.3%.

Pohl, Devin [ORNL] (ORCID:0009000040149027)↗

Toward Abstracting the Communication Intent in Applications to Improve Portability and Productivity

Programming with communication libraries such as the Message Passing Interface (MPI) obscures the high-level intent of the communication in an application and makes static communication analysis difficult to do. Compilers are unaware of communication libraries' specifics, leading to the exclusion of communication patterns from any automated analysis and optimizations. To overcome this, communication patterns can be expressed at higher-levels of abstraction and incrementally added to existing MPI applications. In this paper, we propose the use of directives to clearly express the communication intent of an application in a way that is not specific to a given communication library. Our communication directives allow programmers to express communication among processes in a portable way, giving hints to the compiler on regions of computations that can be overlapped with communication and relaxing communication constraints on the ordering, completion and synchronization of the communication imposed by specific libraries such as MPI. The directives can then be translated by the compiler into message passing calls that efficiently implement the intended pattern and be targeted to multiple communication libraries. Thus far, we have used the directives to express point-to-point communication patterns in C, C++ and Fortran applications, and have translated them to MPI and SHMEM.

Mintz, Tiffany M.↗