Skip to main content

Using Akka Actors for Managing Iterations in Multiscale Applications

  • Conference paper
  • First Online:

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

Abstract

In this work we investigate possibilities given by the modern technologies as Akka actor platform and Docker toolkit for managing execution of multiscale applications. We present fine-grained (i.e. iteration) level approach to this problem which is rather difficult to address in standard HPC environments with coarse-grained queuing systems. We propose the solution that uses Docker containers as wrappers for computational modules that are components of multiscale applications. This apprach allows for a fine-grained assignment of resources to such modules. We also investigate possibilities of Akka actor framework for building distributed steering systems for such applications with the REST protocol offered by the Spray toolkit. Results of an experiment validation shows that thanks to Docker features, sheduling application on a fine graned iteration level is possible. They also show that using Akka dispatcher as a scheduler for computational tasks (iterations) is a promising approach; moreover the Akka and Spray toolkits do not introduce a significant overhead.

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

Buying options

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

Learn about institutional subscriptions

References

  1. Agha, G.: Actors: a model of concurrent computation in distributed systems, Series in artificial intelligence. MIT Press 11(12), 12 (1986)

    Google Scholar 

  2. Allen, J.: Effective akka. O’Reilly Media (2013). http://www.worldcat.org/isbn/1449360076

  3. Borgdorff, J., Bona-Casas, C., Mamonski, M., Kurowski, K., Piontek, T., Bosak, B., Rycerz, K., Ciepiela, E., Gubała, T., Harezlak, D., Bubak, M., Lorenz, E., Hoekstra, A.G.: A distributed multiscale computation of a tightly coupled model using the multiscale modeling language. In: Procedia Computer Science, vol. 9, pp. 596–605 (2012). http://www.sciencedirect.com/science/article/pii/S1877050912001858

    Article  Google Scholar 

  4. Borgdorff, J., Falcone, J.L., Lorenz, E., Bona-Casas, C., Chopard, B., Hoekstra, A.G.: Foundations of distributed multiscale computing: formalization, specification, and analysis. J. Parall. Distrib. Comput. 73(4), 465–483 (2013)

    Article  Google Scholar 

  5. Chamberlain, B.L., Callahan, D., Zima, H.P.: Parallel programmability and the chapel language. Int. J. High Perform. Comput. Appl. 21(3), 291–312 (2007)

    Article  Google Scholar 

  6. Ciepiela, E., Harezlak, D., Kocot, J., Bartyński, T., Kasztelnik, M., Nowakowski, P., Gubała, T., Malawski, M., Bubak, M.: Exploratory programming in the virtual laboratory. In: Proceedings of IMCSIT 2010, Wisla, Poland (2010)

    Google Scholar 

  7. Core, P.: PLGrid Core Home Site (2014). http://www.plgrid.pl/projekty/core

  8. Gallopoulos, E., Houstis, E., Rice, J.: Computer as thinker/doer: problem-solving environments for computational science. IEEE Comput. Sci. Eng. 1(2), 11–23 (1994)

    Article  Google Scholar 

  9. Gaussian. http://www.gaussian.com/

  10. Gu, Y., Grossman, R.L.: R.: Sector and sphere: the design and implementation of a high performance data cloud. philosophical transactions a special issue associated with the uk e-science all hands meeting (2008)

    Google Scholar 

  11. Hegewald, J., Krafczyk, M., Tölke, J., Hoekstra, A.G., Chopard, B.: An agent-based coupling platform for complex automata. In: Bubak, M., Albada, G.D., Dongarra, J., Sloot, P.M.A. (eds.) ICCS 2008, Part II. LNCS, vol. 5102, pp. 227–233. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  12. Hoekstra, A., Kroc, J., Sloot, P. (eds.): Simulating Complex Systems by Cellular Automata. Understanding Complex Systems. Springer, Heidelberg (2010). http://springer.com/9783642122026

    MATH  Google Scholar 

  13. Kale, L.V., Krishnan, S.: Charm++: a portable concurrent object oriented system based on c++. In: OOPSLA 1993, Proceedings of the Eighth Annual Conference on Object-oriented Programming Systems, Languages, and Applications, NY, USA, pp. 91–108. ACM, New York (1993). http://doi.acm.org/10.1145/165854.165874

  14. LAMMPS: large-scale atomic/molecular massively parallel simulator (2011). http://lammps.sandia.gov/

  15. Larson, J., Jacob, R., Ong, E.: The model coupling toolkit: a new Fortran90 toolkit for building multiphysics parallel coupled models. Int. J. High Perform. Comput. Appl. 19(3), 277–292 (2005)

    Article  Google Scholar 

  16. LSF: Platform Computing. Platform Load Sharing Facility (LSF). http://www.platform.com/

  17. Matlab. http://www.mathworks.com/products/matlab

  18. PBS: Torque web page. http://www.adaptivecomputing.com/products/open-source/torque/

  19. PLGrid: plus home site (2014). http://www.plgrid.pl/en

  20. Zwart, S.P., Mcmillan, S., Harfst, S., et al.: A multiphysics and multiscale software environment for modeling astrophysical systems. New Astron. 14(4), 369–378 (2009)

    Article  Google Scholar 

  21. Rycerz, K., Bubak, M.: Managing iterations graphs in multiscale applications using Akka. In: KU KDM 2015 Eighth ACC Cyfronet AGH Users Conference, 11–13 March 2015

    Google Scholar 

  22. Rycerz, K., Bubak, M., Ciepiela, E., Harelak, D., Gubaa, T., Meizner, J., Pawlik, M., Wilk, B.: Composing, execution and sharing of multiscale applications. Future Gener. Comput. Syst. 53, 77–87 (2015). http://www.sciencedirect.com/science/article/pii/S0167739X15002034

    Article  Google Scholar 

  23. Rycerz, K., et al.: Enabling multiscale fusion simulations on distributed computing resources. In: Kitowski, J., Wiatr, K., Bubak, M. (eds.) eScience on Distributed Computing Infrastructure. LNCS, vol. 8500, pp. 195–210. Springer, Heidelberg (2014). http://dx.doi.org/10.1007/978-3-319-10894-0_14

    Chapter  Google Scholar 

  24. Rycerz, K., Ciepiela, E., Dyk, G., Groen, D., Gubala, T., Harezlak, D., Pawlik, M., Suter, J., Zasada, S., Coveney, P., Bubak, M.: Support for multiscale simulations with molecular dynamics. In: 2013 International Conference on Computational Science, Procedia Computer Science, vol. 18, pp. 1116–1125 (2013). http://www.sciencedirect.com/science/article/pii/S1877050913004201

    Article  Google Scholar 

  25. Sloot, P.M., Hoekstra, A.G.: Multi-scale modelling in computational biomedicine. Briefings Bioinf. 11(1), 142–152 (2010). http://bib.oxfordjournals.org/content/11/1/142.abstract

    Article  Google Scholar 

  26. Spray.io: Web page. http://spray.io

  27. Suter, J.L., Anderson, R.L., Christopher Greenwell, H., et al.: Recent advances in large-scale atomistic and coarse-grained molecular dynamics simulation of clay minerals. J. Mater. Chem. 19, 2482–2493 (2009). http://dx.doi.org/10.1039/B820445D

    Article  Google Scholar 

  28. Turnbull, J.: The docker book. Number v1 3 (2014)

    Google Scholar 

Download references

Acknowledgements

The research presented in this paper has been partially supported by the European Union within the European Regional Development Fund program no. POIG.02.03.00-12-137/13 as part of the PLGrid Core project. It was also partly supported by the AGH grant no 11.11.230.124

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Katarzyna Rycerz .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Rycerz, K., Bubak, M. (2016). Using Akka Actors for Managing Iterations in Multiscale Applications. In: Wyrzykowski, R., Deelman, E., Dongarra, J., Karczewski, K., Kitowski, J., Wiatr, K. (eds) Parallel Processing and Applied Mathematics. PPAM 2015. Lecture Notes in Computer Science(), vol 9573. Springer, Cham. https://doi.org/10.1007/978-3-319-32149-3_32

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-32149-3_32

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-32148-6

  • Online ISBN: 978-3-319-32149-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics