<div dir="ltr">Dear slurm users,<div><br></div><div>I'm having a hard time making slurm to correctly output progress information during my program execution.</div><div>Apparently by default srun line-caches output, which is fine. Nevertheless if we want to display some progress without a line break it seems not possible. I tried using flush() but it doesnt help, the text only shows when a new-line is sent. Shouldn't flush be respected?</div><div><br></div><div>On the other hand now we have the unbuffered option (-u).</div><div>This partially solves my problem, results are shown without new-lines. However I found another problem. For some reason, when using this mode, isatty() always returns True, which is not correct. Most times slurm jobs will redirect streams to files and programs which make use of this function to control output will wrongly write a lot of irrelevant info.</div><div><br></div><div>Does it sound as I'm dong something wrong, or are these effectively slurm issues?</div><div><br></div><div>Thanks in advance for any hints!</div><div><br></div><div>Fernando</div></div>