llnl / llnl/UnifyFS

Lua plugin for SLURM integration

Open
#740 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C
Stars
122
Forks
34
PR merge metrics
No merged PRs in 30d

Description

Add a SLURM SPANK lua plugin to create an option for SLURM to call UnifyFS.

Option should start and stop the UnifyFS daemon as the user at job startup and termination.

Initial attempt (PR #308) made the assumption that 'unifyfsd' is installed in a default system path. The SPANK functions such as `task_init` and `task_exit` only run as the user running the job in a remote context.

SPANK Docs: https://slurm.schedmd.com/spank.html

Can test with a local SLURM install, otherwise may need someone to place the .lua scripts on some nodes for testing.
Can be invoked in the manner of: `[srun|sbatch|salloc] -p pdebug --reservation=unifyfs …`

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the SLURM SPANK documentation and prior PR #308, focusing on the task_init and task_exit entry points. Test the Lua scripts with a local SLURM installation using srun, sbatch, or salloc. Done means the plugin starts and stops unifyfsd as the job user at startup and termination without assuming a default installation path.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.