Skip to content

simple web application that generates slurm submit scripts

Notifications You must be signed in to change notification settings

tivenide/SlurmScriptGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slurm script generator

Streamlit App Ruff

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.

Features

  • 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

Getting Started

Follow these steps to get started with slurm script generator:

  1. 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
  1. Build and start the container via docker-compose
docker compose up
  1. Open your web browser to access the app.
Local URL:      http://localhost:8501
Network URL:    http://ip.of.your.server:8501
  1. Fill out the form with the necessary details for your job submission, such as job name, resource requirements, and command to execute.

  2. Copy the generated script and use it to submit your job to the slurm scheduler.

Contributing

Contributions are welcome! Here's how you can set up the development environment:

  1. Clone the repository:
git clone https://github.com/tivenide/SlurmScriptGen.git
cd SlurmScriptGen
  1. Install the development requirements:
pip install -r requirements-dev.txt
  1. Set up the pre-commit hooks:
pre-commit install

Thank you for your contribution!

License

Copyright 2024 tivenide. All rights reserved.

About

simple web application that generates slurm submit scripts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published