Parametrizer Commandline Usage

Command line execution

The parametrizer is executed by invoking QPParametrizer, as described below, in a directory containing a settings file named parametrizer_settings.yml. You can invoke QPParametrizer once to generate a sample settings file and adapt it according to your needs before restarting, or use a settings file generated by a WaNo run . Most importantly set a DFT engine and choose whether geometrical optimization should be run. Some settings details are provided below, a description of all options that are transferrable to the settings file format are provided in the WaNo documentation .

In general the parametrizer module is executed by first activating the nmsci environment and invoking QPParametrizer, e.g.:

micromamba activate nmsci-2024.1
QPParametrizer

Adapt the version of the nmsci environment to your needs.

Adding dihedral angles

After the execution of the parametrizer module, you can add dihedral angle definitions to the resulting molecule.spf file. These definitions are required in case you also want to parametrize the dihedral forcefield. In the activated nmsci environment, execute:

$DEPTOOLS/add_dihedral_angles.sh output_molecule.mol2 molecule.spf

Output files

Outputs of Parametrizer are documented in the WaNo documentation .

Optional settings for advanced calculations

Using a COSMO implicit solvent shell

These simulations require Turbomole as DFT Engine. The dielectric continuum of permittivity, epsilon, can be manually set to map the solvent. All other values will be set to the default values used by COSMO, as described in the Turbomole manual. The parametrizer_settings.yml file needs the following entries:

  DFT Engine:
    Engine: Turbomole
    ...
    Turbomole Settings:
      cosmo: < Epsilon > 
  

Calculating an UV/VIS spectra using the first five excited states

The Turbomole DFT Engine is required to calculate excitation energies and their corresponding oscillator strengths. The parametrizer_settings.yml file needs the following entries:

  Turbomole Settings:
    Calculate UV/VIS spectrum: true 
  

Tuning range-separated functionals

This allows to predict properties with a higher accuracy, e.g. the excitation energies. The following RS-functionals are supported: wPBE_own, CAM-B3LYP_own, wPBEH_own The parametrizer_settings.yml file needs the following entries:

  DFT Engine:
    Engine: Turbomole
    ...
    w_fit:
      do_w_fit: true
      fit_to: IP
      guess_w: full 
    ...
  

When enabled, the functional's parameters will be fit to align the HOMO to the ionization potential, which are equivalent according to Koopman's theorem[Reference]. Besides fitting HOMO to IP, a different alignment can be chosen with the option fit_to: IP, EA or T1.
Combining tuning range-separated functionals and cosmo
The w-tuning can also be performed using an implicit solvent model, when it is defined in the Turbomole Settings, as described above. If you want to tune the functional without the solvent model, but use the solvent model in the final single point calculation, the following setting is required:

  DFT Engine:
    Engine: Turbomole
    ...
    w_fit:
      do_w_fit: true
      fit_to: IP
      no_cosmo: true 
      guess_w: full 
    Turbomole Settings:
      cosmo: < Epsilon > 
    ...
  

After a successful calculation, the molecule.spf contains the adjusted w value, as displayed below:
Example for tuned anthracene using wPBE_own, fit_to: EA, def2-SVP:

  molecule_metadata:
  1b74170c0fb65f5f84ede83dcea7a918: (hash of the molecule)
    rangesep:
      alpha: 0.0  
      beta: 1.0
      w: 0.2347366453164782 (result of the fit) 
  

To apply the fit value in further calculations, the following key needs to be included in parametrizer_settings.yml :

    Turbomole Settings:
      rangesep: {alpha: 0.0, beta: 1.0, w: 0.5} 
      ...
  

The option: rangesep: {alpha: 0.0, beta: 1.0, w: 0.5} can also be tuned for the following two functionals: wPBEH_own and CAM-B3LYP_own.

Troubleshooting excited state partial charges and geometry optimizations

Some Turbomole functionals do not support excited state calculations for specific functionals, such as M06-2X, when using egrad. To disable calculation of partial charges, include partial_charges: false in the Turbomole Settings:

  Turbomole Settings:
    partial_charges: false 
    ...
  

 

 

The results of the search are