Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “Compiler”

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 523 records · Page 29

The Kokkos OpenMPTarget Backend: Implementation and Lessons Learned

As the supercomputing landscape diversifies, solutions such as Kokkos to write vendor agnostic applications and libraries have risen in popularity. Kokkos provides a programming model designed for performance portability, which allows developers to write a single source implementation that can run efficiently on various architectures. At its heart, Kokkos maps parallel algorithms to architecture and vendor specific backends written in lower level programming models such as CUDA and HIP. Another approach to writing vendor agnostic parallel code is using OpenMP’s directives based approach, which lets developers annotate code to express parallelism. It is implemented at the compiler level and is supported by all major high performance computing vendors, as well as the primary Open Source toolchains GNU and LLVM. Since its inception, Kokkos has used OpenMP to parallelize on CPU architectures. In this paper, we explore leveraging OpenMP for a GPU backend and discuss the challenges we encountered when mapping the Kokkos APIs and semantics to OpenMP target constructs. As an exemplar workload we chose a simple conjugate gradient solver for sparse matrices. We find that performance on NVIDIA and AMD GPUs varies widely based on details of the implementation strategy and the chosen compiler. Furthermore, the performance of the OpenMP implementations decreases with increasing complexity of the investigated algorithms.

Gayatri, Rahulkumar↗

Domain-Specific Type-Safe APIs for Hierarchical Scientific Data with Modern C++

General-purpose library application programming interfaces (APIs) for self-describing hierarchical scientific data storage, such as the HDF5 and NetCDF libraries, are traditionally of runtime nature. Runtime errors for entry existence and data types are typically caught later in the development process of higher-level application-specific APIs. In this paper, we propose exploiting modern C++ metaprogramming features to add compile-time type-safety to improve the interaction with a well-defined metadata-rich scientific schema in domain-specific hierarchical datasets. We tackle two aspects of common use: (i) direct data access, (ii) flexible “in-memory” index models for efficient search and data processing. The proposed APIs use C++17’s template type auto deduction features, C++11’s enum class for type-safety and C-style preprocessor macros for generative templated code. We showcase the pros and cons of our initial work on the standard NeXus schema used for annotating and storing experimental neutron scattering data at several facilities around the world on top of HDF5. Extendable compile-time type-safe APIs are a desirable feature that could be indexed by any modern integrated development environment (IDE). Hence, such APIs can help ease the learning curve for domain scientists using a less error-prone software interaction to enhance the findability of their data without resorting to a domain-specific language (DSL).

Godoy, William↗

Median statistics estimate of the galactic rotational velocity

We compile a complete collection of 18 recent (from 2000 to 2017) measurements of Θ 0 , the rotational velocity of the Milky Way at R 0 (the radial distance of the Sun from the Galactic center). These measurements use tracers that are believed to more accurately reflect the systematic rotation of the Milky Way. Unlike other recent compilations of Θ 0 , our collection includes only independent measurements. We find that these 18 measurements are distributed in a mildly non-Gaussian fashion and a median statistics estimate indicates Θ 0 = 220 ± 10 kms –1 (2σ error) as the most reliable summary, at R 0 = 8.0 ± 0.3 kpc (2σ error).

(cosmology:) cosmological parameters↗

NPP Radwaste Activity Determination by the Correlation Method

A radwaste radiation-monitoring methodology based on correlations established between the activity of radionuclides and making it possible to determine the activity of hard-to-detect radionuclides ({sup 3}H, {sup 14}C, {sup 63}Ni, {sup 90}Sr, {sup 238}U, {sup 238,} {sup 239,} {sup 240}Pu, and others) in waste lots was investigated. An algorithm for compiling a list of radionuclides monitored during certification of the wastes, which is based on criteria for the wastes being radioactive and their classification, and requirements for the intermediate storage time and the half-life of radionuclides, and an algorithm for establishing the correlations between the specific activity of the reference and hard-to-detect radionuclides were developed in order to implement the methodology. The application of the criterion and algorithm to the wastes at the Novovoronezh NPP made it possible to compile a list of monitored radionuclides that agrees with the national operator in terms of handling radwastes and to establish the correlations between the activity of individual radionuclides and confirm the applicability of the methodology to radwaste from NPPs.

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

Recommended nuclear data for medical radioisotope production: diagnostic gamma emitters

An extensive series of evaluations have been performed as part of an IAEA coordinated research project to study a set of nuclear reactions that produce the diagnostic gamma-ray emitting radionuclides Cr- 51 , Tc- 99m , In- 111 , I-123 and Tl- 201 . Recommended cross-section data in the form of excitation functions have been derived, along with quantifications of their uncertainties. These evaluations compiled the compilation of all previously published values and newly measured experimental data, followed by critical assessments and selection of those experimental datasets and accompanying uncertainties judged to be fully valid and statistically consistent for model-independent least-squares fitting by means of Pade approximations. Integral yields as a function of the energy were also calculated on the basis of the recommended cross sections deduced from these various fits. All evaluated numerical conclusions and their corresponding uncertainties are available online at www-nds.iaea.org/medical/gamma_emitters.html and also on the medical portal of the International Atomic Energy Agency/Nuclear Data Section (IAEA-NDS) www-nds.iaea.org/medportal

38 RADIATION CHEMISTRY, RADIOCHEMISTRY, AND NUCLEA↗

Nitrogen and phosphorus cycling in an ombrotrophic peatland: a benchmark for assessing change

Aims Slow decomposition and isolation from groundwater mean that ombrotrophic peatlands store a large amount of soil carbon (C) but have low availability of nitrogen (N) and phosphorus (P). To better understand the role these limiting nutrients play in determining the C balance of peatland ecosystems, we compile comprehensive N and P budgets for a forested bog in northern Minnesota, USA. Methods N and P within plants, soils, and water are quantified based on field measurements. The resulting empirical dataset are then compared to modern-day, site-level simulations from the peatland land surface version of the Energy Exascale Earth System Model (ELM-SPRUCE).

Salmon, Verity G.↗

Scheduling and Performance of Asynchronous Tasks in Fortran 2018 with FEATS

