Skip to content

Instantly share code, notes, and snippets.

@daskinne
Created April 1, 2013 20:51
Show Gist options
  • Save daskinne/5287662 to your computer and use it in GitHub Desktop.
Save daskinne/5287662 to your computer and use it in GitHub Desktop.
OGE fails to report queues until more than 1 job has been submitted
lb._cluster = cluster
try:
sge_stats_obj = lb._get_stats()
sge_stats = sge_stats_obj.get_all_stats()
self.queued_jobs = sge_stats_obj.get_queued_jobs()
self.running_jobs = sge_stats_obj.get_running_jobs()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment