PBS, refresh stdout

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

    In case you submit a shell script you may also put these two commands in the beginning of the script.

    exec 1>file.stdout
    exec 2>file.stderr
    

    This will put the output from stdout and stderr in the working directory of your job.

提交回复
热议问题