Parallelisation and Performance Analysis of a TreeSPH Code for Galaxy Simulations
In cosmological simulations, the Lagrangian method Smoothed Particle Hydrodynamics is often applied to cover gas dynamics and combined with tree algorithms for long-range potentials like the Barnes-Hut method to include self-gravity and derive the nearest neighbour lists efficiently. In this thesis,...
Main Author: | |
---|---|
Format: | Others |
Language: | English |
Published: |
KTH, Numerisk analys, NA
2014
|
Online Access: | http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-147340 |
id |
ndltd-UPSALLA1-oai-DiVA.org-kth-147340 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-UPSALLA1-oai-DiVA.org-kth-1473402014-06-27T05:05:35ZParallelisation and Performance Analysis of a TreeSPH Code for Galaxy SimulationsengParallellisering och prestandaanalys av en TreeSPH-kod för galaxsimuleringarBaloglu, Maximilian VolkanKTH, Numerisk analys, NA2014In cosmological simulations, the Lagrangian method Smoothed Particle Hydrodynamics is often applied to cover gas dynamics and combined with tree algorithms for long-range potentials like the Barnes-Hut method to include self-gravity and derive the nearest neighbour lists efficiently. In this thesis, a so-called TreeSPH code is parallelized by using MPI and subsequently the performance is analysed. For the domain decomposition to the processes, the structure of an octree is examined and space filling curves are applied to achieve well-working dynamical load balancing. For an efficient parallel SPH calculation, a novel method with a localised boundary handling is proposed to reduce communication overhead Inom kosmologiska simulationer är den Lagrangianska metoden Smoothed Particle Hydrodynamics en vanligt förekommande metod för att täcka gasdynamik och kombineras med trädalgortimer för långdistanspotentialer, exempelvis Barnes-Huts metod för att inkludera självgravitation och effektivt konstruera listor med de närmaste grannarna. I detta examensarbete parallelliseras en så kallad TreeSPH-kod med hjälp av MPI, därefter analyseras prestandan. Gällande domändekomposition av processerna så undersöks strukturen av en octree där rymdfyllande kurvor appliceras för att uppnå en väl fungerande dynamisk lastbalansering. För en effektiv parallell SPH beräkning föreslås en ny metod med lokal randbehandling för att reducera kommunikation. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-147340TRITA-MAT-E ; 2014:39application/pdfinfo:eu-repo/semantics/openAccess |
collection |
NDLTD |
language |
English |
format |
Others
|
sources |
NDLTD |
description |
In cosmological simulations, the Lagrangian method Smoothed Particle Hydrodynamics is often applied to cover gas dynamics and combined with tree algorithms for long-range potentials like the Barnes-Hut method to include self-gravity and derive the nearest neighbour lists efficiently. In this thesis, a so-called TreeSPH code is parallelized by using MPI and subsequently the performance is analysed. For the domain decomposition to the processes, the structure of an octree is examined and space filling curves are applied to achieve well-working dynamical load balancing. For an efficient parallel SPH calculation, a novel method with a localised boundary handling is proposed to reduce communication overhead === Inom kosmologiska simulationer är den Lagrangianska metoden Smoothed Particle Hydrodynamics en vanligt förekommande metod för att täcka gasdynamik och kombineras med trädalgortimer för långdistanspotentialer, exempelvis Barnes-Huts metod för att inkludera självgravitation och effektivt konstruera listor med de närmaste grannarna. I detta examensarbete parallelliseras en så kallad TreeSPH-kod med hjälp av MPI, därefter analyseras prestandan. Gällande domändekomposition av processerna så undersöks strukturen av en octree där rymdfyllande kurvor appliceras för att uppnå en väl fungerande dynamisk lastbalansering. För en effektiv parallell SPH beräkning föreslås en ny metod med lokal randbehandling för att reducera kommunikation. |
author |
Baloglu, Maximilian Volkan |
spellingShingle |
Baloglu, Maximilian Volkan Parallelisation and Performance Analysis of a TreeSPH Code for Galaxy Simulations |
author_facet |
Baloglu, Maximilian Volkan |
author_sort |
Baloglu, Maximilian Volkan |
title |
Parallelisation and Performance Analysis of a TreeSPH Code for Galaxy Simulations |
title_short |
Parallelisation and Performance Analysis of a TreeSPH Code for Galaxy Simulations |
title_full |
Parallelisation and Performance Analysis of a TreeSPH Code for Galaxy Simulations |
title_fullStr |
Parallelisation and Performance Analysis of a TreeSPH Code for Galaxy Simulations |
title_full_unstemmed |
Parallelisation and Performance Analysis of a TreeSPH Code for Galaxy Simulations |
title_sort |
parallelisation and performance analysis of a treesph code for galaxy simulations |
publisher |
KTH, Numerisk analys, NA |
publishDate |
2014 |
url |
http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-147340 |
work_keys_str_mv |
AT baloglumaximilianvolkan parallelisationandperformanceanalysisofatreesphcodeforgalaxysimulations AT baloglumaximilianvolkan parallelliseringochprestandaanalysaventreesphkodforgalaxsimuleringar |
_version_ |
1716705167773007872 |