Grid Queueing¶
Interface for configuring and submitting jobs on a computing cluster. Do not use this class directly. Instead use one of the implementations that inherit from this class.
-
class
iceprod.server.grid.BaseGrid(gridspec, queue_cfg, cfg, modules, io_loop, executor, statsd)[source]¶ Interface for a generic job distribution system. Do not use this class directly. Use one of the plugins.
-
GRID_STATES= ('queued', 'processing', 'completed', 'error', 'unknown')¶
-
get_submit_args(task, cfg=None, passkey=None)[source]¶ Get the submit arguments to start the loader script.
-
get_grid_status(*args, **kwargs)[source]¶ Get all tasks running on the queue system. Returns {grid_queue_id:{status,submit_dir}}
-