Skip to content

sssciel/TaskShift

Repository files navigation

TaskShift

TaskShift is a Python scheduler service for Slurm-based clusters with forecast-aware job launching and cluster configuration snapshots. It also includes a small admin web panel for inspecting the cluster state and editing runtime configuration files.

Requirements

  • Python 3.11
  • Installed dependencies from requirements.txt
  • Config files in configs: scheduler.yaml, server.yaml, cluster.yaml, .env
  • ADMIN_PANEL_TOKEN set in configs/.env if you want to use the web panel

Run

Install dependencies:

python3.11 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt

Run the scheduler with the web panel:

./taskshift schedule

Run the scheduler without the web panel:

./taskshift schedule --without-web-panel

Run only the web panel:

./taskshift serve-web-panel

Web Panel Login

Open the address from the startup log, usually http://127.0.0.1:8000, and sign in with ADMIN_PANEL_TOKEN from configs/.env. Use the panel to inspect the cluster, edit configs, and adjust scheduler-related settings.

About

Subsystem of dynamic task launch for the "HPC TaskMaster"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors