PBS, refresh stdout

后端 未结 4 2114
迷失自我
迷失自我 2021-01-04 10:49

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

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-04 11:39

    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.

提交回复
热议问题