[Wannier] Segmentation fault in postw90.x

Giovanni Pizzi giovanni.pizzi at epfl.ch
Thu Sep 12 11:50:54 CEST 2019


Thanks for the report!
I just created a PR to fix this: https://github.com/wannier-developers/wannier90/pull/290

If all tests pass (as they should) this will get merged and be available in the next minor release of W90.

Thanks,
Giovanni

--
Giovanni Pizzi
Theory and Simulation of Materials and MARVEL, EPFL
http://people.epfl.ch/giovanni.pizzi
http://nccr-marvel.ch/en/people/profile/giovanni-pizzi

On 12 Sep 2019, at 11:38, Nicolas Tancogne-Dejean <nicolas.tancogne-dejean at mpsd.mpg.de<mailto:nicolas.tancogne-dejean at mpsd.mpg.de>> wrote:

Dear developers,

I am starting to use Wannier90 and ran into a segmentation fault problem.
After looking at the code, it is clear what is happening.

In kslice.F90, the code tries to use an array before it gets allocated.

The faulty line  is

bnddataunit(n) = io_file_unit()

It is interesting to note that bnddataunit seems to not be used in the code.

Best regards,
Nicolas
_______________________________________________
Wannier mailing list
Wannier at lists.quantum-espresso.org<mailto:Wannier at lists.quantum-espresso.org>
https://lists.quantum-espresso.org/mailman/listinfo/wannier

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/wannier/attachments/20190912/d83c5981/attachment.html>


More information about the Wannier mailing list