aboutsummaryrefslogtreecommitdiff
#! /bin/sh -xe

##
## slurm deployment on octopus01 (the head node)
##

## Install slurm in the same way as the worker nodes.
./slurm-worker-deploy.sh $(guix build -f slurm.scm)

# Register garbage collector root to prevent `guix gc' from garbage
# collecting slurm. It is enough to register one gcroot as that marks
# the whole store item as live.
sudo ln --force --symbolic /usr/local/sbin/slurmd /var/guix/gcroots