hpcflow.sdk.submission.jobscript.generate_EAR_resource_map#

hpcflow.sdk.submission.jobscript.generate_EAR_resource_map(task, loop_idx)#

Generate an integer array whose rows represent actions and columns represent task elements and whose values index unique resources.

Parameters:
Return type:

tuple[Sequence[ElementResources], Sequence[int], NDArray, NDArray]