I'm trying the Torque scheduler. I have previous experience with the LSF scheduler, and I quite like being able to use 'bsub -I make -j 12' to compile a program really quickly, i.e. running an 'interactive' job, and seeing any errors as they happen.
Now, there is an interactive option in Torque, but it's really, really interactive: you actually have to type the commands by hand, all the time tieing up the machine, and being billed.
So, I'm trying to avoid using Torque's 'interactive' facility, but I'd still like to be able to see the output of a job in real time, eg by doing 'tail -f' on the output file. As far as I can tell, there doesn't appear to be any way of causing the output file to be flushed in real-time, as things happen, in Torque? Or is there?
Summary of goal: - be able to simulate the '-I' option from LSF in Torque
Summary of sub-goal: - be able to request the output file to be flushed to disk continuously, whilst a job is running, in Torque
-koption but it still changes nothing. Indeed, the log was created once the job starts, but it's edited once and for all when the job terminates. I triedtail -fthe file to monitor but even on the execution host (in my case they have a shared filesystem with the control node) this is the case. Still wondering how to read real-time output of qsub. – Evergreen.F Mar 10 '20 at 20:51