15. Workflow and Calculator Structure¶
A typical workflow for a morphology from molecular dynamics (see the
tutorials MAPPING and CHARGE_TRANSPORT) is
xtp_map -t topol.tpr -c conf.gro -s system.xml -f state.hdf5: map the MD configuration to molecules (segments) with the mapping filesystem.xml, which also refers to the QM geometries and the multipole/polarizable (MPS) files of each segment and state;xtp_run -e mapcheckerwrites the mapped structures as .pdb files for inspection.Other MD formats work the same way, only the input files differ. For LAMMPS, give the data file as topology and a dump file as trajectory, e.g.
xtp_map -t system.data -c traj.dump -s system.xml -f state.hdf5. The LAMMPS reader derives names that the mapping file has to use: atom types are the element (recognized from the mass) followed by the LAMMPS type number (C63,S23), and molecules are named by their composition in alphabetical order (C4H4S1for thiophene; a suffix-0,-1, … distinguishes different molecules with the same composition).xtp_map -mwrites a skeleton mapping file with these names for any input format.xtp_run -e neighborlist: pairs of neighbouring segments.xtp_run -e einternal: reads internal (gas-phase) site energies and reorganization energies (e.g.-c energies_file=system.xml) into the state file.Site energies in the environment, e.g.
xtp_parallel -e qmmmwith classical regions only, followed byxtp_run -e eanalyze.Electronic couplings:
xtp_parallel -e eqm(single-molecule DFT/GW-BSE), thenxtp_parallel -e iqm(couplings of all pairs), orxtp_parallel -e iexcitonclfor classical exciton couplings;xtp_run -e ianalyzesummarizes them.Transport:
xtp_run -e kmcmultiple(bulk mobility),kmctofandgrw(time of flight),kmclifetime(exciton diffusion), see Transport Simulations.
The xtp_parallel calculators work in three steps: -j write writes a
job file with one job per segment or pair, -j run runs the jobs (-t
jobs at the same time, each with -x OpenMP threads; several processes can
work on the same job file, each taking -q jobs at a time), and -j read
reads the results back into the state file.
- 15.1. xtp_map
- 15.2. xtp_parallel
- 15.3. xtp_run
- 15.4. xtp_tools
- 15.4.1. help
- 15.4.1.1. NAME
- 15.4.1.2. SYNOPSIS
- 15.4.1.3. DESCRIPTION
- 15.4.1.4. OPTIONS
- 15.4.1.4.1. apdft
- 15.4.1.4.2. coupling
- 15.4.1.4.3. crfit
- 15.4.1.4.4. densityanalysis
- 15.4.1.4.5. dftgwbse
- 15.4.1.4.6. diabatization
- 15.4.1.4.7. excitoncoupling
- 15.4.1.4.8. gencube
- 15.4.1.4.9. latticegen
- 15.4.1.4.10. log2mps
- 15.4.1.4.11. mol2orb
- 15.4.1.4.12. molpol
- 15.4.1.4.13. networkfit
- 15.4.1.4.14. networkgen
- 15.4.1.4.15. orb2diabat
- 15.4.1.4.16. orb2fchk
- 15.4.1.4.17. orb2mol
- 15.4.1.4.18. partialcharges
- 15.4.1.4.19. podcoupling
- 15.4.1.4.20. spectrum
- 15.4.1. help