Search NASA⌕ Search

SEARCH · Search NASA

Results for “threads”

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 883 records · Page 49

HPC resource integration into CMS Computing via HEPCloud

The higher energy and luminosity from the LHC in Run 2 have put increased pressure on CMS computing resources. Extrapolating to even higher luminosities (and thus higher event complexities and trigger rates) beyond Run 3, it becomes clear that simply scaling up the the current model of CMS computing alone will become economically unfeasible. High Performance Computing (HPC) facilities, widely used in scientific computing outside of HEP, have the potential to help fill the gap. Here we describe the U.S.CMS efforts to integrate US HPC resources into CMS Computing via the HEPCloud project at Fermilab. We present advancements in our ability to use NERSC resources at scale and efforts to integrate other HPC sites as well. We present experience in the elastic use of HPC resources, quickly scaling up use when so required by CMS workflows. We also present performance studies of the CMS multi-threaded framework on both Haswell and KNL HPC resources.

97 MATHEMATICS AND COMPUTING↗

Writing ROOT Data in Parallel with TBufferMerger

Experiments at the Large Hadron Collider (LHC) produce tens of petabytes of new data in ROOT format per year that need to be processed and analysed. In the next decade, following the planned upgrades of the LHC and its detectors, this data production rate is expected to increase at least ten-fold. Therefore, optimizing the ROOT I/O subsystem is of critical importance to the success of the LHC physics programme. This contribution presents ROOT’s approach for writing data from multiple threads to a single output file in an efficient way. Technical aspects of the implementation—the TBufferMerger class—and programming model examples are described. Measurements of runtime performance and the overall improvement relative to the case of serial data writing are also discussed.

47 OTHER INSTRUMENTATION↗

JANA2 Framework for Event Based and Triggerless Data Processing

Development of the second generation JANA2 multi-threaded event processing framework is ongoing through an LDRD initiative grant at Jefferson Lab. The framework is designed to take full advantage of all cores on modern many-core compute nodes. JANA2 efficiently handles both traditional hardware triggered event data and streaming data in online triggerless environments. Development is being done in conjunction with the Electron Ion Collider development. Anticipated to be the next large scale Nuclear Physics facility constructed. The core framework is written in modern C++ but includes an integrated Python interface. The status of development and summary of the more interesting features are presented.

Lawrence, David↗

Concurrent data structures in the ATLAS offline software

In preparation for Run 3 of the LHC, the ATLAS experiment is modifying its offline software to be fully multithreaded. An important part of this is data structures that can be concurrently accessed from many threads both efficiently and safely. A standard way of achieving this is through mutual exclusion; however, the overhead from this can sometimes be excessive. Fully lockless implementations are known for some data structures; however, they are typically complex, and the overhead they require can sometimes be larger than that required for locking implementations. An interesting compromise is to allow lockless access only for reading but not for writing. This often allows the data structures to be much simpler, while still giving good performance for read-mostly access patterns. This proceeding shows some examples of this strategy in data structures used by the ATLAS offline software. It also gives examples of synchronization strategies inspired by read-copy-update, as well as helpers for memorizing values in a multithreaded environment.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

Bringing heterogeneity to the CMS software framework

The advent of computing resources with co-processors, for example Graphics Processing Units (GPU) or Field-Programmable Gate Arrays (FPGA), for use cases like the CMS High-Level Trigger (HLT) or data processing at leadership-class supercomputers imposes challenges for the current data processing frameworks. These challenges include developing a model for algorithms to offload their computations on the co-processors as well as keeping the traditional CPU busy doing other work. The CMS data processing framework, CMSSW, implements multithreading using the Intel Threading Building Blocks (TBB) library, that utilizes tasks as concurrent units of work. In this paper we will discuss a generic mechanism to interact effectively with non-CPU resources that has been implemented in CMSSW. In addition, configuring such a heterogeneous system is challenging. In CMSSW an application is configured with a configuration file written in the Python language. The algorithm types are part of the configuration. The challenge therefore is to unify the CPU and co-processor settings while allowing their implementations to be separate. We will explain how we solved these challenges while minimizing the necessary changes to the CMSSW framework. We will also discuss on a concrete example how algorithms would offload work to NVIDIA GPUs using directly the CUDA API.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

