Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix job polling for SGE #2462

Merged
merged 3 commits into from
Oct 31, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/cylc/batch_sys_handlers/sge.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,10 @@ def format_directives(self, job_conf):
lines.append("%s%s" % (self.DIRECTIVE_PREFIX, key))
return lines

def get_poll_many_cmd(cls, job_ids):
"""Return poll command"""
# No way to run POLL_CMD on specific job id(s). List all user's jobs.
# batch_sys_manager._jobs_poll_batch_sys checks requested id in list.
return [cls.POLL_CMD]

BATCH_SYS_HANDLER = SGEHandler()