# Codes per server

> Choose which simulation codes HiveBoard looks for on each server: all of them by default, or only the ones you tick on the server's Software tab.

Source: https://hiveboard.dev/docs/codes/codes-per-server · Section: Simulation codes · HiveBoard 0.1.7 · Updated 2026-10-19

## In short

- Every server looks for every code HiveBoard knows unless you limit it — and that is the recommended setting.
- Limit a server on its Software tab with Only these…, or several servers at once from a selection; in config.yaml the list is apps.
- Fewer codes make each folder check shorter; jobs in folders that match none of them are still listed, with time used and their output.

Each server has its own list of the simulation codes HiveBoard looks for in
its job folders. A new server looks for all of them, and so does any server
whose list you never changed: every code HiveBoard knows, your own included.
That is the recommended setting. Limit a server only when a folder there is
recognised as the wrong code, or to make each folder check a little shorter.

A job whose folder matches none of the codes a server looks for is not
hidden: it is listed like any other, tagged **other**, with time used and its
output ([how codes are recognised](/docs/codes/how-codes-are-recognised)).

## On one server

1. Open **Connections** and choose the server.
2. Open its **Software** tab. It has two cards: **Scheduler**, which says how
   HiveBoard reads the queue, and **Simulation codes**.
3. Choose **Only these…** in place of
   **All codes HiveBoard knows (20)**.
4. Tick the codes you run there. The codes are grouped by family; ticking a
   family ticks every code in it, and **Search codes** narrows the list. The
   line beside the search says how many are chosen, and **Clear** unticks them
   all.
5. Press **Save changes** in the bar that appears once something has changed
   (**Discard** drops the change).

At least one code has to be ticked; with none, the card says "Choose at least
one code, or go back to All." **About these codes** opens the catalogue in
Settings, with every code and its kinds of calculation.

The choice shows in two more places: on the server's **Overview** tab, under
**Setup**, as **Simulation codes** — "All 20 codes", or how many and which —
with a **Change** link; and in the **Codes** column of the **All servers**
table, as "All" or a number, with the list when you point at it.

## On several servers at once

Select the servers — <kbd>Ctrl</kbd>-click (<kbd>⌘</kbd>-click on a Mac) them
in the list, <kbd>Shift</kbd>-click a run of them, or press
**Select several** — and the page for the selection has a
**Simulation codes** card with the same choice. Make it, then press
**Apply to** with the number of servers
([managing many servers](/docs/connections/many-servers)).

## What changes when you save

The list decides which codes the folder check considers, on that server only:
for the tags in the job list, for a job you open, and for the calculation
folders marked in **Folders**. After you change it, the tags of that server's
jobs are worked out again with the new list.

A server's list travels with it: **Duplicate** copies it, and an export
carries it. On import, a code the other computer does not know — your own spec
that was not copied there — is dropped from the list
([export and import](/docs/connections/export-import)).

## In config.yaml

The list is the server's `apps:` key, of code ids:

```yaml
clusters:
  - name: ember
    hostname: ember.example.edu
    user: zoe
    apps:
      - vasp
      - qe
```

`all` — the default — means every code. An empty list, `auto`, and
`[vasp, orca, generic]` (the list older versions wrote for every server) mean
every code too. `generic`, the fallback for folders nothing recognises, is
never listed: it is always there. The app refuses an id it does not know, and
names the ones it does; typed into the file by hand, an unknown id simply
matches nothing.

| Code | id |
|---|---|
| VASP | `vasp` |
| Quantum ESPRESSO | `qe` |
| CP2K | `cp2k` |
| CASTEP | `castep` |
| FHI-aims | `fhiaims` |
| ORCA | `orca` |
| Gaussian | `gaussian` |
| Q-Chem | `qchem` |
| Psi4 | `psi4` |
| MOLPRO | `molpro` |
| GAMESS | `gamess` |
| PySCF | `pyscf` |
| xtb | `xtb` |
| GROMACS | `gromacs` |
| LAMMPS | `lammps` |
| OpenMM | `openmm` |
| NAMD | `namd` |
| Zacros | `zacros` |
| kmos | `kmos` |
| SPPARKS | `spparks` |

A code of your own is listed by the `id` in its spec
([adding your own code](/docs/codes/your-own-codes)). The rest of the file is
on [config.yaml](/docs/settings/config-file).

## Check yourself

1. You limit a server to VASP. What happens to a LAMMPS job on it?
   - It is still listed, tagged other, with time used and its output ← the answer
   - It disappears from the job list
   - It is tagged VASP
   - HiveBoard refuses to save the choice
   Why: A folder that matches none of the chosen codes still appears, read as an unrecognised code.

## Try it in the app

- Open Connections, choose one of your servers, and read what its **Software** tab says it looks for.

## Related

- [How codes are recognised](https://hiveboard.dev/docs/codes/how-codes-are-recognised.md)
- [The twenty supported codes](https://hiveboard.dev/docs/codes/supported-codes.md)
- [A server's page and its tabs](https://hiveboard.dev/docs/connections/server-tabs.md)
- [Managing many servers](https://hiveboard.dev/docs/connections/many-servers.md)
- [A job shows no code, or "other"](https://hiveboard.dev/docs/help/code-not-recognised.md)
