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

相关推荐
yenggd1 小时前
centos系统apache支持php配置
centos·php·apache
晓衣2 小时前
2025“獬豸杯”全国电子数据取证竞赛-k8s服务器取证wp
服务器·经验分享·程序人生·网络安全·容器·kubernetes·学习方法
我爱云计算3 小时前
K8S详解(5万字详细教程)
linux·运维·云原生·容器·kubernetes
2301_794333915 小时前
实验室服务器配置|通过Docker实现Linux系统多用户隔离与安全防控
linux·服务器·docker·实验室
荣光波比6 小时前
Nginx 实战系列(一)—— Web 核心概念、HTTP/HTTPS协议 与 Nginx 安装
linux·运维·服务器·nginx·云计算
武文斌776 小时前
单片机:DS18B20测温度、74HC595扩展芯片、8*8LED矩阵
运维·服务器·单片机·嵌入式硬件
阿sir1987 小时前
ZYNQ 自定义IP
服务器·网络·tcp/ip
绿箭柠檬茶8 小时前
Ubuntu 使用 Samba 共享文件夹
linux·运维·ubuntu
工藤新一¹9 小时前
Linux —— 虚拟进程地址空间
linux·运维·服务器·c/c++·虚拟进程地址空间
Aspiresky9 小时前
浅析Linux内核scatter-gather list实现
linux·dma·scatter/gather