[QE-developers] Segmentation fault in wann2kcw

Jacob Williams jacob.z.williams at duke.edu
Wed Nov 23 15:20:48 CET 2022


Dear all,

I’ve run into a problem with segfaults in the part of KCW::wann2kcw that writes the rotated wavefunction for molecules in a supercell. The problem seems to occur when the cell size is big enough.

Here I ran water with 4 occupied and 3 empty bands (disentangled from 14 nscf bands), in PBE with optimized norm-conserving Vanderbilt pseudopotentials (sr correction). The ecutwfc = 100 Ry, and unit cell size is 15 angstroms (ibrav = 1).

Any help in understanding the origin of this segfault would be appreciated! Thank you in advance.

Here is the stack trace (Intel compiler and MKL, MPI but no OpenMP, Linux machine):

forrtl: severe (174): SIGSEGV, segmentation fault occurred

Image              PC                Routine            Line        Source

kcw.x              0000000000F5FE9A  Unknown               Unknown  Unknown

libpthread-2.28.s  00007FCEC88E0730  Unknown               Unknown  Unknown

kcw.x              00000000009E46CD  mp_wave_mp_mergew         102  mp_wave.f90

kcw.x              00000000008F4B96  io_base_mp_write_         176  io_base.f90

kcw.x              00000000004329CB  io_kcw_mp_write_m         517  kcw_io_new.f90

kcw.x              00000000004072D0  wann2kcw_                  30  wann2kcw.f90

kcw.x              000000000040721B  MAIN__                     49  kcw.f90

kcw.x              0000000000407162  Unknown               Unknown  Unknown

libc-2.28.so       00007FCEC85AD09B  __libc_start_main     Unknown  Unknown

kcw.x              000000000040706A  Unknown               Unknown  Unknown


Sincerely yours,

Jacob Williams
Ph.D. candidate, Yang group
Duke University Department of Chemistry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/developers/attachments/20221123/285d371d/attachment.html>


More information about the developers mailing list