SearcharxivSearch

arXiv subjects

Alan Gray

Publications and source records attributed to Alan Gray.

17 recordsLinked to original sources

Redesigning GROMACS Halo Exchange: Improving Strong Scaling with GPU-initiated NVSHMEM

Improving time-to-solution in molecular dynamics simulations often requires strong scaling due to fixed-sized problems. GROMACS is highly latency-sensitive, with peak iteration rates in the sub-millisecond, making scalability on heterogeneous supercomputers challenging. MPI's CPU-centric nature introduces additional latencies on GPU-resident applications' critical path, hindering GPU utilization and scalability. To address these limitations, we present an NVSHMEM-based GPU kernel-initiated redesign of the GROMACS domain decomposition halo-exchange algorithm. Highly tuned GPU kernels fuse data packing and communication, leveraging hardware latency-hiding for fine-grained overlap. We employ kernel fusion across overlapped data forwarding communication phases and utilize the asynchronous copy engine over NVLink to optimize latency and bandwidth. Our GPU-resident formulation greatly increases communication-computation overlap, improving GROMACS strong scaling performance across NVLink by up to 1.5x (intra-node) and 2x (multi-node), and up to 1.3x multi-node over NVLink+InfiniBand. This demonstrates the profound benefits of GPU-initiated communication for strong-scaling a broad range of latency-sensitive applications.

cs.DC

Heterogeneous computing in a strongly-connected CPU-GPU environment: fast multiple time-evolution equation-based modeling accelerated using data-driven approach

We propose a CPU-GPU heterogeneous computing method for solving time-evolution partial differential equation problems many times with guaranteed accuracy, in short time-to-solution and low energy-to-solution. On a single-GH200 node, the proposed method improved the computation speed by 86.4 and 8.67 times compared to the conventional method run only on CPU and only on GPU, respectively. Furthermore, the energy-to-solution was reduced by 32.2-fold (from 9944 J to 309 J) and 7.01-fold (from 2163 J to 309 J) when compared to using only the CPU and GPU, respectively. Using the proposed method on the Alps supercomputer, a 51.6-fold and 6.98-fold speedup was attained when compared to using only the CPU and GPU, respectively, and a high weak scaling efficiency of 94.3% was obtained up to 1,920 compute nodes. These implementations were realized using directive-based parallel programming models while enabling portability, indicating that directives are highly effective in analyses in heterogeneous computing environments.

cs.CE

Heterogeneous Parallelization and Acceleration of Molecular Dynamics Simulations in GROMACS

The introduction of accelerator devices such as graphics processing units (GPUs) has had profound impact on molecular dynamics simulations and has enabled order-of-magnitude performance advances using commodity hardware. To fully reap these benefits, it has been necessary to reformulate some of the most fundamental algorithms, including the Verlet list, pair searching and cut-offs. Here, we present the heterogeneous parallelization and acceleration design of molecular dynamics implemented in the GROMACS codebase over the last decade. The setup involves a general cluster-based approach to pair lists and non-bonded pair interactions that utilizes both GPUs and CPU SIMD acceleration efficiently, including the ability to load-balance tasks between CPUs and GPUs. The algorithm work efficiency is tuned for each type of hardware, and to use accelerators more efficiently we introduce dual pair lists with rolling pruning updates. Combined with new direct GPU-GPU communication as well as GPU integration, this enables excellent performance from single GPU simulations through strong scaling across multiple GPUs and efficient multi-node parallelization.

physics.comp-ph

Performance report and optimized implementation of Weather & Climate Dwarfs on GPU, MIC and Optalysys Optical Processor

This document is one of the deliverable reports created for the ESCAPE project. ESCAPE stands for Energy-efficient Scalable Algorithms for Weather Prediction at Exascale. The project develops world-class, extreme-scale computing capabilities for European operational numerical weather prediction and future climate models. This is done by identifying Weather & Climate dwarfs which are key patterns in terms of computation and communication (in the spirit of the Berkeley dwarfs). These dwarfs are then optimised for different hardware architectures (single and multi-node) and alternative algorithms are explored. Performance portability is addressed through the use of domain specific languages. Here we summarize the work performed on optimizations of the dwarfs on CPUs, Xeon Phi, GPUs and on the Optalysys optical processor. We limit ourselves to a subset of the dwarf configurations and to problem sizes small enough to execute on a single node. Also, we use time-to-solution as the main performance metric. Multi-node optimizations of the dwarfs and energy-specific optimizations are beyond the scope of this report and will be described in Deliverable D3.4. To cover the important algorithmic motifs we picked dwarfs related to the dynamical core as well as column physics. Specifically, we focused on the formulation relevant to spectral codes like ECMWF's IFS code. The main findings of this report are: (a) Acceleration of 1.1x - 2.5x of the dwarfs on CPU based systems using compiler directives, (b) order of magnitude acceleration of the dwarfs on GPUs (23x for spectral transform, 9x for MPDATA) using data locality optimizations and (c) demonstrated feasibility of a spectral transform in a purely optical fashion.

cs.DC

Performance report and optimized implementations of Weather & Climate dwarfs on multi-node systems

