Skip to main content

A Distributed-Memory Algorithm for Connected Components Labeling of Simulation Data

  • Conference paper
  • First Online:
Topological and Statistical Methods for Complex Data

Part of the book series: Mathematics and Visualization ((MATHVISUAL))

Abstract

This chapter describes a data-parallel, distributed-memory algorithm for identifying and labeling the connected sub-meshes within a three-dimensional mesh. The identification task is challenging in a distributed-memory setting because connectivity is transitive and the cells composing a sub-mesh may span many processors. The algorithm employs a multi-stage application of the Union-find algorithm and a spatial partitioning scheme to efficiently merge information across processors and to produce a global labeling of connected sub-meshes. Marking each vertex with its corresponding sub-mesh label allows mesh features to be isolated based on topology, enabling important analysis capabilities. The algorithm performs well in parallel; results are presented from a weak scaling study with concurrency levels up to 2,197 cores and meshes containing over two billion cells. This chapter is an extension of previous work by Harrison et al. (Data-parallel mesh connected components labeling and analysis. In: EuroGraphics Symposium on Parallel Graphics and Visualization (EGPGV), pp. 131–140, April 2011). It contains significant algorithmic improvements over the previous version, improved exploration of key bottlenecks in the algorithm, and improved clarity of presentation.

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 149.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 199.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 199.99
Price excludes VAT (USA)
  • Durable hardcover 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. Ahrens, J., Geveci, B., Law, C.: Visualization in the ParaView framework. In: Hansen, C., Johnson, C. (eds.) The Visualization Handbook, pp. 162–170. Elsevier Butterworth-Heinemann, Burlington (2005)

    Google Scholar 

  2. Bennett, J.C., Krishnamoorthy, V., Liu, S., Grout, R.W., Hawkes, E.R., Chen, J.H., Shepard, J., Pascucci, V., Bremer, P.-T.: Feature-based statistical analysis of combustion simulation data. IEEE Trans. Vis. Comput. Graph. 17, 1822–1831 (2011)

    Article  Google Scholar 

  3. Bremer, P.-T., Weber, G., Tierny, J., Pascucci, V., Day, M., Bell, J.: Interactive exploration and analysis of large-scale simulations using topology-based data segmentation. IEEE Trans. Vis. Comput. Graph. 17, 1307–1324 (2011)

    Article  Google Scholar 

  4. Bruenn, S.W., Mezzacappa, A., Hix, W.R., Blondin, J.M., Marronetti, P., Messer, O.E.B., Dirk, C.J., Yoshida, S.: Mechanisms of core-collapse supernovae and simulation results from the CHIMERA Code. In: CEFALU 2008, Proceedings of the International Conference. AIP Conference Proceedings, pp. 593–601 (2008)

    Google Scholar 

  5. Carr, H., Snoeyink, J., Axen, U.: Computing contour trees in all dimensions. In: Proceedings of the Eleventh Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 918–926. Society for Industrial and Applied Mathematics, Philadelphia (2000)

    Google Scholar 

  6. Childs, H., Pugmire, D., Ahern, S., Whitlock, B., Howison, M., Prabhat, M., Weber, G., Bethel, E.W.: Extreme scaling of production visualization software on diverse architectures. IEEE Comput. Graph. Appl. 30, 22–31 (2010)

    Article  Google Scholar 

  7. Childs, H., Brugger, E., Whitlock, B., Meredith, J., Ahern, S., Bonnell, K., Miller, M., Weber, G.H., Harrison, C., Pugmire, D., Fogal, T., Garth, C., Sanderson, A., Bethel, E.W., Durant, M., Camp, D., Favre, J.M., Rübel, O., Navrátil, P., Wheeler, M., Selby, P., Vivodtzev, F.: VisIt: an end-user tool For visualizing and analyzing very large data. In: Proceedings of SciDAC 2011, July 2011

    Google Scholar 

  8. Cormen, T.H., Stein, C., Rivest, R.L., Leiserson, C.E.: Introduction to Algorithms, 2nd edn. McGraw-Hill Higher Education, New York (2001)

    MATH  Google Scholar 

  9. Edelsbrunner, H.: Dynamic Data Structures for Orthogonal Intersection Queries. Institut für Informationsverarbeitung, Technische Universität Graz (1980)

    Google Scholar 

  10. Fuchs, H., Kedem, Z.M., Naylor, B.F.: On visible surface generation by a priori tree structures. In: Proceedings of the 7th Annual Conference on Computer Graphics and Interactive Techniques, pp. 124–133. ACM, New York (1980)

    Google Scholar 

  11. Harrison, C., Childs, H., Gaither, K.P.: Data-parallel mesh connected components labeling and analysis. In: EuroGraphics Symposium on Parallel Graphics and Visualization (EGPGV), pp. 131–140, April 2011

    Google Scholar 

  12. Isenburg, M., Lindstrom, P., Childs, H.: Parallel and streaming generation of ghost data for structured grids. IEEE Comput. Graph. Appl. 30, 32–44 (2010)

    Article  Google Scholar 

  13. Morozov, D., Weber, G.: Distributed merge trees. In: Proceedings of the 18th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming, pp. 93–102 (2013)

    Google Scholar 

  14. Nakhimovski, I.: Bucket-based modification of the parallel recursive coordinate bisection algorithm. Linköping Electron. Articles Comput. Inf. Sci. 2(15), 2–32 (1997)

    Google Scholar 

  15. Schroeder, W.J., Martin, K.M., Lorensen, W.E.: The design and implementation of an object-oriented toolkit for 3D graphics and visualization. In: Proceedings of the 7th Conference on Visualization ’96 (VIS ’96), pp. 93-ff. IEEE Computer Society Press, San Francisco (1996)

    Google Scholar 

  16. Tarjan, R.E.: Efficiency of a good but not linear set union algorithm. J. ACM (1975). doi: 10.1145/321879.321884

    Google Scholar 

  17. Tierny, J., Gyulassy, A., Simon, E., Pascucci, V.: Loop surgery for volumetric meshes: reeb graphs reduced to contour trees. IEEE Trans. Vis. Comput. Graph. 15, 1177–1184 (2009)

    Article  Google Scholar 

  18. Wang, Y., Yu, H., Ma, K.-L.: Scalable parallel feature extraction and tracking for large time-varying 3D volume data. In: Eurographics Symposium on Parallel Graphics and Visualization (EGPGV), pp. 17–24 (2013)

    Google Scholar 

Download references

Acknowledgements

This work was supported by the Director, Office of Advanced Scientific Computing Research, Office of Science, of the U.S. Department of Energy under Contract DE-AC02-05CH11231, was performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344, and was also supported in part by the National Science Foundation, grants OCI-0906379 and OCI-0751397.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hank Childs .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Harrison, C., Weiler, J., Bleile, R., Gaither, K., Childs, H. (2015). A Distributed-Memory Algorithm for Connected Components Labeling of Simulation Data. In: Bennett, J., Vivodtzev, F., Pascucci, V. (eds) Topological and Statistical Methods for Complex Data. Mathematics and Visualization. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-44900-4_1

Download citation

Publish with us

Policies and ethics