Most parallel scientific programs contain compiler directives (pragmas) such as those from OpenMP (Hermanns in Parallel programming in Fortran 95 using openMP, 2002. School of Aeronautical Engineering, Universidad Politécnica de Madrid, España, 2011), explicit calls to runtime library procedures such as those implementing the Message Passing Interface (MPI) (in A message-passing interface standard version 4.0, 2021. https://www.mpi-forum.org/docs/mpi-4.0/mpi40-report.pdf), or compiler-specific language extensions such as those provided by CUDA (Ruetsch and Fatica in CUDA Fortran for scientists and engineers: best practices for efficient CUDA Fortran programming, Elsevier, 2013). By contrast, the recent Fortran standards empower developers to express parallel algorithms without directly referencing lower-level parallel programming models (Numrich in Parallel programming with co-arrays, CRC Press, 2018, and Curcic in Modern Fortran: building efficient parallel applications, Manning Publications, 2020). Fortran’s parallel features place the language within the Partitioned Global Address Space (PGAS) class of programming models. When writing programs that exploit data parallelism, application developers often find it straightforward to develop custom parallel algorithms. Problems involving complex, heterogeneous, staged calculations, however, pose much greater challenges. Such applications require careful coordination of tasks in a manner that respects dependencies prescribed by a directed acyclic graph. When rolling one’s own solution proves difficult, extending a customizable framework becomes attractive. Further, the paper presents the design, implementation, and use of the Framework for Extensible Asynchronous Task Scheduling (FEATS), which we believe to be the first task scheduling tool written in modern Fortran. We describe the benefits and compromises associated with choosing Fortran as the implementation language, and we propose ways in which future Fortran standards can best support the use case in this paper.

97 MATHEMATICS AND COMPUTING↗

Energy levels and spectral lines of tungsten, W III through W LXXIV

The energy levels and spectral lines of multiply ionized tungsten atoms, W{sup 2+} through W{sup 73+}, have been compiled. Experimental data on spectral lines and energy levels exist for the spectra of W III through W VII, W XXVIII through W LI, W LIII, and W LV through LXV. For W VIII, the four lowest energy levels were derived from the series limits of W VII. For W LXIV (Na-like) and W LVI (K-like), we supplement experimental data on energy levels and wavelengths with predicted values found by accurate interpolations and extrapolations along the isoelectronic sequences. For W LXXIII (He-like) and W LXXIV (H-like), theoretical data on energy levels and line wavelengths are compiled. For W III, we include experimentally determined radiative transition probabilities where available. The ground state configurations and terms were determined for all stages of ionization. A value of ionization energy is included for each ion.

74 ATOMIC AND MOLECULAR PHYSICS↗

Iso-nuclear tungsten dielectronic recombination rates for use in magnetically-confined fusion plasmas

Under the auspices of the IAEA Atomic and Molecular Data Center and the Korean Atomic Energy Research Institute, our assembled group of authors has reviewed the current state of dielectronic recombination (DR) rate coefficients for various ion stages of tungsten (W). Subsequent recommendations were based upon available experimental data, first-principle calculations carried out in support of this paper and from available recombination data within existing atomic databases. If a recommendation was possible, data were compiled, evaluated and fitted to a functional form with associated uncertainty information retained, where available. This paper also considers the variation of the W fractional abundance due to the underlying atomic data when employing different data sets.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Giant dipole resonance parameters of ground-state photoabsorption: Experimental values with uncertainties

Updated values and corresponding uncertainties of Isovector Giant Dipole Resonance (GDR) parameters which are obtained by the least-squares fitting of theoretical photoabsorption cross sections to experimental data are presented. The theoretical photoabsorption cross sections are taken as a sum of the components corresponding to the excitation of the GDR and quasideuteron photodisintegration. The current compilation is an extension and improvement of the earlier compilations of Lorentzian parameters for ground-state photoneutron and photoabsorption cross sections and covers experimental data made available up to June 2017.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Discovery of nuclear isomers

Currently, 1917 nuclear isomers with half-lives longer than 100 ns have been discovered in 1310 different nuclides and 103 different elements. Here, while the physical properties of isomers have been compiled before, this is the first compilation of the isomer discoveries. For each isomer the reference, year, laboratory and country are documented.

Thoennessen, M. [Michigan State University, East L↗

A review of SWAT applications, performance and future needs for simulation of hydro-climatic extremes

Hydro-climatic extremes, such as droughts and floods, have most likely increased due to climatic change and could lead to severe impacts on socio-economic, structural and environmental sectors. With nearly 4000 publications, the Soil and Water Assessment Tool (SWAT) is clearly one of the most extensively used ecohydrological models worldwide. The model has been widely used for projecting the impacts of future hydro-climatic changes, but application for extreme streamflow conditions is still rarely reported. To date, SWAT application reviews have focused on compilations of SWAT studies for specific or relatively new applications such as eco-hydrological modelling, ecosystem services, sub-daily simulations, and pesticide fate and transport simulations. However, no existing SWAT review studies have focused on simulation of hydro-climatic extremes. Furthermore, this research aims to bridge this gap by compiling and reviewing the findings of studies reporting SWAT hydro-climatic extremes including highlighting the performance and future research needs. A total of 111 articles have been identified since 1999; most of these studies were conducted in the United States and China. These articles can be divided into extreme flow assessments, drought studies, flood studies, drought and flood studies, SWAT coupling with other models, and SWAT improvements. Most of the extreme performance assessment studies reported “satisfactory ”performance, with a particular emphasis on peak flow comparisons. Future research needs regarding this topic include: (1) a unified SWAT extreme performance assessment framework; (2) SWAT improvements that result in improved replication of peak and low flows; (3) reliability assessment of global and satellite products for SWAT extreme simulations; (4) bias correction of CMIP6 and regional climate projections; (5) comparison of SWAT + and SWAT for extreme flow simulations in different types of basins; (6) development of an extreme flow module within an overall SWAT modelling system; and (7) integration of artificial intelligence within SWAT modelling.

54 ENVIRONMENTAL SCIENCES↗

Theory of the Lamb Shift and fine structure in muonic {sup 4}He ions and the muonic {sup 3}He– {sup 4}He Isotope Shift

We provide an up to date summary of the theory contributions to the 2S → 2P Lamb shift and the fine structure of the 2P state in the muonic helium ion (μ{sup 4}He){sup +}. This summary serves as the basis for the extraction of the alpha particle charge radius from the muonic helium Lamb shift measurements at the Paul Scherrer Institute, Switzerland. Individual theory contributions needed for a charge radius extraction are compared and compiled into a consistent summary. The influence of the alpha particle charge distribution on the elastic two-photon exchange is studied to take into account possible model-dependencies of the energy levels on the electric form factor of the nucleus. We also discuss the theory uncertainty which enters the extraction of the {sup 3}He–{sup 4}He isotope shift from the muonic measurements. The theory uncertainty of the extraction is much smaller than a present discrepancy between previous isotope shift measurements. This work completes our series of n=2 theory compilations in light muonic atoms which we have performed already for muonic hydrogen, deuterium, and helium-3 ions.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

A Hybrid MPI/OpenMP Approach for Parallel Groundwater Model Calibration on Multicore Computers

Groundwater model calibration is becoming increasingly computationally time intensive. We describe a hybrid MPI/OpenMP approach to exploit two levels of parallelism in software and hardware to reduce calibration time on multicore computers with minimal parallelization effort. At first, HydroGeoChem 5.0 (HGC5) is parallelized using OpenMP for a uranium transport model with over a hundred species involving nearly a hundred reactions, and a field scale coupled flow and transport model. In the first application, a single parallelizable loop is identified to consume over 97% of the total computational time. With a few lines of OpenMP compiler directives inserted into the code, the computational time reduces about ten times on a compute node with 16 cores. The performance is further improved by selectively parallelizing a few more loops. For the field scale application, parallelizable loops in 15 of the 174 subroutines in HGC5 are identified to take more than 99% of the execution time. By adding the preconditioned conjugate gradient solver and BICGSTAB, and using a coloring scheme to separate the elements, nodes, and boundary sides, the subroutines for finite element assembly, soil property update, and boundary condition application are parallelized, resulting in a speedup of about 10 on a 16-core compute node. The Levenberg-Marquardt (LM) algorithm is added into HGC5 with the Jacobian calculation and lambda search parallelized using MPI. With this hybrid approach, compute nodes at the number of adjustable parameters (when the forward difference is used for Jacobian approximation), or twice that number (if the center difference is used), are used to reduce the calibration time from days and weeks to a few hours for the two applications. This approach can be extended to global optimization scheme and Monte Carol analysis where thousands of compute nodes can be efficiently utilized.

54 ENVIRONMENTAL SCIENCES↗

Coal-based graphene oxide-like materials: A comprehensive review

Coal is the most abundant energy and hydrocarbon resource in the United States which has been primarily used for power generation. With the increasing retirement of coal power plants and transition to a low-carbon emission economy, the future use of coal will likely shift to a feedstock source for production of valuable materials for different applications. In this review, the latest research reported on production of graphene-like materials in a powder form from coal is compiled and discussed. Here, this review includes: 1) brief background information on graphene and related materials (GRM); 2) relevant material, resource, economic, and socioeconomic information regarding suitability of coal as a potential feedstock for production of GRM; 3) a summary of common approaches for coal upgrading for preparation of more suitable precursors for production of GRM; 4) a compilation and analysis of the reported routes and methods for preparation of GRM from coal and coal derivatives; and 5) reported potential applications of coal-based GRM.

