This is a simple web application that generates slurm submit scripts based on our infrastructure's naming conventions and workflow. It helps users quickly create job submission scripts without having to manually format the script each time. The app ensures that the generated scripts adhere to our organization's standards, making the job submission process more efficient and consistent.
Check out the public hosted version: https://slurmscriptgen.streamlit.app/
- Intuitive web interface for easy script generation
- Automatic formatting based on our infrastructure's naming conventions
- Supports common slurm directives and options
- Customizable templates to match our organization's requirements
- Shareable generated scripts for collaboration and reuse
demo.webm
Follow these steps to get started with slurm script generator:
- Create an
.env-File
with the following variables that will be used for docker-compose:
LOCAL_REGISTRY=my-registry.domain.com:<port>
DEFAULT_PARTITION=my-default-partition
- Build and start the container via docker-compose
docker compose up
- Open your web browser to access the app.
Local URL: http://localhost:8501
Network URL: http://ip.of.your.server:8501
-
Fill out the form with the necessary details for your job submission, such as job name, resource requirements, and command to execute.
-
Copy the generated script and use it to submit your job to the slurm scheduler.
Contributions are welcome! Here's how you can set up the development environment:
- Clone the repository:
git clone https://github.com/tivenide/SlurmScriptGen.git
cd SlurmScriptGen
- Install the development requirements:
pip install -r requirements-dev.txt
- Set up the pre-commit hooks:
pre-commit install
Thank you for your contribution!
Copyright 2024 tivenide. All rights reserved.