Skip to main content

Durham's oneAPI Academic Centre of Excellence

Durham University's Department of Computer Science is excited to host Intel's first United Kingdom (UK) oneAPI Academic Centre of Excellence (CoE). With the support from Intel over the past three years, the centre conducts research around task-based programming using one API development for heterogeneous architectures, champions oneAPI training, and studies how to make use of AI techniques to accelerate classic simulations. Our goal is to extend the hyperbolic PDE engine ExaHyPE into a OneExaHyPE code that scales across a wide variety of GPU-accelerated machines. The algorithmic and methodological insights will be beneficial for many other simulation codes. Furthermore, the centre organises workshops and tutorials around oneAPI cross-architecture programming. They are open to Durham students and faculty, and available to colleagues from all over the UK and beyond.

OneExaHyPE

ExaHyPE is an engine, i.e., a generic collection of state-of-the-art numerical ingredients (high-order time integration, high-order DG representations, block-structured Finite Volume methods, dynamically adaptive Cartesian meshes, task-based load-balancing, and so forth) to solve hyperbolic equation systems given in first-order formulation. The engine allows users to define what (equations) they want to solve, and then it decides how to solve them, where and in which order. It also commits to a particular set of numerical techniques. This degree of freedom on the application domain side in combination with the methodological focus opens the door for various algorithmic optimisations, as all ingredients can be tightly integrated and are aggressively optimised towards each other. Codes using the engine are currently used to implement solvers simulating various phenomena ranging from gravitational waves to tsunamis and earthquakes. Written originally under the umbrella of a FET HPC H2020 grant, the second generation of the code is a complete rewrite and a UK ExCALIBUR showcase code and backbone of an Excalibur Design and Development Working Group. The Exascale Computing ALgorithms and Infrastructures Benefiting UK Research (ExCALIBUR) programme's strategic vision is to prepare the UK for the exascale era. It also serves as one of three showcase codes for ExCALIBUR's cross-cutting task-parallelism theme.

ExaHyPE's compute core is entirely written in C++, and as of early 2024, has a backend for OpenMP 5, TBB and SYCL to administer its tasks and to offload to GPUs. This homogeneous software view of the hardware behind the code yields a maintainable, C++-only, vendor-independent code base. Through collaborations between scientists and research software engineers from Intel and Durham's Advanced Research Computing, the OneExaHyPE team at Durham's Department of Computer Science can intermix the scheduling of data-parallel and task-parallel regions. In state-of-the-art codes, these two paradigms often compete with each other, while data-parallel regions are either completely deployed to a GPU, an FPGA, or not at all.

"Current HPC codes often run efficiently either on multicore nodes or accelerators, but typically struggle to balance between the two paradigms and to get the best performance out of both architectures working together" says Tobias Weinzierl, Durham's Principal Investigator. "The added value and big promise behind oneAPI is that we get one programming model for all parts of the machine and then can let algorithms decide dynamically which steps of the code to run where."

ExaHyPE's new OneExaHyPE generation will provide opportunities to extend new research in astrophysics. The team around Weinzierl joined forces with colleagues from Durham's Institute for Computational Cosmology (ICC) to study new gravitational models and theories and to better understand how systems of binary black holes or neutron stars merge. Such mergers emit gravitational waves that we can measure and serves as cosmological test benches for new theories. ExaHyPE's other traditional application is seismic waves, where achieving better performance and scalability will help scientists improve our understanding of these waves and their interplay with the actual fault geometries and material ruptures. The biggest promise behind OneExaHyPE's research, however, is the identification, validation and documentation of novel parallelisation patterns and concepts that will help many other codes to exploit the added value behind oneAPI: multi-architecture performance portable, scaling, maintainable code.

Durham has always been a stronghold of theoretical computer science. It hosts three regional and national supercomputers for the University, DiRAC and the N8 (the N8 Research Partnership is a collaboration of the eight most research-intensive Universities in the North of England). This makes Durham a unique place to be for the enablement of next-generation research through [the embedding of] Exascale methods and technologies” clarifies Alan Real, head of Durham’s directorate of Advanced Research Computing (ARC). Durham also is home to international research institute flagships such as the ICC, whose research is relying on top-notch, large-scale computational infrastructure. Finally, the University recently started to invest into the provision and promotion of Research Software Engineers (RSE) - a role that offers an alternative to the classical academic career path for colleagues who want to focus on software as an enabling technology. It is the combination of theory- and algorithm-driven computer scientists, RSEs, compute centre specialists and teamwork with Intel engineers which will deliver the research programme.

The oneAPI endeavour also complements Durham's recent research projects funded under the UK's exascale programme ExCALIBUR. These include a project around task-based parallel programming in collaboration with Hartree and the MetOffice, two projects around ExaHyPE and the SPH code SWIFT (a former Intel Parallel Computing Centre code), as part of a Design and Development Working Group, along with novel hardware testbeds as part of ExCALIBUR's Hardware and Enabling Software activities. It also uses elements from ExCALIBUR’s MGHyPE project.

oneAPI Training

Durham's Computer Science is consistently ranked as one of the best places to study computer science in the UK. It champions the Master in Scientific Computing and Data Analysis (MISCADA), while a consortium of Computer Science, ARC and DiRAC together offer professional HPC training for postgraduate and professional colleagues from all over the UK.  Together with Intel, the centre integrates advanced workshops and lectures about task-based programming and SYCL-based accelerator usage using the Intel® oneAPI Toolkits into its courses.

Further links

About oneAPI

oneAPI is an open, unified and cross-architecture programming model for CPUs and accelerator architectures (GPUs, FPGAs, and others). Based on standards, the programming model simplifies software development and delivers uncompromised performance for accelerated compute without proprietary lock-in, while enabling the integration of legacy code. With oneAPI, developers can choose the best accelerator architecture for the specific problem they are trying to solve without needing to rewrite software for the next architecture and platform. 

Contact: Tobias Weinzierl