grid¶
-
class
anadama2.grid.grid.
Grid
(name, worker, queue, tmpdir, benchmark_on=None)[source]¶ Base Grid Workflow manager class
-
class
anadama2.grid.grid.
GridJobRequires
(time, mem, cores, partition, depends=None)[source]¶ Defines the resources required for a task on the grid.
Parameters:
-
class
anadama2.grid.grid.
GridWorker
(work_q, result_q, lock, reporter)[source]¶ Base Grid Worker class
-
static
evaluate_resource_requests
(time, mem)[source]¶ Evaluate the time/memory requests for the grid job, allowing for ints or formulas
-
static
log_grid_output
(taskid, file, file_type)[source]¶ Write the grid stdout/stderr files to the log
-
run
()[source]¶ Method representing the thread’s activity.
You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.
-
static