Queueing Module¶
The queue module is responsible for interacting with the local batch or queueing system, putting tasks on the queue and removing them as necessary.
-
class
iceprod.server.modules.queue.queue(*args, **kwargs)[source]¶ Run the queue module, which queues jobs onto the local grid system(s).
-
global_queueing(*args, **kwargs)[source]¶ Do global queueing.
Fetch tasks from the global server that match the local resources and add them to the local DB. This is non-blocking, but only one at a time can run.
Parameters: - queueing_factor_priority – queueing factor for priority
- queueing_factor_dataset – queueing factor for dataset id
- queueing_factor_tasks – queueing factor for number of tasks
- num – number of tasks to queue
-