User Guide#

This section combines Explanation pages covering OpenImpala’s mathematical discretisation and linear solvers with How-To Guides for GPU acceleration, distributed MPI/SLURM clusters, C++ ParmParse inputs, and out-of-core visualisation.

Mathematical Formulation

Voxel grid conventions (Nz, Ny, Nx), half-cell harmonic Dirichlet BCs, periodic homogenisation cell problems, multi-phase conductances, and Cauchy–Crofton stereology.

Mathematical Formulation
Linear Solvers

Memory and convergence trade-offs between matrix-free AMReX MLMG and HYPRE structured Krylov/multigrid solvers (PCG, FlexGMRES, BiCGSTAB, SMG, PFMG).

Linear Solvers
CUDA GPU Acceleration

Running native AMReX + HYPRE CUDA kernels via openimpala-cuda, checking device visibility with oi.build_info(), and sizing GPU memory.

CUDA GPU Acceleration
MPI & HPC Clusters

Multi-rank Python (mpi4py) and C++ (Diffusion) execution, SLURM + Apptainer batch scripts, and max_grid_size domain decomposition tuning.

MPI & HPC Clusters
C++ Input Files

Configuring standalone /usr/bin/Diffusion runs via AMReX ParmParse key-value files for batch HPC pipelines.

C++ Input Files
Out-of-Core Plotfiles with yt

Inspecting multi-gigabyte AMReX plotfiles (plt_*) lazily with yt when full 3D fields exceed workstation RAM.

Out-of-Core Plotfiles with yt