Package bigjob_dynamic :: Module many_job_affinity :: Class many_job_affinity_service
[hide private]
[frames] | no frames]

Class many_job_affinity_service

source code


Instance Methods [hide private]
 
__init__(self, bigjob_list, advert_host)
accepts resource list as key/value pair:...
source code
 
__schedule_subjob(self, subjob)
find resource (bigjob) with the same affinity for subjob returns bigjob object
source code
Method Details [hide private]

__init__(self, bigjob_list, advert_host)
(Constructor)

source code 
accepts resource list as key/value pair:
( {"resource_url" : "gram://qb1.loni.org/jobmanager-pbs", "number_cores" : "32", "allocation" : "<allocaton>", "queue" : "workq", 
   "re_agent":  os.getcwd() + "/bigjob_agent_launcher.sh"  "walltime":1000, "affinity": "affinity1"},
  {"resource_url" : "gram://qb1.loni.org/jobmanager-pbs", "number_cores" : "32", "allocation" : "<allocation", "queue" : "workq", 
   "re_agent": "os.getcwd() + "/bigjob_agent_launcher.sh", "walltime":1000, "affinity": "affinity1"})