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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Agha, G.: Actors: a model of concurrent computation in distributed systems, Series in artificial intelligence. MIT Press 11(12), 12 (1986)
Allen, J.: Effective akka. O’Reilly Media (2013). http://www.worldcat.org/isbn/1449360076
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
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)
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)
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)
Core, P.: PLGrid Core Home Site (2014). http://www.plgrid.pl/projekty/core
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)
Gaussian. http://www.gaussian.com/
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)
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)
Hoekstra, A., Kroc, J., Sloot, P. (eds.): Simulating Complex Systems by Cellular Automata. Understanding Complex Systems. Springer, Heidelberg (2010). http://springer.com/9783642122026
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
LAMMPS: large-scale atomic/molecular massively parallel simulator (2011). http://lammps.sandia.gov/
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)
LSF: Platform Computing. Platform Load Sharing Facility (LSF). http://www.platform.com/
PBS: Torque web page. http://www.adaptivecomputing.com/products/open-source/torque/
PLGrid: plus home site (2014). http://www.plgrid.pl/en
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)
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
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
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
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
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
Spray.io: Web page. http://spray.io
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
Turnbull, J.: The docker book. Number v1 3 (2014)
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
Corresponding author
Editor information
Editors and Affiliations
Rights 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)