High-performance parallel computing in the classroom using the public goods game as an example

被引:40
|
作者
Perc, Matjaz [1 ,2 ]
机构
[1] Univ Maribor, Fac Nat Sci & Math, Koroska Cesta 160, SI-2000 Maribor, Slovenia
[2] Univ Maribor, Ctr Appl Math & Theoret Phys, Mladinska 3, SI-2000 Maribor, Slovenia
关键词
public goods game; Monte Carlo method; parallel computing; graphics processing unit; EVOLUTIONARY GAMES; PHASE-TRANSITIONS; MODEL; SIMULATIONS; LATTICES;
D O I
10.1088/1361-6404/aa6a0e
中图分类号
G40 [教育学];
学科分类号
040101 ; 120403 ;
摘要
The use of computers in statistical physics is common because the sheer number of equations that describe the behaviour of an entire system particle by particle often makes it impossible to solve them exactly. Monte Carlo methods form a particularly important class of numerical methods for solving problems in statistical physics. Although these methods are simple in principle, their proper use requires a good command of statistical mechanics, as well as considerable computational resources. The aim of this paper is to demonstrate how the usage of widely accessible graphics cards on personal computers can elevate the computing power in Monte Carlo simulations by orders of magnitude, thus allowing live classroom demonstration of phenomena that would otherwise be out of reach. As an example, we use the public goods game on a square lattice where two strategies compete for common resources in a social dilemma situation. We show that the second-order phase transition to an absorbing phase in the system belongs to the directed percolation universality class, and we compare the time needed to arrive at this result by means of the main processor and by means of a suitable graphics card. Parallel computing on graphics processing units has been developed actively during the last decade, to the point where today the learning curve for entry is anything but steep for those familiar with programming. The subject is thus ripe for inclusion in graduate and advanced undergraduate curricula, and we hope that this paper will facilitate this process in the realm of physics education. To that end, we provide a documented source code for an easy reproduction of presented results and for further development of Monte Carlo simulations of similar systems.
引用
收藏
页数:13
相关论文
共 50 条
  • [21] Parallel computing in bioinformatics: a view from high-performance, heterogeneous, and cloud computing
    Vega-Rodriguez, Miguel A.
    Santander-Jimenez, Sergio
    JOURNAL OF SUPERCOMPUTING, 2019, 75 (07): : 3369 - 3373
  • [22] Parallel computing in bioinformatics: a view from high-performance, heterogeneous, and cloud computing
    Miguel A. Vega-Rodríguez
    Sergio Santander-Jiménez
    The Journal of Supercomputing, 2019, 75 : 3369 - 3373
  • [23] Survey of Methodologies, Approaches, and Challenges in Parallel Programming Using High-Performance Computing Systems
    Czarnul, Pawel
    Proficz, Jerzy
    Drypczewski, Krzysztof
    SCIENTIFIC PROGRAMMING, 2020, 2020
  • [24] High-Performance Passive Macromodeling Algorithms for Parallel Computing Platforms
    Chinea, Alessandro
    Grivet-Talocia, Stefano
    Olivadese, Salvatore Bernardo
    Gobbato, Luca
    IEEE TRANSACTIONS ON COMPONENTS PACKAGING AND MANUFACTURING TECHNOLOGY, 2013, 3 (07): : 1188 - 1203
  • [25] Adaptive Fault Management of Parallel Applications for High-Performance Computing
    Lan, Zhiling
    Li, Yawei
    IEEE TRANSACTIONS ON COMPUTERS, 2008, 57 (12) : 1647 - 1660
  • [26] Parallel Backprojection: A Case Study in High-Performance Reconfigurable Computing
    Cordes, Ben
    Leeser, Miriam
    EURASIP JOURNAL ON EMBEDDED SYSTEMS, 2009, (01)
  • [27] CUDA: Scalable parallel programming for high-performance scientific computing
    Luebke, David
    2008 IEEE INTERNATIONAL SYMPOSIUM ON BIOMEDICAL IMAGING: FROM NANO TO MACRO, VOLS 1-4, 2008, : 836 - 838
  • [28] Energy-efficient high-performance parallel and distributed computing
    Samee Ullah Khan
    Pascal Bouvry
    Thomas Engel
    The Journal of Supercomputing, 2012, 60 : 163 - 164
  • [29] Parallel/high-performance object-oriented scientific computing
    Mohr, B
    Bassetti, F
    Davis, K
    Hüttemann, S
    Launay, P
    Marinescu, DC
    Miller, DJ
    Vanderwart, RL
    Müller, M
    Prodan, A
    OBJECT-ORIENTED TECHNOLOGY, 1999, 1743 : 222 - 239
  • [30] Towards high-performance spatially parallel optical reservoir computing
    Pauwels, Jael
    Van der Sande, Guy
    Bouwens, Arno
    Haelterman, Marc
    Massar, Serge
    NEURO-INSPIRED PHOTONIC COMPUTING, 2018, 10689