Package api :: Module base
[hide private]
[frames] | no frames]

Source Code for Module api.base

 1  """ BigJob API 
 2   
 3  This Module contains the API of the BigJob framework 
 4   
 5  All BigJob implementation must be derived from this API. 
 6   
 7  """ 
 8   
9 -class bigjob(object):
10
11 - def __init__(self, database_host):
12 pass
13
14 - def start_pilot_job(self, 15 lrms_url, 16 bigjob_agent_executable, 17 number_nodes, 18 queue, 19 project, 20 working_directory, 21 userproxy, 22 walltime, 23 processes_per_node=1):
24 pass
25
26 - def get_state(self):
27 pass 28
29 - def get_state_detail(self):
30 pass 31
32 - def cancel(self):
33 pass 34 35
36 -class subjob(object):
37
38 - def __init__(self, database_host):
39 pass
40
41 - def submit_job(self, pilot_url, jd):
42 pass
43
44 - def get_state(self):
45 pass
46
47 - def cancel(self):
48 pass
49