hpcflow.sdk.submission.schedulers.sge.SGEPosix#
- class hpcflow.sdk.submission.schedulers.sge.SGEPosix(cwd_switch=None, *args, **kwargs)#
Bases:
Scheduler
Notes
runs in serial by default
References
[1] https://gridscheduler.sourceforge.net/htmlman/htmlman1/qsub.html
Methods
Extract scheduler reference for a newly submitted jobscript
Attributes
- DEFAULT_ARRAY_ITEM_VAR = 'SGE_TASK_ID'#
- DEFAULT_ARRAY_SWITCH = '-t'#
- DEFAULT_CWD_SWITCH = '-cwd'#
- DEFAULT_DEL_CMD = 'qdel'#
- DEFAULT_JS_CMD = '#$'#
- DEFAULT_SHEBANG_ARGS = ''#
- DEFAULT_SHELL_ARGS = ''#
- DEFAULT_SHOW_CMD = 'qstat'#
- DEFAULT_SUBMIT_CMD = 'qsub'#
- format_array_request(num_elements)#
- format_core_request_lines(num_cores, parallel_env)#
- format_options(resources, num_elements, is_array, sub_idx)#
- format_std_stream_file_option_lines(is_array, sub_idx)#
- format_switch(switch)#
- get_submit_command(shell, js_path, deps)#
- get_version_info()#