FLUSH
This is part of the generic module

This command instructs plumed to flush all the open files with a user specified frequency. Notice that all files are flushed anyway every 10000 steps.

This is useful for preventing data loss that would otherwise arise as a consequence of the code storing data for printing in the buffers. Notice that wherever it is written in the plumed input file, it will flush all the open files.

Examples

A command like this in the input will instruct plumed to flush all the output files every 100 steps

Click on the labels of the actions for more information on what each action computes
tested on v2.8
d1: DISTANCE 
ATOMS
the pair of atom that we are calculating the distance between.
=1,10 PRINT
ARG
the input for this action is the scalar output from one or more other actions.
=d1
STRIDE
compulsory keyword ( default=1 ) the frequency with which the quantities of interest should be output
=5
FILE
the name of the file on which to output these quantities
=colvar1 FLUSH
STRIDE
compulsory keyword the frequency with which all the open files should be flushed
=100 d2: DISTANCE
ATOMS
the pair of atom that we are calculating the distance between.
=2,11 # also this print is flushed every 100 steps: PRINT
ARG
the input for this action is the scalar output from one or more other actions.
=d2
STRIDE
compulsory keyword ( default=1 ) the frequency with which the quantities of interest should be output
=10
FILE
the name of the file on which to output these quantities
=colvar2

(see also DISTANCE and PRINT).

Glossary of keywords and components
Compulsory keywords
STRIDE the frequency with which all the open files should be flushed