Multithreading ATLAS offline software: A retrospective

For Run 3, ATLAS redesigned its offline software, Athena, so that the main workflows run completely multithreaded. The resulting substantial reduction in the overall memory requirements allows for better use of machines with many cores. This note will discuss the performance achieved by the multithreaded reconstruction, the process of migrating the large ATLAS code base, and tools and techniques that were useful in debugging threading-related problems.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

Boosting RDataFrame performance with transparent bulk event processing

RDataFrame is ROOT’s high-level interface for Python and C++ data analysis. Since it first became available, RDataFrame adoption has grown steadily and it is now poised to be a major component of analysis software pipelines for LHC Run 3 and beyond. Thanks to its design inspired by declarative programming principles, RDataFrame enables the development of highperformance, highly parallel analyses without requiring expert knowledge of multi-threading and I/O: user logic is expressed in terms of self-contained, small computation kernels tied together by a high-level API. This design completely decouples analysis logic from its actual execution, and opens several interesting avenues for workflow optimization. In particular, in this work we explore the benefits of moving internal data processing from an event-by-event to a bulkby-bulk loop. This refactoring dramatically reduces the framework’s runtime overheads; in collaboration with the I/O layer it improves data access patterns; it exposes information that optimizing compilers might use to auto-vectorize the invocation of user-defined computations; finally, while existing user-facing interfaces remain unaffected, it becomes possible to additionally offer interfaces that explicitly expose bulks of events, useful e.g. for the injection of GPU kernels into the analysis workflow. In order to inform similar future R&D, design challenges will be presented, as well as an investigation of the relevant timememory trade-off backed by novel performance benchmarks.

Guiraud, Enrico↗

A new portable random number generator wrapper library

Random number generator is an important component of many scientific projects. Many projects are written using programming models (like OpenMP and SYCL) to target different architectures. However, some programming models do not provide a random number generator. In this work, we introduce our random number generator wrapper. It is a header-only library that supports three distributions of random numbers: uniform, normal, and poisson. On the GPU backend, it wraps the cuRAND and rocRAND library, and supports various random number engines. It also wraps random123, a counterbased random number generator, on both CPU and GPU. With this library, we can generate random numbers with a few lines of code and target both GPU and multi-thread CPU with the same code. We also investigate the performance and scalability of this wrapper on different architectures with different engines and the number of cores.

97 MATHEMATICS AND COMPUTING↗

CaTS: Integration of Geant4 and Opticks

CaTS [6]is an advanced example that is part of Geant4 since version 11.0. It demonstrates the use of Opticks to offload the simulation of optical photons to GPUs. Opticks interfaces with the Geant4 toolkit to collect all the necessary information to generate and trace optical photons, re-implements the optical physics processes to be run on the GPU, and automatically translates the Geant4 geometry into a GPU appropriate format. To trace the photons, Opticks uses NVIDIA OptiX®. In this report, we describe CaTS and the integration of Opticks with Geant4. We demonstrate that the generation and tracing of optical photons represents an ideal application to be offloaded to GPUs, fully utilizing the high degree of available parallelism. In a typical liquid argon TPC simulation, a speedup of several hundred times is observed compared to an equivalent simulation using single threaded Geant4.

Wenzel, Hans↗

GPU-friendly surface model for Monte-Carlo detector simulations

