hpcflow.sdk.submission.shells.base.Shell#
- class hpcflow.sdk.submission.shells.base.Shell(executable=None, os_args=None)#
Bases:
ABC
Class to represent a shell and templates for jobscript composition.
This class represents a combination of a shell and an OS. For example, running bash on a POSIX OS, and provides snippets that are used to compose a jobscript for that combination.
Methods
Get the command for submitting a non-scheduled jobscript.
Get shell and operating system information.
Attributes
- get_direct_submit_command(js_path)#
Get the command for submitting a non-scheduled jobscript.
- abstract get_version_info(exclude_os=False)#
Get shell and operating system information.
- get_wait_command(workflow_app_alias, sub_idx, deps)#
- prepare_element_run_dirs(run_dirs)#