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

相关推荐
刘某的Cloud33 分钟前
parted磁盘管理
linux·运维·系统·parted
啊?啊?38 分钟前
4 解锁 Linux 操作新姿势:man、grep、tar ,创建用户及添加权限等 10 大实用命令详解
linux·服务器·实用指令
程序员老舅40 分钟前
干货|腾讯 Linux C/C++ 后端开发岗面试
linux·c语言·c++·编程·大厂面试题
爱倒腾的老唐1 小时前
24、Linux 路由管理
linux·运维·网络
程序员Aries1 小时前
自定义网络协议与序列化/反序列化
linux·网络·c++·网络协议·程序人生
_清浅1 小时前
计算机网络【第六章-应用层】
运维·服务器·计算机网络
泽02021 小时前
Linux之环境变量
java·linux·redis
正在努力的小河1 小时前
Linux 自带的 LED 灯驱动实验
linux·运维·服务器
济南java开发,求内推2 小时前
Redis一个服务器部署多个节点
服务器·数据库·redis
恒创科技HK2 小时前
如何选30G、60G、100G的香港高防服务器?
运维·服务器