The demands for Monte-Carlo simulation are drastically increasing with the Large Hadron Collider’s high-luminosity upgrade, and are expected to exceed the currently available compute resources. At the same time, modern high-performance computing has adopted powerful hardware accelerators, particularly GPUs. The AdePT and Celeritas projects aim to address the demanding computational needs by leveraging these heterogeneous computing architectures. While both have successfully ported realistic detector simulations to GPUs using the VecGeom library, the complexity of geometry modeling emerged as a bottleneck. Thread divergence and high register usage were degrading the GPU performance. Therefore, a new, GPU-friendly surface-based model has been introduced in the VecGeom library that decomposes the divergent code of the 3D primitive solids into simpler and more balanced surface algorithms. In this work, we present the latest developments, focusing on the additions required to efficiently model complex setups like the CMS Phase-2 geometry. This includes memory reduction techniques, and adding accelerating structures for faster traversal.

Diederichs, Severin [CERN]↗

Two coexisting mechanisms of dislocation reduction in an AlGaN layer grown using a thin GaN interlayer

A significant dislocation reduction is achieved in an AlGaN layer grown on an AlN buffer by introducing a thin GaN interlayer. The mechanisms for the dislocation reduction are explored by transmission electron microscopy, energy-dispersive x-ray spectroscopy, atomic force microscopy, and micro-Raman spectroscopy. The GaN interlayer grown on the AlN takes the form of platelets. The mechanisms of dislocation reduction in the platelet area and the area between the platelets are different. In the GaN platelets, due to the large misfit strain, the threading dislocations (TDs) in the AlN layer migrate into the interface and annihilate with each other. However, the GaN between the platelets is highly strained so that a higher density of TDs from AlN is incorporated into the upper layer. The coalescing of the platelets induced by the AlGaN growth makes the TDs in the areas between the platelets assemble and annihilate, resulting in additional dislocation reduction.

36 MATERIALS SCIENCE↗

Defect reduction in GaN/(0001)sapphire films grown by molecular beam epitaxy using nanocolumn intermediate layers

Transmission and scanning electron microscopies are used to examine the epitaxial lateral overgrowth of GaN on GaN nanocolumns grown on AlN/(0001)sapphire by molecular beam epitaxy. Initially, N-rich growth gave a bimodal morphology consisting of defect-free Ga-polar nanocolumns emanating from a compact, highly defective N-polar layer. Under subsequent Ga-rich conditions, the nanocolumns grew laterally to produce continuous Ga-polar overlayers. Threading dislocation (TD) densities in the overlayer were in the range of 10{sup 8}-10{sup 9} cm{sup -2}, up to two orders of magnitude less than in the N-polar underlayer. It is proposed that the change in polarity is a key factor controlling the reduction in TD density.

36 MATERIALS SCIENCE↗

Structural and morphological properties of GaN buffer layers grown by ammonia molecular beam epitaxy on SiC substrates for AlGaN/GaN high electron mobility transistors

The impact of growth conditions on the surface morphology and structural properties of ammonia molecular beam epitaxy GaN buffers layers on SiC substrates was investigated. The threading dislocation (TD) density was found to decrease with decreasing NH{sub 3}:Ga flux ratio, which corresponded to an increase in surface roughness and reduction in residual compressive lattice mismatch stress. Furthermore, the dislocation density and compressive stress decreased for increasing buffer thickness. TD inclination was proposed to account for these observations. Optimized surface morphologies were realized at high NH{sub 3}:Ga flux ratios and were characterized by monolayer-high steps, spiral hillocks, and pyramidal mounds, with rms roughness of {approx}1.0 nm over 2x2 {mu}m{sup 2} atomic force microscopy images. Smooth surface morphologies were realized over a large range of growth temperatures and fluxes, and growth rates of up to 1 {mu}m/h were achieved. TD densities in the buffers as low as 3x10{sup 9} cm{sup -2} were demonstrated. These buffers were highly insulating and were used in recently reported AlGaN/GaN HEMTs with power densities of >11 W/mm at 4 and 10 GHz.

36 MATERIALS SCIENCE↗

Metamorphic approach to single quantum dot emission at 1.55 {mu}m on GaAs substrate