This document is one of the deliverable reports created for the ESCAPE project. ESCAPE stands for Energy-efficient Scalable Algorithms for Weather Prediction at Exascale. The project develops world-class, extreme-scale computing capabilities for European operational numerical weather prediction and future climate models. This is done by identifying Weather & Climate dwarfs which are key patterns in terms of computation and communication (in the spirit of the Berkeley dwarfs). These dwarfs are then optimised for different hardware architectures (single and multi-node) and alternative algorithms are explored. Performance portability is addressed through the use of domain specific languages. Here we summarize the work performed on optimizations of the dwarfs focusing on CPU multi-nodes and multi-GPUs. We limit ourselves to a subset of the dwarf configurations chosen by the consortium. Intra-node optimizations of the dwarfs and energy-specific optimizations have been described in Deliverable D3.3. To cover the important algorithmic motifs we picked dwarfs related to the dynamical core as well as column physics. Specifically, we focused on the formulation relevant to spectral codes like ECMWF's IFS code. The main findings of this report are: (a) Up-to 30% performance gain with CPU based multi-node systems compared to optimized version of dwarfs from task 3.3 (see D3.3), (b) up to 10X performance gain on multiple GPUs from optimizations to keep data resident on the GPU and enable fast inter-GPU communication mechanisms, and (c) multi-GPU systems which feature a high-bandwidth all-to-all interconnect topology with NVLink/NVSwitch hardware are particularly well suited to the algorithms.

cs.DC

A Lightweight Approach to Performance Portability with targetDP

Leading HPC systems achieve their status through use of highly parallel devices such as NVIDIA GPUs or Intel Xeon Phi many-core CPUs. The concept of performance portability across such architectures, as well as traditional CPUs, is vital for the application programmer. In this paper we describe targetDP, a lightweight abstraction layer which allows grid-based applications to target data parallel hardware in a platform agnostic manner. We demonstrate the effectiveness of our pragmatic approach by presenting performance results for a complex fluid application (with which the model was co-designed), plus a separate lattice QCD particle physics code. For each application, a single source code base is seen to achieve portable performance, as assessed within the context of the Roofline model. TargetDP can be combined with MPI to allow use on systems containing multiple nodes: we demonstrate this through provision of scaling results on traditional and GPU-accelerated large scale supercomputers.

cs.DC

targetDP: an Abstraction of Lattice Based Parallelism with Portable Performance

To achieve high performance on modern computers, it is vital to map algorithmic parallelism to that inherent in the hardware. From an application developer's perspective, it is also important that code can be maintained in a portable manner across a range of hardware. Here we present targetDP (target Data Parallel), a lightweight programming layer that allows the abstraction of data parallelism for applications that employ structured grids. A single source code may be used to target both thread level parallelism (TLP) and instruction level parallelism (ILP) on either SIMD multi-core CPUs or GPU-accelerated platforms. targetDP is implemented via standard C preprocessor macros and library functions, can be added to existing applications incrementally, and can be combined with higher-level paradigms such as MPI. We present CPU and GPU performance results for a benchmark taken from the lattice Boltzmann application that motivated this work. These demonstrate not only performance portability, but also the optimisation resulting from the intelligent exposure of ILP.

cs.DC

picoArray Technology: The Tool's Story

This paper briefly describes the picoArray? architecture, and in particular the deterministic internal communication fabric. The methods that have been developed for debugging and verifying systems using devices from the picoArray family are explained. In order to maximize the computational ability of these devices, hardware debugging support has been kept to a minimum and the methods and tools developed to take this into account.

cs.AR

$B^0_s - \bar{B^0_s}$ Mixing Parameters from Unquenched Lattice QCD

We determine hadronic matrix elements relevant for the mass and width differences, $ΔM_s$ & $ΔΓ_s$ in the $B^0_s - \bar{B^0_s}$ meson system using fully unquenched lattice QCD. We employ the MILC collaboration gauge configurations that include $u$, $d$ and $s$ sea quarks using the improved staggered quark (AsqTad) action and a highly improved gluon action. We implement the valence $s$ quark also with the AsqTad action and use Nonrelativistic QCD for the valence $b$ quark. For the nonperturbative QCD input into the Standard Model expression for $ΔM_s$ we find $f_{B_s} \sqrt{\hat{B}_{B_s}} = 0.281(21)$GeV. Results for four-fermion operator matrix elements entering Standard Model formulas for $ΔΓ_s$ are also presented.

hep-lat

B Meson Semileptonic Form Factors from Unquenched Lattice QCD

