Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VEM TDDFT optimizations fail after the first gradient #1030

Open
edoapra opened this issue Oct 17, 2024 · 1 comment
Open

VEM TDDFT optimizations fail after the first gradient #1030

edoapra opened this issue Oct 17, 2024 · 1 comment
Assignees

Comments

@edoapra
Copy link
Collaborator

edoapra commented Oct 17, 2024

Describe the bug
VEM TDDFT optimizations all fail after the first gradient https://groups.google.com/g/nwchem-forum/c/E0iK63zBbSA since hnd_coschg tries to use g_vem(3) that was destroyed in the tddft_gradient

To Reproduce
Input for reproducer

geometry
 c                     0.00000000     0.00000000     0.00000000
 h1                    0.62442915     0.62442915     0.62442915
 h1                   -0.62442915    -0.62442915     0.62442915
 h                    -0.62442915     0.62442915    -0.62442915
 h                     0.62442915    -0.62442915    -0.62442915
end

BASIS spherical
 * library 6-31G
END

dft
 xc xpbe96 cpbe96
end

cosmo
 do_cosmo_vem 1
 solvent dmso
end
driver
maxiter 20
end

tddft
 nroots 1
 algorithm 1
 notriplet
 target 1
 civecs
 grad
   root 1
 end
end
task tddft optimize

@edoapra edoapra added the bug label Oct 17, 2024
edoapra added a commit to edoapra/nwchem that referenced this issue Oct 17, 2024
edoapra added a commit to edoapra/nwchem that referenced this issue Oct 17, 2024
edoapra added a commit to edoapra/nwchem that referenced this issue Oct 18, 2024
edoapra added a commit to edoapra/nwchem that referenced this issue Nov 8, 2024
@edoapra
Copy link
Collaborator Author

edoapra commented Nov 8, 2024

The VEM method only applies to the vertical excitation and vertical emission and not to geometry optimizations.
TDDFT gradients are just computed at one point to get the excited-state density to compute the updated charges. For the emission, the optimizations need to be performed (without VEM) and then the VEM can be switched on for the geometry at the excited-state minimum on the particular state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants