Out of bounds array access in EPW
Posted: Mon Apr 18, 2022 11:03 pm
Hello all.
I have been working on and off with the Q-E testsuite for a few months now and was wondering if there are any plans to address the out-of-bounds array access that occurs in a few EPW tests. I don't have time or enough familiarity with the code to understand how these bugs crept in, but I was surprised to see that they were not addressed in the latest 5.4.1/Q-E 7.0 release.
Specifically, I note out-of-bounds access on ndegen_k in ephwann_shuffle as exercised by input files epw12.in and epw13.in in the epw_base test, which I believe is leading to additional out-of-bounds issues when the output is written for the same test. The incorrect array dimension seems to be arising when the previous EPW results are read in.
I also note some read access issue with epw2.in and epw3.in in the epw_mob_ibte_sym test, seemingly related to the symmetry-reduced number of k-points.
Both of these seem like they may be related to the deprecation of the kmaps keyword...
Regards,
Nik
I have been working on and off with the Q-E testsuite for a few months now and was wondering if there are any plans to address the out-of-bounds array access that occurs in a few EPW tests. I don't have time or enough familiarity with the code to understand how these bugs crept in, but I was surprised to see that they were not addressed in the latest 5.4.1/Q-E 7.0 release.
Specifically, I note out-of-bounds access on ndegen_k in ephwann_shuffle as exercised by input files epw12.in and epw13.in in the epw_base test, which I believe is leading to additional out-of-bounds issues when the output is written for the same test. The incorrect array dimension seems to be arising when the previous EPW results are read in.
I also note some read access issue with epw2.in and epw3.in in the epw_mob_ibte_sym test, seemingly related to the symmetry-reduced number of k-points.
Both of these seem like they may be related to the deprecation of the kmaps keyword...
Regards,
Nik