hpcflow.app.ElementResources#
- class hpcflow.app.ElementResources(scratch: 'str' = None, num_cores: 'int' = None, scheduler: 'str' = None, shell: 'str' = None, use_job_array: 'bool' = None, time_limit: 'str' = None, scheduler_options: 'Dict' = None, scheduler_args: 'Dict' = None, shell_args: 'Dict' = None, os_name: 'str' = None)#
Bases:
ElementResources
Methods
Get hash from all arguments that distinguish jobscripts.
Attributes
- Parameters:
- app = BaseApp(name='hpcFlow', version='0.2.0a56')#
- classmethod from_json_like(json_like, shared_data=None)#
- Parameters:
json_like (Union[Dict, List]) –
shared_data (Optional[Dict[str, ObjectList]]) –
- get_jobscript_hash()#
Get hash from all arguments that distinguish jobscripts.
- scheduler_args: Dict = None#
- scheduler_options: Dict = None#
- shell_args: Dict = None#
- to_dict()#
- to_json_like(dct=None, shared_data=None, exclude=None, path=None)#