Out - of - core hydrodynamic simulations for cosmological applications

Abstract We present an out-of-core hydrodynamic code for high resolution cosmological simulations that require terabytes of memory. Out-of-core computation refers to the technique of using disk space as virtual memory and transferring data in and out of main memory at high I/O bandwidth. The code is based on a two-level mesh scheme where short-range physics is solved on a high-resolution, localized mesh while long-range physics is captured on a lower resolution, global mesh. The two-level mesh gravity solver allows FFTs to operate on data stored entirely in memory, which is much faster than the alternative of computing the transforms out-of-core through non-sequential disk accesses. We also describe an out-of-core initial conditions generator that is used to prepare large data sets for cosmological simulations. The out-of-core code is accurate, cost-effective, and memory-efficient and the current version is implemented to run in parallel on shared-memory machines. I/O overhead is significantly reduced down to less than 10% by performing disk operations concurrently with numerical calculations. The current computational setup, which includes a 32 processor Alpha server and a 3 TB striped SCSI disk array, allows us to run cosmological simulations with up to 40003 grid cells and 20003 dark matter particles.

[1]  J. Peacock,et al.  Stable clustering, the halo model and non-linear cosmological power spectra , 2002, astro-ph/0207664.

[2]  F. Pearce,et al.  Hydra: An Adaptive--Mesh Implementation of PPPM--SPH , 1994 .

[3]  J. Bond,et al.  COBE Background radiation anisotropies and large scale structure in the universe , 1992 .

[4]  Guohong Xu A new parallel N body gravity solver: TPM , 1994, astro-ph/9409021.

[5]  H. Couchman,et al.  Mesh-refined P3M - A fast adaptive N-body algorithm , 1991 .

[6]  Edward J. Wollack,et al.  First year Wilkinson Microwave Anisotropy Probe (WMAP) observations: Determination of cosmological parameters , 2003, astro-ph/0302209.

[7]  R W Hockney,et al.  Computer Simulation Using Particles , 1966 .

[8]  Hugh Merz,et al.  Towards optimal parallel PM N-body codes: PMFAST , 2005 .

[9]  John Dubinski,et al.  GOTPM: A Parallel Hybrid Particle-Mesh Treecode , 2004 .

[10]  Jeremiah P. Ostriker,et al.  Tree Particle-Mesh: An Adaptive, Efficient, and Parallel Code for Collisionless Cosmological Simulation , 2003 .

[11]  G. Efstathiou,et al.  Numerical techniques for large cosmological N-body simulations , 1985 .

[12]  Ue-Li Pen,et al.  Generating Cosmological Gaussian Random Fields , 1997, astro-ph/9709261.

[13]  G. Strang On the Construction and Comparison of Difference Schemes , 1968 .

[14]  H. Trac,et al.  A Primer on Eulerian Computational Fluid Dynamics for Astrophysics , 2002, astro-ph/0210611.

[15]  U. Seljak,et al.  A Line of sight integration approach to cosmic microwave background anisotropies , 1996, astro-ph/9603033.

[16]  B. Fryxell,et al.  FLASH: An Adaptive Mesh Hydrodynamics Code for Modeling Astrophysical Thermonuclear Flashes , 2000 .

[17]  H. Trac,et al.  A moving frame algorithm for high Mach number hydrodynamics , 2003, astro-ph/0309599.

[18]  V. Springel,et al.  GADGET: a code for collisionless and gasdynamical cosmological simulations , 2000, astro-ph/0003162.