The output data files are written in the directory outdir/prefix.save, as specified in variable prefix (a string that is prepended to all file names, whose default value is prefix='pwscf'). outdir is specified via environment variable ESPRESSO_TMPDIR. The usage of variable outdir is still possible but deprecated. The FoX library is used to write a ``head'' data file in a XML format. This file has a ``schema'' that can be found on http://www.quantum-espresso.org/ns/qes/qes-1.0. See the Developer Manual for its contents. The data directory contains binary files that are not guaranteed to be readable on different machines. If you need file portability, compile the code with HDF5 (see the general User Guide).
The execution stops if you create an ``EXIT'' file prefix.EXIT either in the working directory (i.e. where the program is executed), or in the outdir directory. Note that with some versions of MPI, the working directory is the directory where the executable is! The advantage of this procedure is that all files are properly closed, whereas just killing the process may leave data and output files in an unusable state. If you start the execution with the EXIT file already in place, the code will stop after initialization. Alternatively: set nstep to 0 in input. This is useful to have a quick check of the correctness of the input.