Plasma and Fusion Research
Online ISSN : 1880-6821
ISSN-L : 1880-6821
Regular Articles
HPC Parallel Programming Model for Gyrokinetic MHD Simulation
Hiroshi NAITOUYusuke YAMADAShinji TOKUDAYasutomo ISHIIMasatoshi YAGI
Author information
JOURNAL FREE ACCESS

2011 Volume 6 Pages 2401084

Details
Abstract

The 3-dimensional gyrokinetic PIC (particle-in-cell) code for MHD simulation, Gpic-MHD, was installed on SR16000 (“Plasma Simulator”), which is a scalar cluster system consisting of 8,192 logical cores. The Gpic-MHD code advances particle and field quantities in time. In order to distribute calculations over large number of logical cores, the total simulation domain in cylindrical geometry was broken up into NDD-r × NDD-z (number of radial decomposition times number of axial decomposition) small domains including approximately the same number of particles. The axial direction was uniformly decomposed, while the radial direction was non-uniformly decomposed. NRP replicas (copies) of each decomposed domain were used (“particle decomposition”). The hybrid parallelization model of multi-threads and multi-processes was employed: threads were parallelized by the auto-parallelization and NDD-r ×NDD-z ×NRP processes were parallelized by MPI (message-passing interface). The parallelization performance of Gpic-MHD was investigated for the medium size system of Nr × Nθ × Nz = 1025 × 128 × 128 mesh with 4.196 or 8.192 billion particles. The highest speed for the fixed number of logical cores was obtained for two threads, the maximum number of NDD-z, and optimum combination of NDD-r and NRP. The observed optimum speeds demonstrated good scaling up to 8,192 logical cores.

Content from these authors
© 2011 by The Japan Society of Plasma Science and Nuclear Fusion Research
Previous article Next article
feedback
Top