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

Research output: Contribution to journalArticlepeer-review

6 Scopus citations

Abstract

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 GenASiS (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 1283 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 GenASiSBasics 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 GenASiSBasics. In addition to these more substantial examples, we provide individual unit test programs for each of the classes comprised by GenASiSBasics. Additional comments: A version of the GenASiSBasics 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:http://www.mcs.anl.gov/mpi/https://wci.llnl.gov/simulation/computer-codes/silo

Original languageEnglish
Pages (from-to)506-534
Number of pages29
JournalComputer Physics Communications
Volume196
DOIs
StatePublished - Nov 1 2015

Funding

We acknowledge the support of the Office of Advanced Scientific Computing and the Office of Nuclear Physics of the US Department of Energy . This material is based upon work performed using computational resources supported by the University of Tennessee and Oak Ridge National Laboratory Joint Institute for Computational Sciences ( http://www.jics.tennessee.edu ).

Keywords

  • Fortran 2003
  • Object-oriented programming
  • Simulation framework

Fingerprint

Dive into the research topics of 'GenASiS Basics: Object-oriented utilitarian functionality for large-scale physics simulations'. Together they form a unique fingerprint.

Cite this