1
1
1
DTK开发
标题
2024-05-11 16:35:52
124

如何在Slurm中定义DCU设备?
我的定义如下:

slurm.conf 定义:
GresTypes=gpu,dcu,mlu

slurm_node.conf 定义:
NodeName=compute05 NodeHostname=compute05 NodeAddr=compute05 CPUs=128 Boards=1 SocketsPerBoard=8 CoresPerSocket=8 ThreadsPerCore=2 RealMemory=128649 MemSpecLimit=4096 Feature="DCU Z100L" Gres=dcu:z100:8

gres.conf 定义:
NodeName=compute05 Name=dcu Type=z100 File=/dev/dri/card0
NodeName=compute05 Name=dcu Type=z100 File=/dev/dri/card1
NodeName=compute05 Name=dcu Type=z100 File=/dev/dri/card2
NodeName=compute05 Name=dcu Type=z100 File=/dev/dri/card3
NodeName=compute05 Name=dcu Type=z100 File=/dev/dri/card4
NodeName=compute05 Name=dcu Type=z100 File=/dev/dri/card5
NodeName=compute05 Name=dcu Type=z100 File=/dev/dri/card6
NodeName=compute05 Name=dcu Type=z100 File=/dev/dri/card7

结果DCU节点总是drain,显示
gres/dcu count reported lower than configured (0 < 8)

那么我该如何定义dcu设备呢?

全部评论(1)
只看楼主
T
tianlh
1楼
您好,这个问题的背景是什么呢,平时在slurm系统里运行程序不会有定义DCU设备的操作,slurm脚本中使用--gres=dcu:1可以申请到DCU节点直接使用,slurm会自动分配空闲DCU节点,不需要详细定义。可能需要您提供更加详细的信息。
2024/5/20
没有更多内容了
--
楼主
Level.1
0 帖子
楼主热帖
暂无数据