简体   繁体   中英

How can I know the node name for my running job on slurm

在使用Slurm Scheduler的集群上,是否有任何命令可以返回节点名称和正在运行的作业的详细信息?

squeue should provide this information directly via the -o option. To get the allocated nodes, the corresponding format specifier is %N , thus for example to retrieve this information for a job with id 1000:

squeue -h -o "%N" -j1000

Or to request this for all jobs of a particular user:

squeue -h -o "%A %N" -u user_name

Here, %A returns the corresponding job id. The -h option removes the header in the output...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM