# potfit wiki

open source force-matching

### Sidebar

User Guide

Examples

Potential Databases

More

output:main

# Output

potfit prints information on the minimization progress to the standard output. Additionally all input and output file names are also written to standard output.

The output of the optimization will also be written to standard output unless the output_prefix parameter is set in the parameter file (which is highly recommended).

## Potfit Output Files

### Binned distribution file

Only available for tabulated potentials: When compiled with the bindist option, a bindistfile can be created.

### Error report

At the very end of each potfit run there will be an error report.

### Final potential

potfit always writes the potential achieved in minimization to a file using the same format as for the input potential. The name of this file is specified by the endpot parameter.

### IMD Potential File

Prefix of files to which the IMD potentials are written, see IMD.

### LAMMPS potential file

If write_lammps is set to 1 in the parameter file, potfit will write a potential file for LAMMPS. This feature does not work for all potentials, for details see LAMMPS.

### Output files

If the output_prefix parameter is set in the configuration file, potfit will write several files, else all information will be printed to standard output.
In detail the files written are:

output_prefix.force contains the calculated and reference forces
output_prefix.energy contains the calculated and reference energies
output_prefix.stress contains the calculated and reference stresses
output_prefix.punish contains the different punishments (EAM only)
output_prefix.rho_loc local electron density (EAM only)

All these files contain header lines, describing the following data.

### Pair distribution file

If write_pair is set to 1 in the parameter file, the pair distribution file will be written after the optimization.

### Plotting files

Two files can generated to be used with gnuplot:

### Temporary Potential File

Every now and then, depending on the algorithm used, an intermediate potential is written to a tempfile.