# potfit wiki

open source force-matching

### Sidebar

User Guide

Examples

Potential Databases

More

running:main

This is an old revision of the document!

After having compiled potfit with the desired options, the simulation is started as follows:

<syntaxhighlight lang=“bash”>potfit_program parameter_file</syntaxhighlight>

The name of the potfit program is the same as the compilation target. The parameter file contains all further parameters describing the simulation.

### Parallel execution

potfit supports MPI parallelization. If MPI is enabled, the number of MPI processes must be stated at the program start. This is usually done with a (system dependent) startup script like the following one:

mpirun -np P potfit_program parameter_file

Here, <tt>P</tt> is the number of MPI processes.

If MPI is enabled, the reference configurations will be split among the available processors. If you have 10 configurations, it doesn't make sense to use more than 10 CPUs.