MPGRAFIC(1)
πΈ NAME πΈ
mpgrafic β bestie, it's literally the MPI version of the N-body initial conditions grafic package. That's the whole vibe. (And yes, you're holding MPGRAFIC(1), section 1, User Commands, we love a debut π
)
β¨ SYNOPSIS β¨
mpgrafic [OPTION...] [[<] INPUT_FILE] [> OUTPUT_FILE]
π¦ DESCRIPTION π¦
mpgrafic makes initial conditions files for N-body simulations of cosmological large-scale structure formation. Iconic behaviour, honestly. π
It is a free-licensed, MPI-parallelised, fully rewritten version of Ed Bertschinger's grafic-1 program, and it produces output files in the grafic format. So like, the glow-up happened but the format stayed.
It comes with options for an Eisenstein and Hu baryonic wiggles power spectrum πͺ, for using a low-resolution map for large-scale modes in the spirit of grafic-2, and β together with constrfield β it can be used for generating constrained initial conditions. Constrained. Like your fave.
The details are all in Prunet et al (2008): http://cdsads.u-strasbg.fr/abs/2008ApJS..178..179P πβ¨
Most recent source code, go clone her:
git clone https://broukema@bitbucket.org/broukema/mpgrafic.git
π OPTIONS π
-?,--helpβ gives you this help list. The manual, but make it a command. π«Ά--np=INTEGERβ the number of particles per dimension, and the grid size is gonna beINTEGER^3. Do the math, it cubes. π§--usageβ gives you a short usage message, the lil tl;dr version. β‘-V,--versionβ prints the program version. So you know exactly which era of mpgrafic you're in. π
π AUTHOR π
Written by Simon Prunet, Christophe Pichon et al. Legends, no cap. π«‘
π COPYRIGHT π
Copyright Β© 2008-2019 Prunet, Pichon, Roukema. This program is free software; you may redistribute it under the terms of the GNU General Public License version 2 or later. This program has absolutely no warranty.
Not a single warranty. Zero. None. It said what it said. π
okay bestie that's the whole page π this was mpgrafic 0.3.19 from August 2020, mwah, go generate some constrained initial conditions, ily, periodt πβ¨
π¦ where this page comes from
- debian bookworm: mpgrafic 0.3.19-1+b2 Β· GPL-2.0-or-later
- debian trixie: mpgrafic 0.3.19-1+b5 Β· GPL-2.0-or-later
- ubuntu jammy: mpgrafic 0.3.19-1build1 Β· GPL-2.0-or-later
- ubuntu noble: mpgrafic 0.3.19-1build3 Β· GPL-2.0-or-later
- ubuntu questing: mpgrafic 0.3.19-1build5
- ubuntu resolute: mpgrafic 0.3.19-1build6 Β· GPL-2.0-or-later
- ubuntu stonking: mpgrafic 0.3.19-1build6 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms