用户工具

站点工具


mcloud:slurm

差别

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

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
mcloud:slurm [2024/01/18 15:28] – [表] penggemcloud:slurm [2025/03/20 11:55] (当前版本) pengge
行 190: 行 190:
 #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: 行 265:
 | $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 15:28 由 pengge