36 MATERIALS SCIENCE↗

Lightweight runtime checking of C programs with RTC

The C Programming Language is known for being an efficient language that can be compiled on almost any architecture and operating system. However the absence of dynamic safety checks and a relatively weak type system allows programmer oversights that are hard to spot. In this paper, we present RTC, a runtime monitoring tool that instruments unsafe code and monitors the program execution. RTC is built on top of the ROSE compiler infrastructure. RTC finds memory bugs and arithmetic overflows and underflows, and run-time type violations. Most of the instrumentations are directly added to the source file and only require a minimal runtime system. As a result, the instrumented code remains portable. In tests against known error detection benchmarks, RTC found 98% of all memory related bugs and had zero false positives. Finally, in performance tests conducted with well known algorithms, such as binary search and MD5, we determined that our tool has an average run-time overhead rate of 9.7× and memory overhead rate of 3.5×.

97 MATHEMATICS AND COMPUTING↗

A comprehensive skeletal mechanism for the oxidation of n-heptane generated by chemistry-guided reduction

Applied to the primary reference fuel n-heptane, we present the chemistry-guided reduction (CGR) formalism for generating kinetic hydrocarbon oxidation models. The approach is based on chemical lumping and species removal with the necessity analysis method, a combined reaction flow and sensitivity analysis. Independent of the fuel size, the CGR formalism generates very compact submodels for the alkane low-temperature oxidation and provides a general concept for the development of compact oxidation models for large model fuel components such as n-decane and n-tetradecane. A defined sequence of simplification steps, consisting of the compilation of a compact detailed chemical model, the application of linear chemical lumping, and finally species removal based on species necessity values, allows a significantly increased degree of reduction compared to the simple application of the necessity analysis, previously published species, or reaction removal methods. The skeletal model derived by this procedure consists of 110 species and 1170 forward and backward reactions and is validated against the full range of combustion conditions including low and high temperatures, fuel-lean and fuel-rich mixtures, pressures between 1 and 40 bar, and local (species concentration profiles in flames, plug flow and jet-stirred reactors, and reaction sensitivity coefficients) and global parameters (ignition delay times in shock tube experiments, ignition timing in a HCCI engine, and flame speeds). The species removal is based on calculations using a minimum number of parameter configurations, but complemented by a very broad parameter variation in the process of compiling the kinetic input data. We further demonstrate that the inclusion of sensitivity coefficients in the validation process allows efficient control of the reduction process. Additionally, a compact high-temperature n-heptane oxidation model of 47 species and 468 reactions was generated by the application of necessity analysis to the skeletal mechanism. (author)

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

AFLOWLIB.ORG: A distributed materials properties repository from high-throughput ab initio calculations

Empirical databases of crystal structures and thermodynamic properties are fundamental tools for materials research. Recent rapid proliferation of computational data on materials properties presents the possibility to complement and extend the databases where the experimental data is lacking or difficult to obtain. Enhanced repositories that integrate both computational and empirical approaches open novel opportunities for structure discovery and optimization, including uncovering of unsuspected compounds, metastable structures and correlations between various characteristics. The practical realization of these opportunities depends on a systematic compilation and classification of the generated data in addition to an accessible interface for the materials science community. In this paper we present an extensive repository, aflowlib.org, comprising phase-diagrams, electronic structure and magnetic properties, generated by the high-throughput framework AFLOW. This continuously updated compilation currently contains over 150,000 thermodynamic entries for alloys, covering the entire composition range of more than 650 binary systems, 13,000 electronic structure analyses of inorganic compounds, and 50,000 entries for novel potential magnetic and spintronics systems. The repository is available for the scientific community on the website of the materials research consortium, aflowlib.org.

Materials Science↗