Skip to content

Plugin NWChem Input Generator

Hiromichi Yokoyama edited this page Nov 14, 2026 · 7 revisions

Plugin: NWChem Input Generator

NWChem Input Generator generates input files (.nw) for the high-performance computational chemistry software NWChem from 3D molecular structures in MoleditPy, supporting DFT, ab initio SCF, correlated methods, and heavy atom pseudopotential checks.

Repository Bundled in moleditpy-plugins (plugins/NWChem_Input_Generator)
Author HiroYokoyama
Supported OS Windows, macOS, Linux, WSL
Supported Python >=3.9, <3.15
Supported MoleditPy >=5.0.0, <6.0.0
First-party plugin license LGPL-3.0-or-later
Menu location Plugins ▸ NWChem Input Generator...
Extra dependencies None (uses RDKit, PySide6 from the MoleditPy environment)

See Official Plugins for the full catalogue.


1. Modules and task directives

  • Computation modules:
    • dft: Density Functional Theory (LDA, GGA, meta-GGA, hybrid functionals such as B3LYP, PBE96, PBE0, M06, CAM-B3LYP).
    • scf: Restricted (RHF), Unrestricted (UHF), or Restricted Open-shell (ROHF) Hartree-Fock.
    • mp2: Møller-Plesset perturbation theory.
    • ccsd: Coupled cluster methods.
    • tce: Tensor Contraction Engine for high-level correlated calculations.
  • Task directives: task <theory> energy, task <theory> optimize, task <theory> freq, task <theory> gradient, or task <theory> saddle.

2. Basis sets and heavy atom awareness

  • Standard basis sets: 6-31G, 6-31G*, 6-311G**, cc-pVDZ, cc-pVTZ, def2-SVP, def2-TZVP, STO-3G.
  • Heavy element detection: Automatically scans molecular composition for transition metals or heavy post-transition elements ($Z &gt; 36$), notifying the user if Effective Core Potentials (ECPs) or relativistic pseudopotential basis sets (e.g. lanl2dz or def2-ecp) are required.

3. Geometry block and memory options

  • geometry ... end: Outputs C1 Cartesian coordinates in Angstroms (units angstroms), disabling automatic symmetry reorientation (noautoz noautosym) when exact coordinate preservation is desired.
  • memory directive: Configurable total memory allocation across stack, heap, and global arrays.
  • User presets & preview: Syntax-highlighted live preview pane and named preset management.

Usage notes

DFT choices generate the corresponding XC keywords. Correlated methods use the spin reference in the SCF block. Enter a nonempty start filename token without whitespace.

With Job Manager installed, Submit to Cluster... appears beside Save. It saves the input file (asking for a name only when it has not been saved yet or the settings have changed since), hands it to Job Manager under the file's name, then closes the dialog. Without Job Manager the button is not shown.


4. See also


This page documents NWChem Input Generator v2026.11.14, and was last updated on 2026-11-14. See REGISTRY/plugins.json for the current version.

Clone this wiki locally