Skip to content

Commit

Permalink
fix: remove slurm.conf location override from env
Browse files Browse the repository at this point in the history
The patch to `src/common/Makefile.am` sets the default
location for slurm.conf to $SNAP_COMMON/etc/slurm/slurm.conf.
Having this environment variable around messes with the CLI commands
when running in configless mode as these commands will still look for
slurm.conf in $SNAP_COMMON/etc/slurm/slurm.conf. Rather than under /var/spool.

Note that you will possibly need to set `SlurmdSpoolDir` for the CLI
commands to locate the cached slurm.conf when running in configless mode.
This option should be set in the main slurm controller.

Signed-off-by: Jason C. Nucciarone <[email protected]>
  • Loading branch information
NucciTheBoss committed Jun 12, 2024
1 parent bddfca0 commit a3ab81f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ environment:
# the necessary dependencies packaged in `site-packages`.
# yamllint disable-line rule:line-length
PATH: $SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$SNAP/usr/local/bin:$SNAP/usr/local/sbin:$PATH
SLURM_CONF: $SNAP_COMMON/etc/slurm/slurm.conf

apps:
logrotate:
Expand Down

0 comments on commit a3ab81f

Please sign in to comment.