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:
task (WorkflowTask) –
loop_idx (Dict) –
- Return type:
Tuple[List[ElementResources], List[int], ndarray[Any, dtype[ScalarType]], ndarray[Any, dtype[ScalarType]]]