The semileptonic process, B --> \pi l \nu, is studied via full QCD Lattice simulations. We use unquenched gauge configurations generated by the MILC collaboration. These include the effect of vacuum polarization from three quark flavors: the $s$ quark and two very light flavors ($u/d$) of variable mass allowing extrapolations to the physical chiral limit. We employ Nonrelativistic QCD to simulate the $b$ quark and a highly improved staggered quark action for the light sea and valence quarks. We calculate the form factors $f_+(q^2)$ and $f_0(q^2)$ in the chiral limit for the range 16 GeV$^2 \leq q^2 < q^2_{max}$ and obtain $\int^{q^2_{max}}_{16 GeV^2} [d\Gamma/dq^2] dq^2 / |v_{ub}|^2 = 1.46(35) ps^{-1}$. Combining this with a preliminary average by the Heavy Flavor Averaging Group (HFAG'05) of recent branching fraction data for exclusive B semileptonic decays from the BaBar, Belle and CLEO collaborations, leads to $|V_{ub}| = 4.22(30)(51) \times 10^{-3}$. PLEASE NOTE APPENDIX B with an ERRATUM, to appear in Physical Review D, to the published version of this e-print (Phys.Rev.D 73, 074502 (2006)). Results for the form factor $f_+(q^2)$ in the chiral limit have changed significantly. The last two sentences in this abstract should now read; "We calculate the form factor $f_+(q^2)$ and $f_0(q^2)$ in the chiral limit for the range 16 Gev$^2 \leq q^2 < q^2_{max}$ and obtain $\int^{q^2_{max}}_{16 GeV^2} [d\Gamma/dq^2] dq^2 / |V_{ub}|^2 = 2.07(57)ps^{-1}$. Combining this with a preliminary average by the Heavy Flavor Averagibg Group (HFAG'05) of recent branching fraction data for exclusive B semileptonic decays from the BaBar, Belle and CLEO collaborations, leads to $|V_{ub}| = 3.55(25)(50) \times 10^{-3}$."

hep-lat

B semileptonic decays with 2+1 dynamical quark flavors

We study semileptonic B decays, using MILC dynamical configurations with $N_f=2+1$. NRQCD heavy and AsqTad light quark actions are used. We obtain the semileptonic form factors $f_+(q^2)$ and $f_0(q^2)$ in the chiral limit.

hep-lat

The B Meson Decay Constant from Unquenched Lattice QCD

We present determinations of the B meson decay constant f_B and of the ratio f_{B_s}/f_B using the MILC collaboration unquenched gauge configurations which include three flavors of light sea quarks. The mass of one of the sea quarks is kept around the strange quark mass, and we explore a range in masses for the two lighter sea quarks down to m_s/8. The heavy b quark is simulated using Nonrelativistic QCD, and both the valence and sea light quarks are represented by the highly improved (AsqTad) staggered quark action. The good chiral properties of the latter action allow for a much smoother chiral extrapolation to physical up and down quarks than has been possible in the past. We find f_B = 216(9)(19)(4) (6) MeV and f_{B_s} /f_B = 1.20(3)(1).

hep-lat

Mass of the B_c Meson in Three-Flavor Lattice QCD

We use lattice QCD to predict the mass of the $B_c$ meson. We use the MILC Collaboration's ensembles of lattice gauge fields, which have a quark sea with two flavors much lighter than a third. Our final result is $m_{B_c}=6304\pm12^{+18}_{- 0} MeV$. The first error bar is a sum in quadrature of statistical and systematic uncertainties, and the second is an estimate of heavy-quark discretization effects.

hep-lat

B Decays on the Lattice and Results for Phenomenology

Lattice Monte Carlo simulations now include the effects of 2 light sea quarks and 1 strange sea quark through the use of an improved staggered fermion action. Consequently, results important to phenomenology are free of the approximate 10% errors inherent in the quenched approximation. This talk reports on calculations of the B and Bs decay constants and B -> pi l nu form factors. Accurate determinations of these quantities will lead to tighter constraints on CKM matrix elements.

hep-ph

The B_s and D_s decay constants in 3 flavor lattice QCD

Capitalizing on recent advances in lattice QCD, we present a calculation of the leptonic decay constants f_{B_s} and f_{D_s} that includes effects of one strange sea quark and two light sea quarks. The discretization errors of improved staggered fermion actions are small enough to simulate with 3 dynamical flavors on lattices with spacings around 0.1 fm using present computer resources. By shedding the quenched approximation and the associated lattice scale ambiguity, lattice QCD greatly increases its predictive power. NRQCD is used to simulate heavy quarks with masses between 1.5 m_c and m_b. We arrive at the following results: f_{B_s} = 260 \pm 7 \pm 26 \pm 8 \pm 5 MeV and f_{D_s} = 290 \pm 20 \pm 29 \pm 29 \pm 6 MeV. The first quoted error is the statistical uncertainty, and the rest estimate the sizes of higher order terms neglected in this calculation. All of these uncertainties are systematically improvable by including another order in the weak coupling expansion, the nonrelativistic expansion, or the Symanzik improvement program.

hep-ph

Progress Calculating Decay Constants with NRQCD and AsqTad Actions

We combine a light AsqTad antiquark with a nonrelativistic heavy quark to compute the decay constants of heavy-light pseudoscalar mesons using the ensemble of 3-flavor gauge field configurations generated by the MILC collaboration. Preliminary results for $f_{B_s}$ and $f_{D_s}$ are given and status of the chiral extrapolation to $f_B$ is reported. We also touch upon results of the perturbative calculation which matches matrix elements in the effective theory to the full theory at 1-loop order.

hep-lat