mxl-driver-psi4-rttddft
Installation
SKILL.md
Psi4 RT-TDDFT driver (rttddft)
Confirm prerequisites
- Ensure
psi4is installed and importable in the driver environment. - Provide an XYZ geometry file whose second line specifies charge and multiplicity (e.g.,
0 1).
Configure socket mode
- Run:
mxl_driver --model rttddft --address <host> --port <port> --param "molecule_xyz=../tddft_benchmark/hcn.xyz, functional=b3lyp, basis=cc-pvdz, dt_rttddft_au=0.04, dft_grid_name=SG1, electron_propagation=pc, threshold_pc=1e-6, memory=16GB, num_threads=16" --verbose
Configure embedded mode
- Instantiate:
Molecule(driver="rttddft", driver_kwargs={...})
Notes
- Keep
dt_rttddft_ausmall enough for stable electronic propagation; the driver can sub-step under a larger EM time step. - On HPC, match
num_threadsto--cpus-per-task(single driver) or setnum_threads=1when launching many drivers in the same SLURM job. - Use
checkpoint=trueandrestart=truefor long jobs or unstable HPC environments. - Read full parameter docs in
docs/source/drivers/rttddft.rst.