Ganga :: Lib :: LCG :: GridSimulator :: GridSimulator :: GridSimulator :: Class GridSimulator
[hide private]
[frames] | no frames]

Class GridSimulator

source code

Simulator of LCG interactions

Instance Methods [hide private]
 
__init__(self, middleware='GLITE') source code
 
check_proxy(self) source code
 
submit(self, jdlpath, ce=None)
This method is used for normal and native bulk submission supported by GLITE middleware.
source code
 
_params_filename(self, jobid) source code
 
_submit(self, jdlpath, ce, subjob_ids, nodename=None)
Submit a JDL file to LCG
source code
 
_make_new_id(self) source code
 
_cancel(self, jobid) source code
 
native_master_cancel(self, jobid)
Native bulk cancellation supported by GLITE middleware.
source code
 
_status(self, jobid, has_id) source code
 
status(self, jobids, is_collection=False)
Query the status of jobs on the grid.
source code
 
get_loginfo(self, jobid, directory, verbosity=1)
Fetch the logging info of the given job and save the output in the jobs outputdir
source code
 
get_output(self, jobid, directory, wms_proxy=False)
Retrieve the output of a job on the grid
source code
 
cancel(self, jobid)
Cancel a job
source code
Static Methods [hide private]
 
expandjdl(items)
Expand jdl items
source code
Class Variables [hide private]
  middleware = 'GLITE'
  credential = None
hash(x)
Method Details [hide private]

status(self, jobids, is_collection=False)

source code 

Query the status of jobs on the grid. If is_collection is False then jobids is a list of non-split jobs or emulated bulk subjobs of a single master job. If is_collection is True then jobids is a list of master jobs which are natively bulk.