Recipe: run 05_simulator (MPI)¶
Goal: verify OpenPFC + HeFFTe + MPI with a small, standard example (examples/05_simulator).
Prerequisites¶
Built OpenPFC with
OpenPFC_BUILD_EXAMPLES=ON(default). Binary path:<build>/examples/05_simulator.Same MPI for configure and run as in
INSTALL.md.
Steps¶
Configure and build from the repo root (see
start_here_15_minutes.mdorquickstart.md§1).Run from the build directory:
cd build mpirun -n 4 ./examples/05_simulator
Adjust
-nto your machine; use at least 1 rank.
Expected result¶
Process exits with code 0.
Rank 0 typically emits INFO logs (world size, simulation stepping).
No output files are required for “success”; this recipe is a stack check.
Next steps¶
Spectral tutorial ladder:
tutorials/spectral_examples_sequence.mdConcept tour:
spectral_stack.md