A direct-compatible formulation of the coupled perturbed complete active space self-consistent field equations on graphical processing units.