Skip to main content

Abstract Parallel Array Types and Ghost Cell Update Implementation

  • Conference paper
  • First Online:
Algorithms and Architectures for Parallel Processing (ICA3PP 2018)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 11334))

  • 1472 Accesses

Abstract

Stencil patterns are widely used in scientific simulations and image processing. To parallelize these problems, we have to divide data into chunks that are processed by different processors. One challenge with this approach is the update of ghost cells, which are the neighbor values that calculated on remote processes. This paper focus on the update communication. We provide an abstract array types to describe distribution patterns, such as ghost cells, from global and intuitive view. Based on this description, a general copyto function is provided to perform communication automatically. Furthermore, our work makes it possible to design a distribution-independent algorithm. This results in better productivity on tuning performance.

Supported by National Key R&D Program of China under Grants No. 2016YFB0200502; and National Natural Science Foundation of China Grants No. 61672208, 61432018.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Kjolstad, F.B., Snir, M.: Ghost cell pattern. In: Proceedings of the 2010 Workshop on Parallel Programming Patterns. ACM (2010)

    Google Scholar 

  2. Gropp, W., Thakur, R., Lusk, E.: Using MPI- 2: Advanced Features of the Message Passing Interface. MIT Press, Cambridge (1999)

    Book  Google Scholar 

  3. Gropp, W., Lusk, E., Swider, D.: Improving the performance of MPI derived datatypes. In: Third MPI Developer’s and User’s Conference (MPIDC 1999) (1999)

    Google Scholar 

  4. Hou, C., Xu, J., Wang, P., et al.: Petascale molecular dynamics simulation of crystalline silicon on Tianhe-1A. Int. J. High Perform. Comput. Appl. 27(3), 307–317 (2013)

    Article  Google Scholar 

  5. Draper, J.M., Culler, D.E., Yelick, K.: Introduction to UPC and Language Specification. Center for Computing Sciences, Institute for Defense Analyses (1999)

    Google Scholar 

  6. Numrich, R.W., Reid, J.K.: Co-arrays in the next fortran standard. ACM SIGPLAN Fortran Forum 24(2), 4–17 (2005)

    Article  Google Scholar 

  7. Chen, Y., Cui, X., Mei, H.: PARRAY: a unifying array representation for heterogeneous parallelism. ACM SIGPLAN Symp. Princ. Pract. Parallel Program. 47(8), 171–180 (2012)

    Google Scholar 

  8. Thakur, R., Rabenseifner, R., Gropp, W.: Optimization of collective communication operations in MPICH. Int. J. High Perform. Comput. Appl. 19(1), 49–66 (2005)

    Article  Google Scholar 

  9. Zhang, N., Driscoll, M., Markley, C.: Snowflake: a lightweight portable stencil DSL. Lawrence Berkeley National Laboratory (2017). https://escholarship.org/uc/item/45w9j3z0

  10. Zhu, X., Zhang, J., Yoshii, K.: Analyzing MPI-3.0 process-level shared memory: a case study with stencil computations. In: 2015 15th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing (CCGrid), pp. 1099–1106 (2015)

    Google Scholar 

  11. Rawat, P., Kong, M., Henretty, T.: SDSLc: a multi-target domain-specific compiler for stencil computations. In: Proceedings of the 5th International Workshop on Domain-Specific Languages and High-Level Frameworks for High Performance Computing. ACM (2015)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Shuang Zhang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Zhang, S., Wang, B., Chen, Y. (2018). Abstract Parallel Array Types and Ghost Cell Update Implementation. In: Vaidya, J., Li, J. (eds) Algorithms and Architectures for Parallel Processing. ICA3PP 2018. Lecture Notes in Computer Science(), vol 11334. Springer, Cham. https://doi.org/10.1007/978-3-030-05051-1_37

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-05051-1_37

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-05050-4

  • Online ISBN: 978-3-030-05051-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics