Advanced settings¶
The Advanced dialog in the Method section exposes optional PQ keywords
that apply to the selected calculator or force field. Every value is written
verbatim as keyword = value;; leaving a field blank keeps PQ’s default and
writes nothing. The keywords in force are echoed next to the button so the
Method section reads like the input file.
ASE · xTB’s electronic model is a primary Method control. Other advanced
settings in the dialog offer PQ v1.1.0 input keywords
(src/input/inputFileParser/*.cpp and inputValidation.cpp at the
targeted release). The same table lives in pqsetup/keywords.py and drives
validation: values PQ would refuse are reported as errors before anything is
written, with the same wording PQ’s parser uses for its option lists.
PQSetup requires output_freq >= 1 because it packages output and restart
files for the selected run sequence. PQ itself also accepts 0 for a dry
run that writes no output files.
QM calculators¶
Program |
Keywords |
Notes |
|---|---|---|
ASE · xTB |
|
GFN2-xTB (default), GFN1-xTB, IPEA1-xTB; selected in Method |
ASE · DFTB+ |
|
|
MACE-MP, MACE-OFF |
|
MACE-OFF ships only small/medium/large; |
DFTB+, PySCF, Turbomole |
|
Runs your own script instead of the bundled |
all |
|
Net-force removal after each call; wall-time cap per QM call in seconds (≤ 0 = unlimited) |
all (Constraints) |
|
SHAKE/RATTLE and distance constraints run in every PQ MD job. In a QM run they freeze bonds (typically X–H) so the timestep can move past 0.5 fs. The bonds come from a topology file, so switching them on adds a required Topology slot to the Files row below. M-SHAKE is not offered for QM: its reference geometries refer to molecule types. |
Molecular mechanics¶
Group |
Keywords |
Notes |
|---|---|---|
Potentials |
|
|
Water models |
|
SPC, SPC/E, SPC/Fw, qSPC/Fw, SPC/DC, H2O-DC, TIP3P, OPC3, SPC-mTR,
TIP3P-mTR for the water molecule type. The molecule descriptor needs a
|
Neighbour search |
|
Cell list replaces the brute-force pair loop; needs |
Constraints (all modes) |
|
Same as for QM, plus M-SHAKE. |
Run › Steps › Resets¶
These keywords are not calculator settings: PQ applies them in its MD engine
(MDEngine::takeStepAfterForces) for every MD run, QM or MM, whatever the
runner. They therefore live under Run › Steps behind the Resets button,
next to the step count they refer to, and are echoed there.
- Temperature rescaling
nscaleapplies hard velocity scaling for the first n steps;fscalerepeats it every n steps. These controls are available for NVT and NPT. PQ would scale an NVE run to 0 K, so the keys are refused there.- Drift removal
nreset/fresetremove total momentum,nreset_angular/freset_angularremove angular momentum, andfreset_forcesremoves net force. Each value is a number of initial steps or an interval.
Blank means never. Optimisations ignore all of them.
Pressure coupling and output¶
fixed_axisFixed axes under the NPT pressure coupling keeps cell axes unscaled:
x,y,z,xy,xzoryz. Semi-isotropic coupling (isotropy = xy,xz,yz) only allows the out-of-plane axis. Fixing all axes is refused by PQ while a manostat runs, so it is not offered.async_outputFile writing in Output. PQ writes the MD trajectory and restart files on a separate thread by default; Before the next step writes
async_output = falseso a crash cannot lose the last frames.
What validation checks¶
Option lists (
xtb_method,slakos,mace_model,mace_mode,noncoulomb,long_range,virial,shake,water_intra,water_inter,fixed_axis) and boolean tokens (on/off,true/false,yes/no).Ranges: tolerances > 0, iteration counts ≥ 1,
cell-number ≥ 1,wolf_param ≥ 0,rf_epsilon ≥ 1,rnoncoulomb > 0,rpmd_n_replica ≥ 2, reset counters ≥ 0.Combinations PQ’s
inputValidation.cpprejects: custom Slater–Koster set without a path, Hubbard derivatives without third order, third order with matsci or custom parameters but no Hubbard derivatives, custom MACE model without a path (and a path withoutcustom), MACE-OFF with a MACE-MP-only model, reaction field withoutrf_epsilon, constraints without a topology file, M-SHAKE without its file (or in a QM run), a cell list without a Coulomb cutoff or in a QM run, water models in a QM run or withoutwater_typein the molecule descriptor, a fixed axis that semi-isotropic coupling does not allow, temperature rescaling without a target temperature.Spelling:
cell-listandcell_listare the same keyword to PQ, so setting both is refused; a keyword PQSetup writes itself is refused too.
Keywords that do not apply to the current job (MM keywords in a QM run, a calculator-specific keyword for another calculator) raise a warning; the page strips them from the input regardless. Keywords PQSetup does not know pass through with a warning; PQ has the final say.
Keywords PQSetup manages itself¶
jobtype, nstep, timestep, start_file, restart_file,
file_prefix, output_freq, overwrite_output, random_seed,
init_velocities, temp, start_temp, temp_ramp_steps,
thermostat and its parameters, manostat, pressure and its
parameters, isotropy, qm_prog, qm_script, dftb_file,
moldescriptor_file, guff_file, topology_file, parameter_file,
intra-nonbonded_file, mshake_file, force-field, rcoulomb,
density. These come from the visible controls (output_freq from
Write every in Output, file names from the Files row) and cannot be
overridden from the dialog.
Not exposed¶
PQ also accepts, and PQSetup does not present: FeNNol as a calculator
(fennol_model_path, gpu_preprocessing), ORCA as a calculator
(orca_file), turbomole_file (PQSetup packs tm_define.template
under its default name), the integrator choice (PQ has only velocity
Verlet), per-file output names (including hybrid_center_file), dim
and floating_point_type, ring-polymer MD (rpmd_n_replica), the
mm-opt optimizer and mm-hessian controls, and the hybrid QM/MM
keywords (inner_region_center, forced_core_list,
forced_layer_list, forced_outer_list, smoothing_method,
smoothing_region_thickness, point_charge_thickness,
qm_force_distribution).