<commit_before>Runtime Configuration
---------------------

Bohrium supports a broad range of frontends and backends.
In order to configure the runtime setup of Bohrium you must provide a configuration file to Bohrium. The installation of Bohrium installs a default configuration file in ``/etc/bohrium/config.ini`` when doing a system-wide installation and ``~/.bohrium/config.ini`` when doing a local installation.

At runtime Bohrium will search through the following prioritized list in order to find the configuration file:

* The environment variable ``BH_CONFIG``
* The home directory config ``~/.bohrium/config.ini`` (Windows: %APPDATA%\bohrium\config.ini)
* The system-wide config ``/etc/bohrium/config.ini`` (Windows: %PROGRAMFILES%\bohrium\config.ini)


The default configuration file looks similar to the config below::

  #
  # Stack configurations, which are a comma separated lists of components.
  # NB: 'stacks' is a reserved section name and 'default'
  #     is used when 'BH_STACKS' is unset.
  #     The bridge is never part of the list
  #
  [stacks]
  default    = bcexp, bccon, node, openmp
  openmp     = bcexp, bccon, node, openmp
  opencl     = bcexp, bccon, node, opencl, openmp

  #
  # Managers
  #

  [node]
  impl = /usr/lib/libbh_vem_node.so
  timing = false

  [proxy]
  address = localhost<commit_msg>Update config.rst<commit_after>Runtime Configuration
---------------------

Bohrium supports a broad range of frontends and backends.
In order to configure the runtime setup of Bohrium you must provide a configuration file to Bohrium. The installation of Bohrium installs a default configuration file in ``/etc/bohrium/config.ini`` when doing a system-wide installation and ``~/.bohrium/config.ini`` when doing a local installation.

At runtime Bohrium will search through the following prioritized list in order to find the configuration file:

* The environment variable ``BH_CONFIG``
* The home directory config ``~/.bohrium/config.ini`` (Windows: %APPDATA%\bohrium\config.ini)
* The system-wide config ``/etc/bohrium/config.ini`` (Windows: %PROGRAMFILES%\bohrium\config.ini)


The default configuration file looks similar to the config below::

  #
  # Stack configurations, which are a comma separated lists of components.
  # NB: 'stacks' is a reserved section name and 'default'
  #     is used when 'BH_STACK' is unset.
  #     The bridge is never part of the list
  #
  [stacks]
  default    = bcexp, bccon, node, openmp
  openmp     = bcexp, bccon, node, openmp
  opencl     = bcexp, bccon, node, opencl, openmp

  #
  # Managers
  #

  [node]
  impl = /usr/lib/libbh_vem_node.so
  timing = false

  [proxy]
  address = localhost
{'fraction_non_alphanumeric': 0.1005607476635514, 'fraction_numerical': 0.0, 'mean_word_length': 3.5900514579759863, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5419860', 'n_tokens_mistral': 808, 'n_tokens_neox': 788, 'n_words': 308}