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, executor, statsd, rest_client, cred_client)[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')¶
- async customize_task_config(task_cfg, job_cfg=None, dataset=None)[source]¶
Transforms for the task config
- get_submit_args(task, cfg=None, passkey=None)[source]¶
Get the submit arguments to start the loader script.
- async get_grid_status()[source]¶
Get all tasks running on the queue system. Returns {grid_queue_id:{status,submit_dir}}