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

相关推荐
用户1129361121932 分钟前
npm 都提示成功了,node_modules 为什么还占着 370M?
linux·前端·后端
如夏倾城4 小时前
大模型(Large Model)解析:从数据类型、模型架构到任务选型
服务器·网络·数据库·语言模型·架构·audiolm
女神下凡5 小时前
芯易选(133):建荣(AppoTech)_开发指南
linux·arm开发·stm32·单片机·嵌入式硬件
JWIPC7 小时前
MyClaw 3.0 自动化数据采集实战指南
linux·运维·笔记·科技·深度学习·物联网·自动化
Kainy7 小时前
生产服务器从机械盘迁移NVMe固态:旧盘不动、退路先行的六步实操全记录
运维·服务器
Flynt7 小时前
自托管重开实录:照 HN 419 分热帖让 AI 从零搭一遍,15 分钟踩了三个真坑
linux·开源·ai编程
EmbeddedChen9 小时前
Linux 怎么查看 IP 地址和网络状态?常用网络命令入门
linux·网络·ip·route·ping
爱和冰阔落10 小时前
【Linux网络】GET 和 POST 真的只是参数位置不同吗?从 HTTP 请求方法、抓包分析到长连接与路由实战
linux·c++·http·网络编程·get与post
无足鸟ICT10 小时前
【RHCA+】_proc_pid_attr_exec
linux·运维·服务器
牙牙70510 小时前
接口一直超时,后端却查不出问题:TIME_WAIT 把本地端口耗尽了
linux·网络·tcp·连接池·故障排查·time_wait