sbatchの書式が Torque/OpenPBS系と結構違う.
Torque/OpenPBS系の書式でslrumを動かせるツールが「slurm-torque」パッケージです

インストール

dnf localinstall ./rpmbuild/RPMS/x86_64/slurm-torque-23.02.4-1.el8.x86_64.rpm \
                 ./rpmbuild/RPMS/x86_64/slurm-perlapi-23.02.4-1.el8.x86_64.rpm

使ってみて

コマンド

[illya@slurm ~]$ ls /opt/slurm/bin/
generate_pbs_nodefile  pbsnodes  qdel   qrerun  qstat  sacct     salloc   sbatch  scancel   scrontab  sgather  sprio   sreport  sshare  strigger
mpiexec                qalter    qhold  qrls    qsub   sacctmgr  sattach  sbcast  scontrol  sdiag     sinfo    squeue  srun     sstat
 
[illya@slurm ~]$ qstat -Q
Queue              Max   Tot   Ena   Str   Que   Run   Hld   Wat   Trn   Ext T
----------------   ---   ---   ---   ---   ---   ---   ---   ---   ---   --- -
workq                ?     ?   yes   yes     ?     ?     ?     ?     ?     ? E
 
[illya@slurm ~]$ qstat -n -1
 
slurm:
                                                                               Req'd  Req'd   Elap
Job id               Username Queue    Name                 SessID NDS   TSK   Memory Time Use S Time
-------------------- -------- -------- -------------------- ------ ----- ----- ------ ----- - -----
3                    illya    workq    bash                 --         1     1     -- 71582 R 00:10   n2/1
 
[illya@slurm ~]$
[illya@slurm ~]$ qdel 3
 
[illya@slurm ~]$ qstat -n -1
 
slurm:
                                                                               Req'd  Req'd   Elap
Job id               Username Queue    Name                 SessID NDS   TSK   Memory Time Use S Time
-------------------- -------- -------- -------------------- ------ ----- ----- ------ ----- - -----
3                    illya    workq    bash                 --         1     1     -- 71582 C 00:11   n2/1
[illya@slurm ~]$
[illya@slurm ~]$ qstat
Job id              Name             Username        Time Use S Queue
------------------- ---------------- --------------- -------- - ---------------
3                   bash             illya           00:00:11 C workq
[illya@slurm ~]$
最新の60件
2024-02-23 2024-02-22 2024-02-21 2024-02-20 2024-02-19 2024-02-18 2024-02-17 2024-02-16 2024-02-13 2024-02-12 2024-02-09 2024-02-04 2024-02-03 2024-01-31 2024-01-30 2024-01-29 2024-01-28 2024-01-22 2024-01-16 2024-01-15 2024-01-13 2024-01-12 2024-01-09 2024-01-08 2024-01-07 2024-01-03 2023-12-22 2023-12-17 2023-12-16 2023-12-11 2023-12-09 2023-12-06 2023-11-30 2023-11-27 2023-11-21 2023-11-19 2023-11-18 2023-11-14 2023-11-10 2023-11-09 2023-11-05 2023-11-03 2023-10-30 2023-10-26

edit


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2023-09-08 (金) 07:28:50