getwfq_filepath ignored by optdriver=7 in Abinit and other issue with eph_task = -2
Posted: Sun Mar 21, 2021 6:57 pm
Hello Abifriends,
I asked a stupid question a few days ago that, after some thinking, I deleted. Sorry about that. Now I have what is a different but maybe still stupid question. Also, I have a report on what is probably a bug. I am using v9.4.0
The bug: If I want to read a WFQ file with optdriver=7 and eph_task=2 or eph_task=-2, Abinit ignores the variable getwfq_filepath. Even with it set in the input file, Abinit complains that getwfq and irdwfq are 0. I can set getwfq and it will read the WFQ file, but getwfq_filepath has no affect.
The other issue:
I am trying to get the gkq electron-phonon matrix elements on the 'arbitrarily dense' grid. We need the k and k+q wave functions. According to section 2 in the respfn help file (https://docs.abinit.org/guide/respfn/), q-points that are the difference between points on the k-grid are already contained in the WFK file. This makes sense. So I pick any k-point in the WFK file as my q-point, which should be a since the file contains Gamma a q=k-gamma=k. I set qpt=... in the input file. Abinit crashes complaining that some k+q point is not contained in the file:
--- !ERROR
src_file: m_bz_mesh.F90
src_line: 2352
mpi_rank: 5
message: |
q = k-kp+G0 not found. kmkp = -0.33333 0.20833 0.12500
...
I think Abinit is adding the q-point to only the irreducible part of k-point grid. I tried calculating the WFK file with kptopt=3 to include all points, but that also didn't work. I can do an nscf calculation with qpt set in the nscf part and use that WFQ file and everything works okay, but having to do ~10000 nscf calculations on a dense k-grid will be impossible. If I am doing something stupid, please berate me. Otherwise, can you please let me know how to fix my issue? I want the gkq elements in the full BZ, which Abinit apparently all ready uses to calculate phonon linewidths on an arbitrary q-path. I just don't seem to be able to access the gkq elements.
Thanks in advance!
Ty
I asked a stupid question a few days ago that, after some thinking, I deleted. Sorry about that. Now I have what is a different but maybe still stupid question. Also, I have a report on what is probably a bug. I am using v9.4.0
The bug: If I want to read a WFQ file with optdriver=7 and eph_task=2 or eph_task=-2, Abinit ignores the variable getwfq_filepath. Even with it set in the input file, Abinit complains that getwfq and irdwfq are 0. I can set getwfq and it will read the WFQ file, but getwfq_filepath has no affect.
The other issue:
I am trying to get the gkq electron-phonon matrix elements on the 'arbitrarily dense' grid. We need the k and k+q wave functions. According to section 2 in the respfn help file (https://docs.abinit.org/guide/respfn/), q-points that are the difference between points on the k-grid are already contained in the WFK file. This makes sense. So I pick any k-point in the WFK file as my q-point, which should be a since the file contains Gamma a q=k-gamma=k. I set qpt=... in the input file. Abinit crashes complaining that some k+q point is not contained in the file:
--- !ERROR
src_file: m_bz_mesh.F90
src_line: 2352
mpi_rank: 5
message: |
q = k-kp+G0 not found. kmkp = -0.33333 0.20833 0.12500
...
I think Abinit is adding the q-point to only the irreducible part of k-point grid. I tried calculating the WFK file with kptopt=3 to include all points, but that also didn't work. I can do an nscf calculation with qpt set in the nscf part and use that WFQ file and everything works okay, but having to do ~10000 nscf calculations on a dense k-grid will be impossible. If I am doing something stupid, please berate me. Otherwise, can you please let me know how to fix my issue? I want the gkq elements in the full BZ, which Abinit apparently all ready uses to calculate phonon linewidths on an arbitrary q-path. I just don't seem to be able to access the gkq elements.
Thanks in advance!

Ty