# 濕浪 Slurm 使用說明 [PBS和Slurm比較說明](http://bicmr.pku.edu.cn/~wenzw/pages/slurm.html) [slurm指令](https://man.twcc.ai/@twccdocs/B15nJXe-B?type=view#6-Slurm%E6%8C%87%E4%BB%A4) [Taiwania2 (HPC CLI)](https://man.twcc.ai/@twccdocs/B17r_OsVH?type=view) [PBS和Slurm排程系統指令對照](https://man.twcc.ai/@TWCC-III-manual/rk-0legNt) ## 常用指令 sbatch xxx.sh 提交工作 sacct 查看工作運行情況 squeue 看所有在跑的job狀態 scancel 看這個工作不爽把它取消 sinfo 看分區狀態(可用的有啥) scontrol show [jobID] 查看工作詳細狀態 * 先用sinfo看啥可用,在job script裡指定要用的節點之類的 ex: ```shell= #!/bin/bash # ----------------------------------- #SBATCH -p gp1d ##佇列 #SBATCH -A ACD110038 ## project id #SBATCH --nodes=2 ##節點數 #SBATCH -J lammps_test ##job name #SBATCH --time=24:00:00 ## running time #SBATCH --exclusive ##照打 #SBATCH --nodelist=gn1104,gn1105 ##要用的節點 #SBATCH --gres=gpu:8,gpu:8 ##要用GPU再打 #SBATCH --cpus-per-task=32 ``` ###### tags: `Slurm`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up