slurmstepd(8)

πŸ’… slurmstepd β€” the job step manager for Slurm

okay so bestie, welcome to slurmstepd(8), a page from the Slurm Component collection. this one's short but she's important, so let's get into it πŸ’–


✨ NAME ✨

slurmstepd β€” the job step manager for Slurm. that's her. that's the whole rΓ©sumΓ©. πŸ‘‘


🌸 SYNOPSIS 🌸

slurmstepd

that's it. no flags. no args. she simply is. πŸ¦‹


πŸ’– DESCRIPTION πŸ’–

so slurmstepd is the job step manager for Slurm, fr fr. she gets spawned by the slurmd daemon the moment a job step is launched, and she dips out (terminates) the moment that job step is done. iconic work ethic, honestly.

what is she actually doing all day? she's the main character responsible for:

  • managing input and output for the job step β€” that's stdin, stdout and stderr 🫢
  • handling the job step's accounting
  • handling signal processing
🚨 bestie listen: slurmstepd should not be initiated by users or system administrators. she picks her own friends (aka slurmd). don't try to start her yourself, it's giving chaos. no cap.

🌈 ENVIRONMENT VARIABLES: 🌈

these environment variables can override settings that got compiled into slurmstepd. yes, compiled-in defaults can be swayed. she's flexible like that πŸ’…

  • SLURM_DEBUG_FLAGS β€” specify debug flags for slurmstepd to use. want the full list of flags? go check out DebugFlags in the slurm.conf(5) man page, iykyk. and important detail: this environment variable takes precedence over the setting in the slurm.conf. env wins, periodt.

⭐ SIGNALS ⭐

here's the vibe check on signals, bestie:

  • SIGINT SIGTERM SIGQUIT β€” slurmstepd will shut down cleanly. she leaves the group chat politely, no drama. ✨
  • SIGPROF β€” logs connection manager state, but only when the debug level is at least info. so like, she's journaling, but only if you turned on the journaling setting.
  • SIGTSTP SIGPIPE SIGUSR1 SIGUSR2 SIGALRM SIGHUP β€” these signals are explicitly ignored. seen and unbothered. not her problem. πŸ’€

πŸŽ€ COPYING πŸŽ€

okay legal moment, but make it cute:

Copyright (C) 2006 The Regents of the University of California. Copyright (C) 2010-2022 SchedMD LLC. Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). CODE-OCEC-09-009. All rights reserved.

this file is part of Slurm, a resource management program. for details, see <https://slurm.schedmd.com/>. πŸ¦‹

Slurm is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Slurm is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.


πŸ”₯ SEE ALSO πŸ”₯

  • slurmd(8) β€” her origin story, go read it πŸ’œ

and that's the whole page, bestie! this was slurmstepd(8) from Slurm 26.05, filed under Slurm Component. stay slaying, manage those job steps, and remember: don't start her manually. πŸŽ€βœ¨πŸ’…

πŸ“¦ where this page comes from