Search NASA⌕ Search

SEARCH · Search NASA

Results for “Compiling”

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 397 records · Page 22

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↗

Experimental Characterization of OpenMP Offloading Memory Operations and Unified Shared Memory Support

The OpenMP specification recently introduced support for unified shared memory, allowing implementation to leverage underlying system software to provide a simpler GPU offloading model where explicit mapping of variables is optional. Support for this feature is becoming more available in different OpenMP implementations on several hardware platforms. A deeper understanding of the different implementation’s execution profile and performance is crucial for applications as they consider the performance portability implications of adopting a unified memory offloading programming style. This work introduces a benchmark tool to characterize unified memory support in several OepnMP compilers and runtimes, with emphasis on identifying discrepancies between different OpenMP implementations as to how they various memory allocation strategies interact with unified shared memory. The benchmark tool is used to characterize OpenMP compilers on three leading High Performance Computing platforms supporting different CPU and device architectures. The benchmark tool is used to assess the impact of enabling unified shared memory on the performance of memory-bound code, highlighting implementation differences that should be accounted for when applications consider performance portability across platforms and compilers.

Elwasif, Wael↗

OpenACC Unified Programming Environment for Multi-hybrid Acceleration with GPU and FPGA

Accelerated computing in HPC such as with GPU, plays a central role in HPC nowadays. However, in some complicated applications with partially different performance behavior is hard to solve with a single type of accelerator where GPU is not the perfect solution in these cases. We are developing a framework and transpiler allowing the users to program the codes with a single notation of OpenACC to be compiled for multi-hybrid accelerators, named MHOAT (Multi-Hybrid OpenACC Translator) for HPC applications. MHOAT parses the original code with directives to identify the target accelerating devices, currently supporting NVIDIA GPU and Intel FPGA, dispatching these specific partial codes to background compilers such as NVIDIA HPC SDK for GPU and OpenARC research compiler for FPGA, then assembles binaries for the final object with FPGA bitstream file. In this paper, we present the concept, design, implementation, and performance evaluation of a practical astrophysics simulation code where we successfully enhanced the performance up to 10 times faster than the GPU-only solution.

Boku, Taisuke↗

Profile Generation for GPU Targets

GPU accelerators are ubiquitous, but their ecosystem is far less evolved than the host one. Compiler heuristics are often tuned for CPUs and reused for GPU. Similarly, tooling and more evolved optimization techniques are historically not available on GPU targets. In this work, we address one of these shortcomings and enable profile generation and profile-guided optimizations (PGO) for GPU targets. While this is only a single step towards a CPU equivalent ecosystem for offload devices, it shows how old misconceptions on the limitations of GPUs are often not warranted anymore. Through our implementation in LLVM/Offload, we enable device-side PGO for full scientific applications and open up tooling opportunities, including code coverage analysis and compiler-built-in roofline analysis. Our evaluation highlights the performance implications of profile generation, the insights gained from these profiles, and the (missed) opportunities in utilizing the information for GPU compilation.

