GENASIS Basics: Object-oriented utilitarian functionality for large-scale physics simulations

被引:5
作者
Cardall, Christian Y. [1 ,2 ]
Budiardja, Reuben D. [3 ]
机构
[1] Oak Ridge Natl Lab, Div Phys, Oak Ridge, TN 37831 USA
[2] Univ Tennessee, Dept Phys & Astron, Knoxville, TN 37996 USA
[3] Univ Tennessee, Natl Inst Computat Sci, Knoxville, TN 37996 USA
关键词
Simulation framework; Object-oriented programming; Fortran; 2003; RIEMANN SOLVER;
D O I
10.1016/j.cpc.2015.06.001
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Aside from numerical algorithms and problem setup, large-scale physics simulations on distributed-memory supercomputers require more basic utilitarian functionality, such as physical units and constants; display to the screen or standard output device; message passing; I/O to disk; and runtime parameter management and usage statistics. Here we describe and make available Fortran 2003 classes furnishing extensible object-oriented implementations of this sort of rudimentary functionality, along with individual 'unit test' programs and larger example problems demonstrating their use. These classes compose the Basics division of our developing astrophysics simulation code GsNASIS (General Astrophysical Simulation System), but their fundamental nature makes them useful for physics simulations in many fields. Program summary Program title: GENASIS Catalogue identifier: AEXE_v1_0 Program summary URL: http://cpc.cs.qub.ac.uk/summaries/AEXE_v1_0.html Program obtainable from: CPC Program Library, Queen's University, Belfast, N. Ireland Licensing provisions: Creative Commons Attribution - Non Commercial - ShareALike 4.0 International No. of lines in distributed program, including test data, etc.: 32863 No. of bytes in distributed program, including test data, etc.: 148873 Distribution format: tar.gz Programming language: Fortran 2003 (tested with gfortran 4.9.2, Intel Fortran 15, NAG Fortan 5.3.1, Cray Compiler 8.2.5). Computer: PC, cluster, supercomputer. Operating system: Linux, Unix. RAM: For example problems, depends on user-specified problem size and number of processes. The fluid dynamics problems with 128(3) cells on 8 processes use about 300 MB per process. The molecular dynamics problems with 6912 particles on 12 processes use about 20 MB per process. Classification: 4.14, 6.5, 20. External routines: MPI [1] and Silo [2] Nature of problem: By way of illustrating GENASIS Basics functionality, solve example fluid dynamics and molecular dynamics problems. Solution method: For fluid dynamics examples, finite-volume. For molecular dynamics examples, leapfrog and velocity-Verlet integration. Unusual features: The example problems named above are not ends in themselves, but serve to illustrate our object-oriented approach and the functionality available though GENASIS Basics. In addition to these more substantial examples, we provide individual unit test programs for each of the classes comprised by GENASIS Basics. Additional comments: A version of the GENASIS Basics source code is available from the CPC program library with this publication, and minor revisions will be maintained at http://astro.phys.utk.edu/activities: genasis. Running time: For example problems, depends on user-specified problem size and number of processes. The fluid dynamics problems with 1283 cells on 8 processes take about ten minutes of wall clock time on a Cray XC30. The molecular dynamics problems with 6912 particles for 10000 time steps on 12 processes take a little over an hour on a Cray XC30. References: [1] http://www.mcs.anl.gov/mpi/ [2] https://wci.Ilnl.govisimulation/computer-codes/silo (C) 2015 Elsevier B.V. All rights reserved.
引用
收藏
页码:506 / 534
页数:29
相关论文
共 25 条
[1]  
Adams JC, 2008, FORTRAN 2003 HDB COM
[2]  
[Anonymous], SCI ENG COMPUTATION
[3]  
Bodenheimer P., 2007, NUMERICAL METHODS AS
[4]   2D and 3D core-collapse supernovae simulation results obtained with the CHIMERA code [J].
Bruenn, S. W. ;
Mezzacappa, A. ;
Hix, W. R. ;
Blondin, J. M. ;
Marronetti, P. ;
Messer, O. E. B. ;
Dirk, C. J. ;
Yoshida, S. .
SCIDAC 2009: SCIENTIFIC DISCOVERY THROUGH ADVANCED COMPUTING, 2009, 180
[5]   Parallel FFT-based Poisson solver for isolated three-dimensional systems [J].
Budiardja, Reuben D. ;
Cardall, Christian Y. .
COMPUTER PHYSICS COMMUNICATIONS, 2011, 182 (10) :2265-2275
[6]  
Cardall C. Y., 2009, NUMERICAL METHODS MU, P27
[7]   GENASIS: GENERAL ASTROPHYSICAL SIMULATION SYSTEM. I. REFINABLE MESH AND NONRELATIVISTIC HYDRODYNAMICS [J].
Cardall, Christian Y. ;
Budiardja, Reuben D. ;
Endeve, Eirik ;
Mezzacappa, Anthony .
ASTROPHYSICAL JOURNAL SUPPLEMENT SERIES, 2014, 210 (02)
[8]   Conservative 3+1 general relativistic Boltzmann equation [J].
Cardall, Christian Y. ;
Endeve, Eirik ;
Mezzacappa, Anthony .
PHYSICAL REVIEW D, 2013, 88 (02)
[9]   Conservative 3+1 general relativistic variable Eddington tensor radiation transport equations [J].
Cardall, Christian Y. ;
Endeve, Eirik ;
Mezzacappa, Anthony .
PHYSICAL REVIEW D, 2013, 87 (10)
[10]   Conservative special relativistic radiative transfer for multidimensional astrophysical simulations: Motivation and elaboration [J].
Cardall, CY ;
Lentz, EJ ;
Mezzacappa, A .
PHYSICAL REVIEW D, 2005, 72 (04) :1-8