The Kafka Slurm Agent is a tool for submitting computing tasks to the Slurm queues on multiple clusters. It uses Kafka to asynchronously communicate with an agent installed on the cluster.It contains a monitoring tool and a job submitter.
Project description
Kafka Slurm Agent
The Kafka Slurm Agent is a tool for submitting computing tasks to the Slurm queues on multiple clusters. It uses Kafka to asynchronously communicate with an agent installed on each cluster. It contains a monitoring tool and a job submitter.
Installation.
Use the standard pip
tool to install. The recommended way is to use a Python virtual environment:
python3 -m venv venv
source venv/bin/activate
pip install kafka-slurm-agent
Using
In the folder in which you created the venv
subfolder run the following command:
kafka-slurm create .
This will generate a configuration file kafkaslurm_cfg.py
, startup scripts and a module (my_monitor_agent.py
)
for adding your own implementation of the monitoring agent. This implementation may react to the incoming events
with computed jobs and handle them.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for kafka_slurm_agent-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdcb2bac34e5e18ace6028e21f636633c5de36087f21ef2503a3555ca3cc5445 |
|
MD5 | 4d99f97e531e4368fb04284d3dd3200d |
|
BLAKE2b-256 | 61d56c3047d2a8624031f7a64a054e6ef6136e6df6b57b0ee2e72da8ad885ea0 |