Published September 9, 2013 | Version v1
Working paper Open

PLANETESIM: Fourier transformations in the Pencil Code

Creators

  • 1. Centre of Mathematical Sciences & Lunarc, Lund University, Box 118, 221 00 Lund, Sweden

Contributors

  • 1. Department of Astronomy and Theoretical Physics, Lund University, Box 43, 221 00 Lund, Sweden

Description

The simulation of weakly compressible turbulent gas ows with embedded particles is one of the main objectives of the
Pencil Code. While the code mostly deploys high order nite di erence schemes, portions of the code require the use of
Fourier space methods. This report describes an optimisation project to improve the performance of the parallel Fourier
transformation in the code. Certain optimisations which signi cantly improve the performance of the parallel FFT were
observed to have a negative impact on other parts of the code, such that the overall performance decreases. Despite this
challenge the project managed to improve the performance of the parallel FFT within the Pencil Code by a factor of
2.4 and the overall performance of the application by 8% for a project-relevant benchmark.

Files

WP109.pdf

Files (277.5 kB)

Name Size Download all
md5:fc741d7e67882b1e38be1d135ee02ac7
277.5 kB Preview Download

Additional details

Funding

PRACE-2IP – PRACE - Second Implementation Phase Project 283493
European Commission