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
File details
Details for the file kafka_slurm_agent-0.9.4-py3-none-any.whl
.
File metadata
- Download URL: kafka_slurm_agent-0.9.4-py3-none-any.whl
- Upload date:
- Size: 29.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1a22e2398e843c881c62985bfdb0a27650474a8cb6c9c3e047c325b48e65185 |
|
MD5 | 99ddc71d5f660b820bf39291c348257e |
|
BLAKE2b-256 | 254e77dba1d133ae0688a83aaa59a44d15b3cc967273797f304eaa802a4ddc80 |