skip to main content
10.1145/3120895.3120903acmotherconferencesArticle/Chapter ViewAbstractPublication PagesheartConference Proceedingsconference-collections
research-article

A porting and optimization of search for neighbour-particle in MPS method for GPU by using OpenACC

Authors Info & Claims
Published:07 June 2017Publication History

ABSTRACT

Moving Particle Semi-implicit (MPS) method is a particle method used in fields such as computational fluid dynamics. It is classified as a particle method. Target fluids and objects are divided up into particles, and each particle interacts with its neighbour-particle. The search for neighbour-particle is the main bottleneck of the MPS method. In this paper, we port and optimize "search for neighbour-particle" part in MPS method for GPU by using OpenACC. It accounted for 56% of all the processing time. We present three different optimizations and evaluated them with three different data sets; 25,704, 224,910 and 2,247,750 particles. We also use four different GPUs; NVIDIA K20c, GTX1080, P100(PCIe) and P100(NVlink). As a result, P100(NVlink) GPU achieves 41.5 times speed-up compared with 24 MPI process CPU version when the number of particles is 2,247,750.

References

  1. Openacc home --- www.openacc.org. http://www.openacc.org/.Google ScholarGoogle Scholar
  2. S. Koshizuka and Y. Oka. Moving particle semi-implicit method for fragmentation of incompressible fluid. Nuclear Science and Engineering, 123:421--434, 1996. Google ScholarGoogle ScholarCross RefCross Ref
  3. J. Larkin. OpenACC Programming & Best Practices Guide, July 2015.Google ScholarGoogle Scholar
  4. K. Murotani, S. Koshizuka, T. Tamai, K. Shibata, N. Mitsume, S. Yoshimura, S. Tanaka, K. Hasegawa, E. Nagai, and T. Fujisawa. Development of hierarchical domain decomposition explicit mps method and application to large-scale tsunami analysis with floating objects. Journal of Advanced Simulation in Science and Engineering, 1(1):16--35, 2014. Google ScholarGoogle ScholarCross RefCross Ref
  5. K. Murotani, I. Masaie, T. Matsunaga, S. Koshizuka, R. Shioya, M. Ogino, and T. Fujisawa. Performance improvements of differential operators code for mps method on gpu. Computational Particle Mechanics, 2(3):261--272, 2015. Google ScholarGoogle ScholarCross RefCross Ref
  6. W. Seiya, A. Takayuki, T. Satori, and S. Takashi. Neighbor-particle Searching Method for Particle Simulation Based on Contact Interaction Model for GPU Computing. IPSJ Transactions on Advanced Computing Systems, 8(4):50--60, 2015.Google ScholarGoogle Scholar
  7. Y. Sota, A. Watanabe, and T. Kojima. Accerelation of the moving paricle semi-implicit method through multi-gpu parallel computing with dynamic domain decomposition. Journal of Japan Society of Civil Engineers, Ser. A2 (Applied Mechanics (AM)), 69(2), 2013.Google ScholarGoogle Scholar
  8. H. Sun, Y. Tian, Y. Zhang, J. Wu, S. Wang, Q. Yang, and Q. Zhou. A special sorting method for neighbor search procedure in smoothed particle hydrodynamics on gpus. In Parallel Processing Workshops (ICPPW), 2015 44th International Conference on, pages 81--85, Sept 2015. Google ScholarGoogle ScholarDigital LibraryDigital Library

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Other conferences
    HEART '17: Proceedings of the 8th International Symposium on Highly Efficient Accelerators and Reconfigurable Technologies
    June 2017
    172 pages
    ISBN:9781450353168
    DOI:10.1145/3120895

    Copyright © 2017 ACM

    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 7 June 2017

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • research-article
    • Research
    • Refereed limited

    Acceptance Rates

    Overall Acceptance Rate22of50submissions,44%

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader