CENTOS STREAM PC INSTALL FLURM

yum install epel-release

yum install munge munge-libs munge-devel

systemctl enable munge

systemctl start munge

systemctl status munge.service

/usr/sbin/create-munge -key

systemctl start munge

systemctl status munge.service

yum install slurm slurm-devel slurm-slurmctld slurm-slurmd

slurmd -c

hostnamectl

hostnamectl set-hostname --static --transient --pretty

hostnamectl set-hostname --static seiswei

systemctl restart systemd-hostnamed

slurm.conf

Slurm System Configuration Tool

touch slurm.conf

chmod 777 slurm.conf

将生成网页中的所有代码粘贴到文本文件中

cp slurm.conf /usr/local/etc

systemctl enable slurmd --now

systemctl enable slurmctld --now

systemctl enable slurmd --now

sinfo

sinfo

PARTITION AVAIL TIMELIMIT NODES STATE NODELIST

debug* up infinite 1 idle localhost

touch job.sh

vim job.sh

#!/bin/bash

#SBATCH --job-name=myjob

#SBATCH --output=/home/mohua/Desektop/output.txt

#SBATCH --time=5:00

echo "This is my job."

echo "The current working directory is: $PWD"

echo "The date is: $(date)"

echo "The hostname is: $(hostname)"

sbatch job.sh

相关推荐
群联云防护小杜几秒前
深度隐匿源IP:高防+群联AI云防护防绕过实战
运维·服务器·前端·网络·人工智能·网络协议·tcp/ip
YuTaoShao11 分钟前
【LeetCode 热题 100】994. 腐烂的橘子——BFS
java·linux·算法·leetcode·宽度优先
退役小学生呀14 分钟前
十五、K8s可观测能力:日志收集
linux·云原生·容器·kubernetes·k8s
van叶~15 分钟前
Linux探秘坊-------15.线程概念与控制
linux·运维·服务器
Andy杨2 小时前
20250718-1-Kubernetes 应用程序生命周期管理-应用部署、升级、弹性_笔记
linux·docker·容器
2301_780789664 小时前
UDP和TCP的主要区别是什么
服务器·网络协议·web安全·网络安全·udp
写写闲篇儿6 小时前
Python+MongoDB高效开发组合
linux·python·mongodb
一个龙的传说7 小时前
linux 常用命令
linux·服务器·zookeeper
Ching·9 小时前
esp32使用ESP-IDF在Linux下的升级步骤,和遇到的坑Traceback (most recent call last):,及解决
linux·python·esp32·esp_idf升级