简体   繁体   English

SLURM 是否支持同时在一个节点上运行多个作业?

[英]Does SLURM support running multiple jobs on one node at the same time?

Our computer cluster runs slurm version 15.08.13 and mpich version is 3.2.1 .我们的计算机集群运行 slurm 版本15.08.13和 mpich 版本是3.2.1 My question is, could Slurm support multiple jobs running on one node at the same time?我的问题是,Slurm 能否支持同时在一个节点上运行多个作业? Our computer cluster has 16 cores cpu per node.我们的计算机集群每个节点有 16 个核心 cpu。 We want to run two jobs at the same time on one node, each job uses 8 cores.我们想在一个节点上同时运行两个作业,每个作业使用 8 个核心。

We have found that if a job uses all of the cpu cores for one node, the state of node becomes "allocated".我们发现,如果一个作业使用一个节点的所有 cpu 内核,则节点的 state 将变为“已分配”。 If a job uses only part of the cpu cores for one node, the state of node becomes "mixed", but subsequent jobs can only be queued and the state of job is "pending".如果一个job只使用了一个node的部分cpu cores,node的state就变成了“mixed”,但是后面的job只能排队,job的state是“pending”。

Our order for submitting an job is as follows:我们提交作业的顺序如下:

 srun -N1 -n8 testProgram

So, does Slurm support running multiple jobs on one node at the same time?那么,Slurm 支持在一个节点上同时运行多个作业吗? Thanks.谢谢。

Yes, provided it was configured with SelectType=select/cons_res , which does not seem to be the case on your system. 是的,只要已使用SelectType=select/cons_res对其进行配置, SelectType=select/cons_res在您的系统上似乎并非如此。 You can check with show config | grep Select 您可以使用show config | grep Select show config | grep Select . show config | grep Select See more information here 在这里查看更多信息

Yes, you need to set SelectType=select/cons_res or SelectType=select/cons_tes and SelectTypeParameters=CR_CPU_Memory The difference between cons_res and cons_tes is that cons_tres adds GPUs support.是的,你需要设置 SelectType=select/cons_res 或 SelectType=select/cons_tes 和 SelectTypeParameters=CR_CPU_Memory cons_res 和 cons_tes 的区别在于 cons_tres 增加了 GPUs 支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在r中同时(并行)在后台运行多个作业 - running multiple jobs in background at same time (parallel) in r Dask:具有一个工作程序的多个节点上的作业,仅在一个节点上运行 - Dask: Jobs on multiple nodes with one worker, run on one node only 同时在 perl 脚本中运行多个作业 - Run multiple jobs within perl script at the same time 在集群上运行多个parpool作业 - Running multiple parpool jobs on a cluster 同时运行多个动画 - Running multiple animations in parallel and at the same time 在具有相同工作空间的同一节点中并行运行多个阶段 - Running multiple stages in parallel in the same node with the same workspace Jenkins-如何在同一从属节点上并行运行两个作业(1个FT作业和1个Selenium作业) - Jenkins - How to run two Jobs parallelly (1 FT Jobs and 1 Selenium Jobs) on same slave node Spring 批处理 - 并行运行多个作业 - Spring batch - running multiple jobs in parallel 一个Powershell代码中的多个作业具有不同的持续时间 - Multiple jobs in one Powershell code with different duration Jenkins:具有一个共享资源的多个作业 - Jenkins: multiple jobs with one shared resource
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM