计算化学公社

 找回密码 Forget password
 注册 Register
Views: 397|回复 Reply: 2
打印 Print 上一主题 Last thread 下一主题 Next thread

[集群维护] slurm.conf 配置 PartitionName和Procs 代表什么意思

[复制链接 Copy URL]

24

帖子

0

威望

75

eV
积分
99

Level 2 能力者

本帖最后由 naxiangzi 于 2024-12-4 16:31 编辑

slurm24.05版本
1.PartitionName 分设置什么值,才是合理,设置这个值,哪些地方要相应的设置


  1. # PartitionName=debug Nodes=ALL Default=YES MaxTime=INFINITE State=UP  # 默认
  2. PartitionName=compute Nodes=All Default=YES MaxTime=INFINITE State=UP
复制代码



2. Procs 代表什么意思,要怎么设置才是对的
  1. NodeName=master NodeAddr=192.168.2.2 CPUs=152 CoresPerSocket=38 ThreadsPerCore=2 RealMemory=257268 Procs=1 State=UNKNOWN
复制代码

3. RealMemory 要设置多少,才是合理的

如下图

24

帖子

0

威望

75

eV
积分
99

Level 2 能力者

3#
 楼主 Author| 发表于 Post on 2024-12-4 16:29:39 | 只看该作者 Only view this author
Dempey 发表于 2024-12-3 22:14
1. PartitionName是分区名,对应以后作业脚本中的#SBATCH --partition=部分,其他部分没有设置。
2. Procs ...

感恩大佬热心解答

86

帖子

3

威望

1747

eV
积分
1893

Level 5 (御坂)

2#
发表于 Post on 2024-12-3 22:14:59 | 只看该作者 Only view this author
1. PartitionName是分区名,对应以后作业脚本中的#SBATCH --partition=部分,其他部分没有设置。
2. Procs应该等同于CPUs,可以不设置
3. RealMemory可以设置得比slurmd -C的输出少一点

我的配置文件如下,给你一点参考:
  1. ######################################################################################
  2. #                                   计算节点信息                                     #
  3. ######################################################################################
  4. # CPU计算节点
  5. NodeName=cpu01  NodeAddr=cpu01  CPUs=56  RealMemory=384000   Sockets=2  CoresPerSocket=28  ThreadsPerCore=1
  6. ······
  7. # GPU计算节点
  8. NodeName=gpu51  NodeAddr=gpu51  CPUs=20  RealMemory=128000   Sockets=2  CoresPerSocket=10  ThreadsPerCore=1  Gres=gpu:4060Ti:2,shard:8
  9. ······
  10. ######################################################################################
  11. #                                   计算分区信息                                     #
  12. ######################################################################################
  13. PartitionName=CPU      Nodes=cpu[01-25]     Default=NO     MaxTime=14-00:00:00      State=UP
  14. ······
复制代码

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2025-8-12 22:01 , Processed in 0.163695 second(s), 24 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list