We report on the fabrication and the characterization of InAs quantum dots (QDs) embedded in an indium rich In{sub 0.42}Ga{sub 0.58}As metamorphic matrix grown on a GaAs substrate. Growth conditions were chosen so as to minimize the number of threading dislocations and other defects produced during the plastic relaxation. Sharp and bright lines, originating from the emission of a few isolated single quantum dots, were observed in microphotoluminescence around 1.55 {mu}m at 5 K. They exhibit, in particular, a characteristic exciton/biexciton behavior. These QDs could offer an interesting alternative to other approaches as InAs/InP QDs for the realization of single photon emitters at telecom wavelengths.

36 MATERIALS SCIENCE↗

Defect-controlled growth of GaN nanorods on (0001)sapphire by molecular beam epitaxy

Transmission electron microscopy is used to reveal threading defects in single crystal c-oriented GaN nanorods grown on (0001)sapphire by molecular beam epitaxy. The defects are shown to be planar faults lying on (1010) planes and bounded by opposite partial screw dislocations with Burgers vectors of 1/2<0001>. The faults nucleate, as dislocation half-loops, from points close to the GaN/(0001)sapphire interface. It is proposed that the spiral growth of the partial atomic step joining the emerging dislocations controls nanorod growth and accounts for the growth surface morphology. The significance of these defects for nanorod growth and applications is discussed.

36 MATERIALS SCIENCE↗

40.8% Efficient Inverted Triple-Junction Solar Cell with Two Independently Metamorphic Junctions

A photovoltaic conversion efficiency of 40.8% at 326 suns concentration is demonstrated in a monolithically grown, triple-junction III-V solar cell structure in which each active junction is composed of an alloy with a different lattice constant chosen to maximize the theoretical efficiency. The semiconductor structure was grown by organometallic vapor phase epitaxy in an inverted configuration with a 1.83 eV Ga{sub .51}In{sub .49}P top junction lattice-matched to the GaAs substrate, a metamorphic 1.34 eV In{sub .04}Ga{sub .96}As middle junction, and a metamorphic 0.89 eV In{sub .37}Ga{sub .63}As bottom junction. The two metamorphic junctions contained approximately 1 x 10{sup 5} cm{sup -2} and 2-3 x 10{sup 6} cm{sup -2} threading dislocations, respectively.

14 SOLAR ENERGY↗

The critical role of growth temperature on the structural and electrical properties of AlGaN/GaN high electron mobility transistor heterostructures grown on Si(111)

This work is dedicated to the study of the growth by ammonia source molecular beam epitaxy of Al{sub x}Ga{sub 1-x}N/GaN high electron mobility transistors on (111) oriented silicon substrates. The effect of growth conditions on the structural and electrical properties of the heterostructures was investigated. It is shown that even a slight variation in the growth temperature of the thick GaN buffer on AlN/GaN stress mitigating layers has a drastic influence on these properties via a counterintuitive effect on the dislocation density. Both in situ curvature measurements and ex situ transmission electron microscopy and x-ray diffraction experiments indicate that the relaxation rate of the lattice mismatch stress increases with the growth temperature but finally results in a higher dislocations density. Furthermore, a general trend appears between the final wafer curvature at room temperature and the threading dislocation density. Finally, the influence of the dislocation density on the GaN buffer insulating properties and the two-dimensional electron gas transport properties at the Al{sub x}Ga{sub 1-x}N/GaN interface is discussed.

36 MATERIALS SCIENCE↗

Microstructural improvements of InP on GaAs (001) grown by molecular beam epitaxy by in situ hydrogenation and postgrowth annealing

The characterization of high quality InP on GaAs (001) fabricated by molecular beam epitaxy using a two-step growth method involving hydrogenation during growth is reported. Electron diffraction and high-resolution transmission electron microscopy confirm that {approx}2 {mu}m thick InP epilayers on GaAs are heteroepitaxial and strain relaxed. Stacking faults and threading dislocations are mostly confined near the InP/GaAs interface and their densities decrease monotonically toward the InP surface. Additionally, rapid-thermal annealing following growth is found to result in a marked reduction in the number of dislocations and the disappearance of planar defects.

36 MATERIALS SCIENCE↗