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 
<[email protected]<mailto:[email protected]>>
 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
[email protected]<mailto:[email protected]>
https://lists.quantum-espresso.org/mailman/listinfo/wannier

_______________________________________________
Wannier mailing list
[email protected]
https://lists.quantum-espresso.org/mailman/listinfo/wannier

Reply via email to