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

相关推荐
apocelipes3 小时前
Linux c 运行时获取动态库所在路径
linux·c语言·linux编程
ABB自动化4 小时前
for AC500 PLCs 3ADR025003M9903的安全说明
服务器·安全·机器人
努力学习的小廉4 小时前
深入了解linux系统—— 进程池
linux·运维·服务器
秃头菜狗4 小时前
各个主要目录的功能 / Linux 常见指令
linux·运维·服务器
利刃大大4 小时前
【在线五子棋对战】二、websocket && 服务器搭建
服务器·c++·websocket·网络协议·项目
2301_793102494 小时前
Linux——MySql数据库
linux·数据库
vfvfb5 小时前
bat批量去掉本文件夹中的文件扩展名
服务器·windows·批处理·删除扩展名·bat技巧
jiunian_cn6 小时前
【Linux】centos软件安装
linux·运维·centos
睡觉待开机6 小时前
0. MySQL在Centos 7环境安装
数据库·mysql·centos
程序员JerrySUN6 小时前
[特殊字符] 深入理解 Linux 内核进程管理:架构、核心函数与调度机制
java·linux·架构