SGE: Live View of Output Signal

I am submitting a job (script) to the Sun Grid Engine. The job is a python program. It may take many hours, but it will periodically write to stdout and stderr to tell me its status (like how many iterations have finished, etc.). The problem is that SGE is buffering the output and only writing to the file at the end, which means I cannot see the output on the screen or the tail of the file in real time. I can only find out the status after completing the work. Is there a way to get around this by setting up SGE (qsub, etc.)?

+3


source to share


1 answer


Use qrsh instead of using qsub.



0


source







All Articles