Efficient Agent-Based Simulations Using the Sender Asynchronous Programming Model

  • Pablo A. S. Hugen UNIOESTE
  • Guilherme Galante UNIOESTE

Resumo


This paper develops and evaluates an Agent-Based Model (ABM) simulator for disease transmission using the C++ Sender Programming Model. The asynchronous approach with the Sender Model is, on average, 2.61 times faster than synchronous methods, enhancing performance while preserving cross-platform compatibility. This research offers a valuable alternative for simulating complex epidemiological scenarios, advancing computational epidemiology by optimizing both performance and portability. Future work will focus on improving memory management and validating the model across different hardware configurations and population densities.

Referências

Breyer, M., Van Craen, A., and Pflüger, D. (2022). A comparison of sycl, opencl, cuda, and openmp for massively parallel support vector machine classification on multi-vendor hardware. In International Workshop on OpenCL, pages 1–12.

Brown, G., Reyes, R., and Wong, M. (2019). Towards heterogeneous and distributed computing in c++. In Proceedings of the International Workshop on OpenCL, pages 1–5.

Chien, S., Peng, I., and Markidis, S. (2019). Performance evaluation of advanced features in cuda unified memory. In 2019 IEEE/ACM Workshop on Memory Centric High Performance Computing (MCHPC), pages 50–57. IEEE.

CPP reference (2023). Resource acquisition is initialization (raii). [link]. Accessed: 2023-12-09.

Cunha, E. A. A. et al. (2022). Aperfeiçoamento e ajuste paramétrico de modelo baseado em agentes para simulação da transmissão da dengue. Programa de pós-graduação em ciência da computação, Universidade Estadual do Oeste do Paraná, Cascavel-PR.

Deakin, T. and McIntosh-Smith, S. (2020). Evaluating the performance of hpc-style sycl applications. In Proceedings of the International Workshop on OpenCL, pages 1–11.

Dominiak, M., Evtushenko, G., Baker, L., Teodorescu, L. R., Howes, L., Shoop, K., Garland, M., Niebler, E., and Lelbach, B. A. (2024). P2300r10: std::execution. ISO/IEC JTC1/SC22/WG21.

Elsheikh, A. (2024). Promising and worth-to-try future directions for advancing state-of-the-art surrogates methods of agent-based models in social and health computational sciences. arXiv preprint arXiv:2403.04417.

Gallagher, K., Bouros, I., Fan, N., Hayman, E., Heirene, L., Lamirande, P., Lemenuel-Diot, A., Lambert, B., Gavaghan, D., and Creswell, R. (2024). Epidemiological agent-based modelling software (epiabm). Journal of Open Research Software, 12(1).

Kitson, J., Costello, I., Chen, J., Jiménez, D., Hoops, S., Mortveit, H., Meneses, E., Yeom, J.-S., Marathe, M. V., and Bhatele, A. (2024). A large-scale epidemic simulation framework for realistic social contact networks. arXiv preprint arXiv:2401.08124.

Kühn, M. J., Lenz, P., Schmidt, A., Koslow, W., Bicker, J., Schmieding, R., Siggel, M., Binder, S., Lutz, A., Korf, S., et al. (2024). Software: Memilio v1. 1.0-a high performance modular epidemics simulation software. Technical report, Population Health Sciences.

Lin, W.-C., Deakin, T., and McIntosh-Smith, S. (2022). Evaluating iso c++ parallel algorithms on heterogeneous hpc systems. In 2022 IEEE/ACM International Workshop on Performance Modeling, Benchmarking and Simulation of High Performance Computer Systems (PMBS), pages 36–47. IEEE.

NVIDIA (2024). HPC SDK — developer.nvidia.com. [link].

NVIDIA Corporation (2023). Nvidia nsight systems. Acesso em 6 de maio de 2024.

Peter, D. (2023). hyperfine.

Rachah, A. and Silva, T. L. (2024). An agent-based model for controlling pandemic infectious diseases transmission dynamics with the use of face masks. In AIP Conference Proceedings, volume 3034. AIP Publishing.

Rosenstrom, E. T., Ivy, J. S., Mayorga, M. E., and Swann, J. L. (2024). Covsim: A stochastic agent-based covid-19 simulation model for north carolina. Epidemics, page 100752.

Thomopoulos, V. and Tsichlas, K. (2024). An agent-based model for disease epidemics in greece. Information, 15(3):150.

West, R. M. (2021). Best practice in statistics: Use the welch t-test when testing the difference between two groups. Annals of clinical biochemistry, 58(4):267–269.
Publicado
23/10/2024
HUGEN, Pablo A. S.; GALANTE, Guilherme. Efficient Agent-Based Simulations Using the Sender Asynchronous Programming Model. In: SIMPÓSIO EM SISTEMAS COMPUTACIONAIS DE ALTO DESEMPENHO (SSCAD), 25. , 2024, São Carlos/SP. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2024 . p. 180-191. DOI: https://doi.org/10.5753/sscad.2024.244788.