Running your simulation¶
hippoLBM takes one input deck (a .msp YAML file). It first loads the default configuration
data/config/main-config.msp, then the deck, which overrides it key by key (see
Configuration files).
Files read by the deck (STL meshes, checkpoint files, ...) are searched relative to the current directory, and the
outputs are written in the directory given by output_directory (default hippoLBMOutputDir/).
Threads, GPU and MPI¶
When onika is built with CUDA, the kernels run on the GPU by default. Use --nogpu to force the CPU
version:
Note
hippoLBM computes in double precision (float64): use GPUs with good FP64 throughput (A100, H100, ...).
Consumer GPUs have a very low FP64 throughput.
The domain is split into a Cartesian grid of MPI subdomains. Each MPI process can use OpenMP threads and/or one GPU:
On GPU clusters, use one MPI process per GPU; hippoLBM relies on CUDA-aware MPI for the ghost updates.
Command-line options¶
Any value of the global block can be set from the command line with --set-global-<key> value, which is handy
for short tests:
Configuration keys can be set the same way: --a-b value sets configuration: { a: { b: value } }.
Getting help¶
Execution graph
Add --debug-graph true after your .msp file to print the full operator execution graph (see
Simulation Graph):
At the end of the run, onika prints a profiling summary with the time spent in each operator (GPU time in parentheses).