Meeting your Performance Portability goals with RAJA : A case study using CoMD – a proxy application for molecular dynamics. C/C++ with RAJA
Explore the source record for details and available documents.
SEARCH · Search NASA
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.
Explore the source record for details and available documents.
The RAJA Performance Suite is designed to evaluate performance of the RAJA performance portability library on a wide variety of important high performance computing (HPC) algorithmic lulmels. These kernels assess compiler optimizations and various parallel programming model backends accessible through RAJA, such as OpenMP, CUDA, etc. The Initial version of the suite contains 25 computational kernels, each of which appears in 6 variants: Baseline SequcntiaJ, RAJA SequentiaJ, Baseline OpenMP, RAJA OpenMP, Baseline CUDA, RAJA CUDA. All variants of each kernel perform essentially the same mathematical operations and the loop body code for each kernel is identical across all variants. There are a few kernels, such as those that contain reduction operations, that require CUDA-specific coding for their CUDA variants. ActuaJ computer instructions executed and how they run in parallel differs depending on the parallel programming model backend used and which optimizations are perfonned by the compiler used to build the Perfonnance Suite executable. The Suite will be used primarily by RAJA developers to perform regular assessments of RAJA performance across a range of hardware platforms and compilers as RAJA features are being developed. It will also be used by LLNL hardware and software vendor panners for new defining requirements for future computing platform procurements and acceptance testing. In particular, the RAJA Performance Suite will be used for compiler acceptance testing of the upcoming CORAUSierra machine {initial LLNL delivery expected in late-2017/early 2018) and the CORAL-2 procurement. The Suite will aJso be used to generate concise source code reproducers of compiler and runtime issues we uncover so that we may provide them to relevant vendors to be fixed.
As computer architectures become increasingly complex and diverse, application developers face difficult challenges to achieve high performance while maintaining code portability. The problem is especially acute for large ASC multiphysics codes. Efficient parallel execution often requires tuning algorithms and data access to match processor and memory system constraints. Changing compiler directives and parallel programming model constructs on thousands of individual loops in a large code is disruptive and unwieldy. RAJA is a programming approach that we have been developing at Lawrence Livermore National Laboratory to encapsulate platform-specific concerns, related to both hardware and parallel programming models. The RAJA abstraction layer simplifies porting C/C++ codes to various programming models and architectures by reducing effort and developer disruption. In this report, we motivate and describe key aspects of RAJA. We also present a preliminary assessment of RAJA based on exploration in three ASC hydrodynamics codes at LLNL, which was one part of a three-part ASC Level 2 milestone, completed in September 2014.
RAJA is a collection of C++ software abstractions designed to make HPC applications portable across a range of hardware architectures and programming models. The main conceptual abstraction in FAJA is a loop. RAJA provides abstractions for types, loop execution and scheduling, and loop iteration space portioning and ordering cooperate to insulate algorithms in application code that domain experts write from implementations details of those algorithms that may need to depend on the underlying computer hardware for high performance.
Modern high-performance computing architectures are diverse, with hardware designs that feature multicore CPUs and CPUs plus accelerators, such as GPUs or FPGAs. Achieving good application performance often requires using a programming model and managing application data in ways that are best suited to a particular platform. For large codes that are used daily in production, and are under continual development, architecture-specific ports are untenable. Maintainability requires single-source code that is performance portable across a range of architectures and programming model back-ends. This report describes RAJA, Umpire, and CHAI, three software libraries that provide complementary capabilities to enable application portability for high performance computing (HPC) platforms. In particular, these libraries provide software abstractions that insulate application source code from hardware architecture and programming model-specific implementation details. These development of these libraries was motivated by the needs of multiphysics applications in the Weapons Simulation and Computing Program (WSC) at Lawrence Livermore National Laboratory (LLNL). Funding though the Exascale Computing Project (ECP) Software Technology (ST) project 2.3.1.06 RAJA has fostered outreach and collaboration with the ECP application and software technology development communities. In this report, we describe ECP adoption and integration of these tools to this point. The larger goal of the report is to describe to the ECP community what these projects offer, how they are used, and how to approach adoption and integration of them.
RAJA is a collection of C++ software abstractions designed to make HPC applications portable across a range of hardware architectures and programming models. The main conceptual abstraction in FAJA is a loop. RAJA provides abstractions for types, loop execution and scheduling, and loop iteration space portioning and ordering cooperate to insulate algorithms in application code that domain experts write from implementations details of those algorithms that may need to depend on the underlying computer hardware for high performance.
CHAI and RAJA provide an excellent base on which to build portable codes. CARE expands that functionality, adding new features such as loop fusion capability and a portable interface for many numerical algorithms. It provides all the basics for anyone wanting to write portable code.
Morphogenesis of the clearnose skate, Raja eglanteria, was not significantly inhibited as a result of 7 days of exposure to 1-2 mM selenate in the sea water during Days 59-69 of embryonic development (hatching would normally have occurred at 82 +/- 4 days of incubation). Although corneal transparency appeared normal in the eye, preliminary measurements of the thickness of Bowman's layer of the cornea suggested that it was significantly thinner in the corneas of embryos exposed to 1-2 mM selenate. Selenate is an ion reported to inhibit sulfation of glycosaminoglycans in connective tissue.
Morphogenesis of the clearnose skate, Raja eglanteria, was not significantly inhibited as a result of 7 days of exposure to 1-2 mM selenate in the sea water during Days 59-69 of embryonic development (hatching would normally have occurred at 82 +/- 4 days of incubation). Although corneal transparency appeared normal in the eye, preliminary measurements of the thickness of Bowman's layer of the cornea suggested that it was significantly thinner in the corneas of embryos exposed to 1-2 mM selenate. Selenate is an ion reported to inhibit sulfation of glycosaminoglycans in connective tissue.
T lymphocytes and B lymphocytes are present in jawed vertebrates, including cartilaginous fishes, but not in jawless vertebrates or invertebrates. The origins of these lineages may be understood in terms of evolutionary changes in the structure and regulation of transcription factors that control lymphocyte development, such as PU.1. The identification and characterization of three members of the PU.1 family of transcription factors in a cartilaginous fish, Raja eglanteria, are described here. Two of these genes are orthologs of mammalian PU.1 and Spi-C, respectively, whereas the third gene, Spi-D, is a different family member. In addition, a PU.1-like gene has been identified in a jawless vertebrate, Petromyzon marinus (sea lamprey). Both DNA-binding and transactivation domains are highly conserved between mammalian and skate PU.1, in marked contrast to lamprey Spi, in which similarity is evident only in the DNA-binding domain. Phylogenetic analysis of sequence data suggests that the appearance of Spi-C may predate the divergence of the jawed and jawless vertebrates and that Spi-D arose before the divergence of the cartilaginous fish from the lineage leading to the mammals. The tissue-specific expression patterns of skate PU.1 and Spi-C suggest that these genes share regulatory as well as structural properties with their mammalian orthologs.
Embryos of the clearnose skate, Raja eglanteria, develop in sea water at 20-22 degrees C, hatching after 82 +/- 4 days (Luer and Gilbert, Environ. Biol. Fishes, 13:161-171, 1985). Eyes develop as steadily enlarging spheres whose corneas have the same radius of curvature as the sclera. The cornea begins development as a 2-cell thick epithelium beneath which by Day 12 there is only a basal lamina and a wispy matrix separating it from the underlying lens. This matrix, modified by Day 16, is displaced on Day 22 by a few orthogonal plies of fibrillar primary stroma. Ply number increases to at least 13 by Day 30, reaching the final number of 20 +/- 2 by Day 42. Stromal fibroblasts (keratocytes) appear at the corneal periphery by Day 22, and in increased numbers by Day 30, a time at which no keratocytes are seen in the central stroma. However, by Day 40, many fibroblasts are present at the corneal periphery, invading the primary stroma between plies, occasionally reaching even the central cornea. By Day 53, keratocytes are present between all plies, from corneal periphery to center. Thickness of each ply in this secondary stroma increases, but the number of plies remains the same as in the primary stroma. Bowman's layer, non-invaded matrix beneath the epithelial basal lamina, is not evident until Day 53. Sutural fibers, first seen on Day 22, originate in the corneal epithelial basal lamina, traversing perpendicularly the plies of the primary stroma. Sutural fibers persist throughout development of the secondary stroma and into adulthood. In contrast to chicks, skate corneas remain transparent throughout development, and never form an endothelium.
Nearly 120 years ago, the great “San Francisco” earthquake of 1906 provided a stark and sobering view of the havoc that can be caused by the sudden and violent movement of Earth’s tectonic plates. According to USGS, the rupture along the San Andreas fault extended 296 miles (447 kilometers) and shook so violently that the motion could be felt as far north as Oregon and east into Nevada. The estimated 7.9-magnitude quake and subsequent fires decimated the major metropolis and surrounding areas: buildings turned to ruins, hundreds of thousands of people left homeless, and a death toll exceeding 3,000. Today, as evidenced by the catastrophic 7.8-magnitude earthquake that struck Turkey in February of 2023, large earthquakes still present a significant potential danger to life and economic security as researchers work to develop ways to better understand earthquake phenomena and quantify associated risks.
Explore the source record for details and available documents.
Explore the source record for details and available documents.
Explore the source record for details and available documents.
Explore the source record for details and available documents.
In an effort to understand the opaque nature of high-voltage nanosecond microdischarges and their ability to block 532 nm nanosecond laser pulses, as demonstrated by Bataller et al. [Appl. Phys. Lett. 105, 223501 (2014)], Levko and Raja have published a paper [Phys. Plasmas 22, 123518 (2015)] which simulates spark discharges in 1 bar of xenon gas. At this ambient pressure, Levko and Raja simulate final electron densities much too low to explain the observed opacity and conclude the probing laser generates the requisite ionization for self-blocking. However, the experimental findings of Bataller et al. showed opacity being reached at 10 bar, an order of magnitude larger than the pressure simulated by Levko and Raja. Furthermore, Bataller et al. showed the spark remained opaque for very low laser intensities, insufficient to cause any significant ionization. Although the simulation performed by Levko and Raja could have merit at 1 bar, it is not an appropriate comparison to the regime studied by Bataller et al.