HAG

From HP-SEE Wiki

Jump to: navigation, search

Contents

General Information

  • Application's name: High energy physics Algorithms on GPU
  • Application's acronym: HAG
  • Virtual Research Community: Computational Physics
  • Scientific contact: Mihai Niculescu, mihai@spacescience.ro
  • Technical contact: Mihai Niculescu, mihai@spacescience.ro
  • Developers: High Energy Astrophysics and Advanced Tehnologies, Institute of Space Sciences, Romania; Faculty of Physics, University of Bucharest, Romania
  • Web site: http://wiki.hp-see.eu/index.php/HAG

Short Description

HAG's goal is to implement common algorithms used in the study of heavy ions nuclear collisions. More specifically, algorithms for nuclear flow studies are implemented.

Problems Solved

The most important goal of the heavy-ion physics in the ultra-relativistic energy domain is the search for the phase transition between hadronic matter and the quark-gluon plasma (QGP). This new state of matter is believed to be created at approximate 1 microsecond after the Big Bang. To describe this state of nuclear matter it is necessary to analyze a huge volume of information of physical observables characterizing various emitted particles in ultra relativistic nuclear collisions. The time taken to analyze the data and to obtain fast and reliable results depends on high performance computing. Most common solution to solve this problem is to use large arrays of computer clusters such GRID or GRID-like computing solutions or with local parallel computing facilities. During the last a new technology has emerge in the parallel processing field. This technology allows the processing data to be done on graphic processor. The application computes several interesting observables for heavy-ion physics using the GPUs.

Implemented algorithms for studying nuclear flow and the possibility to visualise data in real time make this application a great tool in research and with possibilities in education.

Thus, main problems solved by this application:

  • cutting short the time taken to analyse data
  • presenting a tool useful for young students who want to learn more about heavy ion nuclear collisions.

Scientific and Social Impact

Because of the application runs on GPU allows one to make online analysis and see in real time the way parameters change. The possibility to visualize the 3D evolution of the nuclear interaction may prove as an useful tool in education, where graduate students will use a very fast and easy tool for analysis of experimental and simulated data.

Collaborations

Upon completion, HAG is going to be a great software tool useful for HEP researchers from Institute of Space Sciences, but it will also benefit Faculty of Physics, University of Bucharest.

Beneficiaries

Main beneficiaries are research groups in Computational Physics and High Energy Physics.

Number of users

9

Development Plan

  • Concept: M1
  • Start of alpha stage: M5
  • Start of beta stage: M10
  • Start of testing stage: M13 - CUDA implementation tested and porting to OpenCL
  • Start of deployment stage: M17
  • Start of production stage: M17 - M24 - CUDA Implementation

Resource Requirements

  • Number of cores required for a single run: 4x480 GPUs, 32 CPUs
  • Minimum RAM/core required: 1.5GB/video card, 2GB/core
  • Storage space during a single run: 4TB
  • Long-term data storage: 50TB
  • Total core hours required: 300000

Technical Features and HP-SEE Implementation

  • Primary programming language: C++
  • Parallel programming paradigm: SIMT - Single Instruction Multiple Threads (CUDA with C)
  • Main parallel code: C++
  • Pre/post processing code: C++
  • Application tools and libraries: Qt, CUDA, ROOT framework, OpenCL

Usage Example

Application main window
Application main interface. On left side is the event tree. On center the 3D visualisation of the interaction(Au-Au at sqrt(sNN )=200GeV ). On right side is the evolution PT distribution over all particles in real-time. Also, at the top right side is the particle filter.

HAG allows the user to visualise in 3D the particles generated by UrQMD(Ultra relativistic Quantum Molecular Dynamics) simulations and run a variety of algorithms on the simulation data. The increase GPU (Graphical Processor Unit) performance makes possible both the analysis of data and also the real-time visualisation of the interaction.

As a front-end to the user, the application uses Qt4 libraries for GUI. The input data, obtained from a SQLite3 database file, is fetched and loaded on the graphic device. After this, the data is processed on GPU using CUDA (Compute Unified Device Architecture). The processed data is output in a OpenGL (Open Graphics Library) viewport and in ROOT's graphs or histograms. Using widgets, one can select/filter events, frames or particles that are going to be processed.

Also, another feature is to render all frames in an event continually, such that one sees the evolution of particles as a fluid animation. Just like movie player, with buttons to play/pause or go forward, backward, these features are a very important in the educational process of students and young researchers.

UrQMD Viewer - http://www.youtube.com/watch?v=KW52eHWD_so

Infrastructure Usage

  • Home system: Computing Center at ISS, located in Magurele, Romania
    • Applied for access on: 02.2011
    • Access granted on: 02.2011
    • Achieved scalability: 32 CPU cores
  • Accessed production systems:
  1. GPU-SERVER
    • Applied for access on: 03.2011
    • Access granted on: 03.2011
    • Achieved scalability: 480
  • Porting activities: The application has been successfully ported on GPU-SERVER. OpenCL code was also implemented.
  • Scalability studies: Tests on 32 and 480 cores.

Running on Several HP-SEE Centres

  • Benchmarking activities and results: First was scale on 32 cores and after that on 480 cores .
  • Other issues: Optimisation code for CUDA and OpenCL

Achieved Results

HAG application was testing use new computing infrastructures(GPU) for High Energy Physics. Algorithms implemented were tested on GPU and CPU architecture. Both CUDA and OpenCL are available. OpenCL implementation needs optimisation and scalability tests.

The application we developed allows one to make online analysis and see in real time the way parameters change. The possibility to visualize the 3D evolutionof the nuclear interaction may prove as an useful tool in education. The benchmark tests show that a single graphic board is close in performance with a cluster of CPUs at a much lower maintenance and price. Because the parallel programming model on GPU is very different than on CPU, this approach makes the implementation of algorithms from heavy-ions a slow process.

Publications

  • M. NICULESCU, A.JIPA , C.M. MITU, S.I ZGURA, DATA ANALYSIS AND 3D EVOLUTION IN HIGH ENERGY PHYSICS USING GRAPHIC PROCESSOR , Conferinta Nationala de Fizica 2010, Iasi
  • Mihai Niculescu, Sorin-Ion Zgura, Computing trends using graphic processor in High Energy Physics, arXiv:1106.6217v1, http://arxiv.org/abs/1106.6217

Foreseen Activities

Porting code from CUDA to OpenCL to use all heterogeneous platforms contained on the system(CPU, GPU).

Personal tools