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

相关推荐
bcbobo21cn3 分钟前
Linux命令的命令历史
linux·histsize·histfile
jingyu飞鸟1 小时前
linux系统源代码安装apache、编译隐藏版本号
linux·运维·apache
世事如云有卷舒1 小时前
Ubunt20.04搭建GitLab服务器,并借助cpolar实现公网访问
linux·服务器·gitlab
Little-Hu1 小时前
QML TextEdit组件
java·服务器·数据库
riverz12272 小时前
TCP backlog工作机制
服务器·网络·tcp/ip
2401_858286112 小时前
OS15.【Linux】gdb调试器的简单使用
linux·运维·服务器·开发语言·gdb
c30%003 小时前
内网渗透——红日靶场五
运维·服务器
zjw_rp4 小时前
centos停止维护后更换yum源
linux·运维·centos
宇钶宇夕4 小时前
EPLAN 电气制图:建立自己的部件库,添加部件-加SQL Server安装教程(三)上
运维·服务器·数据库·程序人生·自动化
行止64 小时前
OpenStack云平台管理
linux·openstack