McDonough, Ethan Luis [Lawrence Livermore National↗

Table of hyperfine anomaly in atomic systems

This table is a compilation of experimental values of magnetic hyperfine anomaly in atomic and ionic systems. The last extensive compilation was published in 1984 by Büttgenbach [S. Büttgenbach, Hyperfine Int. 20 (1984) 1] and the aim here is to make an up to date compilation. The literature search covers the period up to January 2011.

74 ATOMIC AND MOLECULAR PHYSICS↗

Tables of E2 transition probabilities from the first 2 + states in even–even nuclei

Highlights: • Compilation of experimental transition probabilities or B(E2) values for the known first 2{sup +} states in even–even nuclei. • Evaluation of B(E2) values, lifetimes and deformation parameters for 447 even–even nuclei. • Extensive discussion on data evaluation policies and procedures. • Nuclear shell model calculation of the first 2{sup +} states energies and B(E2) values in even–even nuclei. Experimental results of E2 transition probabilities or B(E2) values for the known first 2{sup +} states in 447 even–even nuclei have been compiled and evaluated. The evaluation policies for the analysis of experimental data have been described and new results are discussed. The recommended B(E2) values have been compared with comprehensive shell model calculations for a selected set of nuclei, where such theoretical procedures are amenable. The present work was motivated by a rapid increase in the number of new B(E2) measurements for the first 2{sup +} states since the previous evaluation of such data by S. Raman et al. published in 2001. Future plans to investigate the systematics of B(E2)↑ values, and intercomparison of different experimental techniques to obtain these data are outlined.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

GPAW - massively parallel electronic structure calculations with Python-based software.

Electronic structure calculations are a widely used tool in materials science and large consumer of supercomputing resources. Traditionally, the software packages for these kind of simulations have been implemented in compiled languages, where Fortran in its different versions has been the most popular choice. While dynamic, interpreted languages, such as Python, can increase the effciency of programmer, they cannot compete directly with the raw performance of compiled languages. However, by using an interpreted language together with a compiled language, it is possible to have most of the productivity enhancing features together with a good numerical performance. We have used this approach in implementing an electronic structure simulation software GPAW using the combination of Python and C programming languages. While the chosen approach works well in standard workstations and Unix environments, massively parallel supercomputing systems can present some challenges in porting, debugging and profiling the software. In this paper we describe some details of the implementation and discuss the advantages and challenges of the combined Python/C approach. We show that despite the challenges it is possible to obtain good numerical performance and good parallel scalability with Python based software.

99 GENERAL AND MISCELLANEOUS↗

Predicting chemically-induced skin reactions. Part II: QSAR models of skin permeability and the relationships between skin permeability and skin sensitization

Skin permeability is widely considered to be mechanistically implicated in chemically-induced skin sensitization. Although many chemicals have been identified as skin sensitizers, there have been very few reports analyzing the relationships between molecular structure and skin permeability of sensitizers and non-sensitizers. The goals of this study were to: (i) compile, curate, and integrate the largest publicly available dataset of chemicals studied for their skin permeability; (ii) develop and rigorously validate QSAR models to predict skin permeability; and (iii) explore the complex relationships between skin sensitization and skin permeability. Based on the largest publicly available dataset compiled in this study, we found no overall correlation between skin permeability and skin sensitization. In addition, cross-species correlation coefficient between human and rodent permeability data was found to be as low as R{sup 2} = 0.44. Human skin permeability models based on the random forest method have been developed and validated using OECD-compliant QSAR modeling workflow. Their external accuracy was high (Q{sup 2}{sub ext} = 0.73 for 63% of external compounds inside the applicability domain). The extended analysis using both experimentally-measured and QSAR-imputed data still confirmed the absence of any overall concordance between skin permeability and skin sensitization. This observation suggests that chemical modifications that affect skin permeability should not be presumed a priori to modulate the sensitization potential of chemicals. The models reported herein as well as those developed in the companion paper on skin sensitization suggest that it may be possible to rationally design compounds with the desired high skin permeability but low sensitization potential. - Highlights: • It was compiled the largest publicly-available skin permeability dataset. • Predictive QSAR models were developed for skin permeability. • No concordance between skin sensitization and skin permeability has been found. • Structural rules for optimizing sensitization and penetration were established.

60 APPLIED LIFE SCIENCES↗

Enabling Fortran Standard Parallelism in GAMESS for Accelerated Quantum Chemistry Calculations

The performance of Fortran 2008 DO CONCURRENT (DC) relative to OpenACC and OpenMP target offloading (OTO) with different compilers is studied for the GAMESS quantum chemistry application. Specifically, DC and OTO are used to offload the Fock build, which is a computational bottleneck in most quantum chemistry codes, to GPUs. The DC Fock build performance is studied on NVIDIA A100 and V100 accelerators and compared with the OTO versions compiled by the NVIDIA HPC, IBM XL, and Cray Fortran compilers. The results show that DC can speed up the Fock build by 3.0× compared with that of the OTO model. Finally, with similar offloading efforts, DC is a compelling programming model for offloading Fortran applications to GPUs.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Quantum logic gate synthesis as a Markov decision process

Reinforcement learning has witnessed recent applications to a variety of tasks in quantum programming. The underlying assumption is that those tasks could be modeled as Markov decision processes (MDPs). Here, we investigate the feasibility of this assumption by exploring its consequences for single-qubit quantum state preparation and gate compilation. By forming discrete MDPs, we solve for the optimal policy exactly through policy iteration. We find optimal paths that correspond to the shortest possible sequence of gates to prepare a state or compile a gate, up to some target accuracy. Our method works in both the absence and presence of noise and compares favorably to other quantum compilation methods, such as the Ross–Selinger algorithm. This work provides theoretical insight into why reinforcement learning may be successfully used to find optimally short gate sequences in quantum programming.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

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↗