# SWARM

Section to control swarm runs. The swarm framework provides a common ground for master/worker algorithms. [Edit on GitHub]

Subsections

- GLOBAL_OPT
- PRINT

## Keywords

- BEHAVIOR

- MAX_ITER

- NUMBER_OF_WORKERS

- REPLAY_COMMUNICATION_LOG

## Keyword descriptions

BEHAVIOR: enum = GLOBAL_OPT

  Usage: BEHAVIOR <STRING>

  Valid values:

  - `GLOBAL_OPT` Runs global geometry optimisation

  Which behaviour should control the swarm. [Edit on GitHub]

MAX_ITER: integer = 2147483647

  The maximum number iterations the master should perform [Edit on GitHub]

NUMBER_OF_WORKERS: integer

  Number of workers used for swarm. Of the total number of processors one is used for the master, the remaining processors should be divisible by the number of workers. [Edit on GitHub]

REPLAY_COMMUNICATION_LOG: string = swarm_translog_replay.xyz

  Usage: REPLAY_COMMUNICATION_LOG <CHARACTER>

  Filename of communication log of previous run. Use this to restart a swarm. [Edit on GitHub]