clarify the function of -nonbuf a bit more

This commit is contained in:
Axel Kohlmeyer
2022-08-10 07:03:57 -04:00
parent 631f33feb5
commit e592f0f139

View File

@ -264,12 +264,13 @@ Disable generating a citation reminder (see above) at all.
Turn off buffering for screen and logfile output. For performance
reasons, output to the screen and logfile is usually buffered, i.e.
output is only generated if a buffer - typically 4096 bytes - has been
filled. However, when LAMMPS crashes, that can mean that there is
important output missing. When using this flag, this buffering is
turned off (only for screen and logfile output). Note that when running
in parallel with MPI, the screen output may still be buffered by the MPI
library which cannot be changed by LAMMPS. This flag should only be
output is only written to a file if its buffer - typically 4096 bytes -
has been filled. When LAMMPS crashes for some reason, however, that can
mean that there is important output missing. With this flag the
buffering can be turned off (only for screen and logfile output) and any
output will be committed immediately. Note that when running in
parallel with MPI, the screen output may still be buffered by the MPI
library and this cannot be changed by LAMMPS. This flag should only be
used for debugging and not for production simulations as the performance
impact can be significant, especially for large parallel runs.