Skip to content

stencil_config

CompilationConfig

check_communicator(communicator)

Checks that the communicator has a square layout

Parameters:

Name Type Description Default
communicator Communicator

communicator to use

required

Raises:

Type Description
RuntimeError

If non-square layout is given

determine_compiling_equivalent(rank, partitioner)

From my rank & the current partitioner we determine which rank we should read from

RunMode

Bases: Enum

Run-Mode for the model Build: compile & save compiled files only BuildAndRun: compile & save compiled files, then run Run: load from .so and run, will fail if .so is not available

StencilConfig dataclass

Bases: Hashable