Struct ExecutionConfig

Struct Documentation

struct ExecutionConfig

Hardware and OpenMP parallelisation configuration.

Encapsulates all fields related to thread detection, validation, and strategy selection. Separated from SystemData because execution configuration is orthogonal to molecular chemistry: thermochemical functions should not need to know about thread counts or HPC schedulers.

Public Members

int omp_threads_requested = 0

0 = auto (default), >0 = user-specified

int omp_threads_actual = 0

Final thread count after validation.

int physical_cores_detected = 0

Hardware info for notifications.

int scheduler_cpus_detected = 0

HPC scheduler allocated CPUs (0 = no scheduler)

bool omp_user_override = false

Whether user explicitly set thread count via -omp-threads.

int omp_strategy = 0

0=outer (T/P scan), 1=inner (vibrational loop)