PBS,刷新标准输出 [英] PBS, refresh stdout

查看:243
本文介绍了PBS,刷新标准输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Torque/PBS工作时间很长,我想监视输出.但是仅在作业完成后才复制日志文件.有没有办法说服PBS刷新它?

I have a long running Torque/PBS job and I'd like to monitor output. But log file only gets copied after the job is finished. Is there a way to convince PBS to refresh it?

推荐答案

不幸的是,AFAIK在PBS/Torque中是不可能的-stdout/stderr流在执行主机上本地后台处理,然后在之后传输到提交主机工作已经完成.如果您想在执行期间监视程序,则可以将程序的标准输出重定向到文件(仅在执行和sumit主机共享一个公共文件系统时才有意义).

Unfortunately, AFAIK, that is not possible with PBS/Torque - the stdout/stderr streams are locally spooled on the execution host and then transferred to the submit host after the job has finished. You can redirect the standard output of the program to a file if you'd like to monitor it during the execution (it makes sense only if the execution and the sumit hosts share a common filesystem).

我怀疑其基本原理是它允许作业在不与提交节点共享文件系统的节点上执行.

I suspect the rationale is that it allows for jobs to be executed on nodes that doesn't share their filesystem with the submit node.

这篇关于PBS,刷新标准输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