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[List[ElementResources], List[int], ndarray[Any, dtype[_ScalarType_co]], ndarray[Any, dtype[_ScalarType_co]]]