aboutsummaryrefslogtreecommitdiff
path: root/slurm-head-deploy.sh
blob: b921f181dc0d4a551576c87522414d3df8992dbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /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