hpcflow.sdk.submission.jobscript#

Functions

generate_EAR_resource_map

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

group_resource_map_into_jobscripts

jobscripts_to_list

Convert the jobscripts dict to a list, normalising jobscript indices so they refer to list indices; also remove resource_hash.

merge_jobscripts_across_tasks

Try to merge jobscripts between tasks.

resolve_jobscript_dependencies

Classes

Jobscript