Running jobs: Difference between revisions

suggest interactive job as a workaround for output buffering
(reposition a paragraph)
(suggest interactive job as a workaround for output buffering)
Line 271: Line 271:
  #SBATCH --mail-type=REQUEUE
  #SBATCH --mail-type=REQUEUE
  #SBATCH --mail-type=ALL
  #SBATCH --mail-type=ALL
==== Output buffering ====
Output from a non-interactive Slurm job is normally ''buffered'', which means that there is usually a delay between when data is written by the job and when you can see the output on a login node.  Depending on the application you are running and the load on the filesystem, this delay can range from less than a second to many minutes.
There are methods to reduce or eliminate the buffering, but we do not recommend using them because buffering is vital to preserving the overall performance of the filesystem.  If you need to monitor the output from a job in "real time", we recommend you run an [[#Interactive_jobs|interactive job]] as described above.


=== Completed jobs === <!--T:150-->
=== Completed jobs === <!--T:150-->
Bureaucrats, cc_docs_admin, cc_staff
2,879

edits