用户工具

站点工具


mcloud:slurm

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
mcloud:slurm [2024/01/18 07:28] – [表] penggemcloud:slurm [2026/07/30 04:00] (当前版本) – 外部编辑 127.0.0.1
行 1: 行 1:
 +~~DISCUSSION:off~~
 ====== slurm 使用 ====== ====== slurm 使用 ======
  
行 190: 行 191:
 #SBATCH --gres=gpu:4 #SBATCH --gres=gpu:4
 #SBATCH --gpus-per-task=1 #SBATCH --gpus-per-task=1
 +#SBATCH --nodelist=gn32     # 指定节点提交
  
 module load mpi mkl module load mpi mkl
行 264: 行 266:
 | $SLURM_NTASKS_PER_NODE   | Number of tasks requested per node.                      | | $SLURM_NTASKS_PER_NODE   | Number of tasks requested per node.                      |
 | $SLURM_NTASKS_PER_CORE   | Number of tasks requested per core.                      | | $SLURM_NTASKS_PER_CORE   | Number of tasks requested per core.                      |
-| $SLURM_NPROCS            |                                                          |+| $SLURM_NPROCS            | Same as –ntasks.                                         |
 | $SLURM_NNODES            | Total number of nodes in the job’s resource allocation.  | | $SLURM_NNODES            | Total number of nodes in the job’s resource allocation.  |
 | $SLURM_TASKS_PER_NODE    | Number of tasks to be initiated on each node.            | | $SLURM_TASKS_PER_NODE    | Number of tasks to be initiated on each node.            |
mcloud/slurm.1705562928.txt.gz · 最后更改: 2024/01/18 07:28 由 pengge