PBS, refresh stdout

后端 未结 4 2169
迷失自我
迷失自我 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:30

    This is possible in TORQUE. If you have a shared filesystem you can set

    $spool_as_final_name true

    in the mom's config file. This will have the file write directly to the final output destination instead of spooling in the spool directory. Once you are set up with that you can tail -f the output file and monitor anything you want.

    http://www.adaptivecomputing.com/resources/docs/torque/3-0-3/a.cmomconfig.php (search for spool_as_final_name

提交回复
热议问题