<div dir="ltr"><div>Dear pw_forum members,<br><br></div>I found sementation fault error during calculation of function exx_stress of QE ver 5.1. ZnO system was under calculation and the error does not occur with Si system. I tried to find the origin of segmentation error and found that rhoc(nls(ig)) in the following line of function exx_stress is the origin. The other variables like fac_tens, fac_stress, delta, fac do not show the segmentation error. <br><br clear="all"><div><div> DO ig = 1, ngm<br> vc(:,:) = vc(:,:) + rhoc(nls(ig))*CONJG(rhoc(nls(ig))) * &<br> (fac_tens(:,:,ig)*fac_stress(ig)/2.d0 - delta(:,:)*fac(ig))<br> ENDDO<br><br></div><div>Since the stress is not required in my work, I tried to coment out the above lines and then works go well. Anyway, I just report the bug in rhoc array in exx_stress. <br></div><div><br>The followings are of input file for the calculation.<br><br>-- &control<br> calculation = 'relax'<br> tstress=.true.,<br> pseudo_dir='/home/p012lhs/src/pwscf/pseudo',<br> outdir='./'<br> tprnfor=.TRUE.,<br> nstep =300,<br> verbosity = 'high',<br> disk_io='low'<br> /<br> &system<br> ibrav=4, celldm(1)=6.12781734 ,<br> celldm(3)= 1.601998,<br> nat=4, ntyp=2,<br> ecutwfc = 30,<br> ecutrho = 240.,<br> nbnd = 40,<br> degauss = 0.0003,<br> occupations='smearing',<br> nspin=1,<br> input_dft=HSE,<br> exx_fraction=0.10,<br> nqx1 = 1, nqx2 = 1, nqx3 = 1,<br> /<br> &electrons<br> conv_thr=1.D+2,<br> mixing_beta=0.1,<br> diagonalization = 'david',<br> /<br> &IONS<br> trust_radius_max=0.2,<br> trust_radius_ini=0.2,<br> /<br> &CELL<br> cell_dynamics='damp-w' ,<br> wmass= 0.0005,<br> cell_factor=2.0,<br> /<br>ATOMIC_SPECIES<br> Zn 65.38 zn_pbe_v1.uspp.F.UPF<br> O 15.999 O.pbe-rrkjus.UPF<br>ATOMIC_POSITIONS {angstrom}<br>Zn 0.00000 1.87217 0.00000<br>Zn 1.62135 0.93609 2.59740<br> O 0.00000 1.87217 1.94805<br> O 1.62135 0.93609 4.54545<br>K_POINTS {automatic}<br>2 2 2 0 0 0<br><br></div><div>Sincerely,<br></div><div>Hosik<br></div><div><br><div dir="ltr">===================================<br>Dr. Hosik Lee<br><span>School of Mechanical and Neclear Engineering</span><br>Ulsan National Institute of Sci. & Tech. (UNIST)<br>Unist-gil 100 Eonyang-eup , Ulsan<br>689-798 South Korea<br>contact: <a href="mailto:hosiklee@gmail.com" target="_blank">hosiklee@gmail.com</a><br>====================================</div>
</div></div></div>