hpcflow.sdk.core.parallel.ParallelMode#

class hpcflow.sdk.core.parallel.ParallelMode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: Enum

Potential parallel modes.

Note: this is not yet implemented in any meaningful way!

Attributes

DISTRIBUTED

Use distributed-memory parallelism (e.g.

SHARED

Use shared-memory parallelism (e.g.

HYBRID

Use both distributed- and shared-memory parallelism.

DISTRIBUTED = 0#

Use distributed-memory parallelism (e.g. MPI).

HYBRID = 2#

Use both distributed- and shared-memory parallelism.

SHARED = 1#

Use shared-memory parallelism (e.g. OpenMP).