This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hpc:slurm-setup [2020/01/30 15:48] miriel@uclv |
hpc:slurm-setup [2020/04/10 17:38] (current) |
||
---|---|---|---|
Line 260: | Line 260: | ||
<code> | <code> | ||
systemctl enable slurmdbd | systemctl enable slurmdbd | ||
+ | </code> | ||
+ | |||
+ | We need to make sure that the server has all the right configurations and files. | ||
+ | |||
+ | <code> | ||
+ | mkdir /var/spool/slurmctld | ||
+ | chown slurm: /var/spool/slurmctld | ||
+ | chmod 755 /var/spool/slurmctld | ||
+ | touch /var/log/slurmctld.log | ||
+ | chown slurm: /var/log/slurmctld.log | ||
+ | touch /var/log/slurm_jobacct.log /var/log/slurm_jobcomp.log | ||
+ | chown slurm: /var/log/slurm_jobacct.log /var/log/slurm_jobcomp.log | ||
+ | |||
</code> | </code> | ||
Line 269: | Line 282: | ||
yum install slurm-slurmd slurm-pam-$VER*rpm_slurm-$VER*rpm | yum install slurm-slurmd slurm-pam-$VER*rpm_slurm-$VER*rpm | ||
systemctl enable slurmd | systemctl enable slurmd | ||
+ | </code> | ||
+ | |||
+ | We need to make sure that all the compute nodes have the right configurations and files. | ||
+ | |||
+ | <code> | ||
+ | mkdir /var/spool/slurmd | ||
+ | chown slurm: /var/spool/slurmd | ||
+ | chmod 755 /var/spool/slurmd | ||
+ | touch /var/log/slurmd.log | ||
+ | chown slurm: /var/log/slurmd.log | ||
</code> | </code> | ||