hpcflow.sdk.monitoring.run_index.parent_elements#

hpcflow.sdk.monitoring.run_index.parent_elements(record, workflow)#

Read block ID arrays once, without constructing any EAR objects.

Every block shares the jobscript’s element axis (axis 1). Missing IDs are -1; do not confuse a task element with its scheduler array-element index. Unusual or legacy layouts use the existing store-read path instead of a guessed map.

Parameters:
Return type:

dict[int, tuple[int, int]]