2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: AGPL-3.0
9 . /usr/local/lib/arvbox/common.sh
11 cat > /etc/slurm-llnl/slurm.conf <<EOF
12 ControlMachine=$HOSTNAME
15 DefaultStorageLoc=/var/log/slurm-llnl
16 SelectType=select/cons_res
17 SelectTypeParameters=CR_CPU_Memory
23 SlurmdSpoolDir=/var/tmp/slurmd.spool
25 StateSaveLocation=/var/tmp/slurm.state
27 PartitionName=compute State=UP Default=YES Nodes=$HOSTNAME
30 mkdir -p /var/run/munge
34 exec /usr/sbin/slurmctld -v -D