Hello again,
I have spent some time this week to investigate this issue. First, I have determined that the SmithNormalForm
issue is due to not specifying the FFT grid of the primitive cell via ELPH_POT_FFT_MESH. This is not stated clearly on the wiki and it's obviously a problem. Therefore, I have created a patch for the current electron-phonon code that can automatically determine the FFT grid of the primitive cell inside VASP. You can still supply it via ELPH_POT_FFT_MESH, but now the error message no longer shows up when running ELPH_POT_GENERATE=True.
Next, I have included useful information in the standard output and the OUTCAR when running with ELPH_POT_GENERATE=True. This includes the primitive FFT mesh and the primitive lattice vectors. The latter can be supplied via ELPH_POT_LATTICE, but are otherwise taken from the primitive cell that is found by VASP.
Furthermore, the primitive cell is now written to a new primitive POSCAR file, but the exact naming is not yet decided. Documentation on the wiki will follow as soon as this feature is available.
While digging through the code, I have encountered a related bug that is currently causing some calculations to fail, which you can read about here at the top of the list.
Finally, all of this will be available in the next patch release of VASP (coming very very soon).
Now, to your most recent issue, I will relay the information about phelel to the developer, but please keep in mind that we do not maintain the phelel package.
The bug message regarding wap.F that you encountered could, however, be happening on our side. Therefore, could I ask you once again to provide the input and output files so that I may reproduce the issue on my side?
Thank you for your patience. I hope that we can quickly implement all these fixes so that you can enjoy the new electron-phonon code more smoothly.
Kind regards