Keywords: user_guide

Next: 4.7 Other tools Up: 4 Usage Previous: 4.5 Wannier functions Contents

## 4.6 Interfaces to/from other code

Codes `pw2bgw.x` and `bgw2pw.x` convert data files from `pw.x` to a format suitable for usage by the Berkeley GW code, and vice versa. See files `Doc/INPUT_pw2bgw.*` and `Doc/INPUT_bgw2pw.*` for input data documentation. NOTE: `bgw2pw.x` works only with the "old" and no longer supported I/O format.

Code `pw2gw.x` converts data files from `pw.x` to a format suitable for usage by another GW code, computes optical properties in single-particle approach (Fermi Golden Rule). See file `Doc/INPUT_pw2gw.html` for input data documentation, directory `pw2gw_example/` for an example of usage.

Code `open_grid.x` writes Kohn-Sham orbitals for the complete k-point grid (not symetry-independent points only) in real space. Useful for further processing. It can be used to generate the Kohn-Sham state data required in `pw2wannier.x` and Wannier90 from the initial SCF calculation, bypassing the non-SCF calculation step.

Code `pw2critic.x` is an interface to the CRITIC2 code by Alberto Otero-de-la-Roza. This program creates a `pwc` file containing the Kohn-Sham orbitals from an SCF calculation (or from the output of `open_grid.x`). These orbitals are used for post-processing in CRITIC2.

Code `pw_export.f90`, no longer compiled by default and obsolete, is an interface to other codes, documented in `Doc/INPUT_pw_export.*`.