From 090e1ca67f7c9f641f19aac8593f64962d4d3130 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 29 Aug 2024 13:15:58 +0100 Subject: Add slurm deployment scripts for octopus. * slurm-deploy.sh: Delete file. * slurm-head-deploy.sh, slurm-worker-deploy.sh: New files. * slurm.scm: Replace tux04 with octopus in comment. --- slurm-head-deploy.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 slurm-head-deploy.sh (limited to 'slurm-head-deploy.sh') diff --git a/slurm-head-deploy.sh b/slurm-head-deploy.sh new file mode 100755 index 0000000..b921f18 --- /dev/null +++ b/slurm-head-deploy.sh @@ -0,0 +1,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 -- cgit v1.2.3