<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font face="Times New Roman">In your traceback, there is:<br>
      <br>
      #1 0x1090555ec in zlatd4_
      /Users/hugstr/src/WIEN2k_17alpha_20170920_1100/SRC_lapwso/lap_bp.f:4427<br>
      <br>
      On line 4427 of SRC_lapwso/lap_bp.f in WIEN2k 17.1, there is:<br>
      <br>
      ABP(I1I)<br>
      <br>
      In the same file,<br>
      <br>
      Line 4212 has:<br>
      <br>
      COMPLEX*16   ABP( * )<br>
      <br>
      Line 4242-4243 has:<br>
      <br>
      !  ABP     (input/output) COMPLEX*16 array,<br>
      !          dimension (1:n*(n+1)/2+(n/hb+1)*hb*(hb-1)/2)<br>
      <br>
      In SRC_lapwso/hmsec.F, line 4 has:<br>
      <br>
      USE param<br>
      <br>
      Line 771 has:<br>
      <br>
      allocate (hso(num2))<br>
      <br>
      In hmsec, it looks like the zhhevx call passes hso to variable AP
      that later gets passed to ABP.<br>
      <br>
      In SRC_lapwso/modules.F:<br>
      <br>
      MODULE param<br>
      INTEGER           :: num2=     0<br>
      <br>
      Line 205 in SRC_lapwso/lapwso.F:<br>
      <br>
            num2=
      nume2*(nume2+1)/2+(nume2/hblock+1)*(hblock*(hblock-1)/2)<br>
      <br>
      I'm not completely sure, but I wonder if the error is caused
      because in PROGRAM lapwso of lapwso.F there is not a line:<br>
      <br>
      USE param<br>
    </font><br>
    <div class="moz-cite-prefix">On 9/20/2017 5:52 AM, Hugo Strand
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGYT9wwHffeTjDpyFVz-xosD3HpMO9E7r21-m16Qnhc2jvGkRQ@mail.gmail.com">
      <div dir="ltr">Adding debug symbols in lapwso with "-g -ggdb"
        gives the full backtrace showing line numbers in the source code
        where the invalid memory access occurs (lap_bp.f:4427), see
        below.
        <div><br>
        </div>
        <div>Best, Hugo</div>
        <div><br>
        </div>
        <div>
          <div><font size="1" face="monospace, monospace">[NiO] $ runsp
              -so</font></div>
          <div><font size="1" face="monospace, monospace">STOP  LAPW0
              END</font></div>
          <div><font size="1" face="monospace, monospace">Note: The
              following floating-point exceptions are signalling:
              IEEE_UNDERFLOW_FLAG</font></div>
          <div><font size="1" face="monospace, monospace">STOP  LAPW1
              END</font></div>
          <div><font size="1" face="monospace, monospace">Note: The
              following floating-point exceptions are signalling:
              IEEE_UNDERFLOW_FLAG</font></div>
          <div><font size="1" face="monospace, monospace">STOP  LAPW1
              END</font></div>
          <div><font size="1" face="monospace, monospace">ASAN:DEADLYSIGNAL</font></div>
          <div><font size="1" face="monospace, monospace">=================================================================</font></div>
          <div><font size="1" face="monospace, monospace">==50875==ERROR:
              AddressSanitizer: SEGV on unknown address 0x00088d7a3c70
              (pc 0x7fffaca48086 bp 0x7fff56c4fff0 sp 0x7fff56c4fff0 T0)</font></div>
          <div><font size="1" face="monospace, monospace">    #0
              0x7fffaca48085 in APL_stbmvUTN_AVX
(/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib+0xa5085)</font></div>
          <div><font size="1" face="monospace, monospace">    #1
              0x1090555ec in zlatd4_
              /Users/hugstr/src/WIEN2k_17alpha_20170920_1100/SRC_lapwso/lap_bp.f:4427</font></div>
          <div><font size="1" face="monospace, monospace">    #2
              0x109051ece in zhhtr4_
              /Users/hugstr/src/WIEN2k_17alpha_20170920_1100/SRC_lapwso/lap_bp.f:3933</font></div>
          <div><font size="1" face="monospace, monospace">    #3
              0x10905133f in zhhtrd_
              /Users/hugstr/src/WIEN2k_17alpha_20170920_1100/SRC_lapwso/lap_bp.f:4164</font></div>
          <div><font size="1" face="monospace, monospace">    #4
              0x109068425 in zhhevx_
              /Users/hugstr/src/WIEN2k_17alpha_20170920_1100/SRC_lapwso/lap_bp.f:3244</font></div>
          <div><font size="1" face="monospace, monospace">    #5
              0x1090032c6 in hmsec_
              /Users/hugstr/src/WIEN2k_17alpha_20170920_1100/SRC_lapwso/hmsec.F:790</font></div>
          <div><font size="1" face="monospace, monospace">    #6
              0x10902750b in MAIN__
              /Users/hugstr/src/WIEN2k_17alpha_20170920_1100/SRC_lapwso/lapwso.F:592</font></div>
          <div><font size="1" face="monospace, monospace">    #7
              0x109027b74 in main
              /Users/hugstr/src/WIEN2k_17alpha_20170920_1100/SRC_lapwso/lapwso.F:2</font></div>
          <div><font size="1" face="monospace, monospace">    #8
              0x7fffc511b234 in start
              (/usr/lib/system/libdyld.dylib+0x5234)</font></div>
          <div><font size="1" face="monospace, monospace">    #9 0x1
               (<unknown module>)</font></div>
          <div><font size="1" face="monospace, monospace"><br>
            </font></div>
          <div><font size="1" face="monospace, monospace">AddressSanitizer
              can not provide additional info.</font></div>
          <div><font size="1" face="monospace, monospace">SUMMARY:
              AddressSanitizer: SEGV
(/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib+0xa5085)
              in APL_stbmvUTN_AVX</font></div>
          <div><font size="1" face="monospace, monospace">==50875==ABORTING</font></div>
          <div><font size="1" face="monospace, monospace"><br>
            </font></div>
          <div><font size="1" face="monospace, monospace">Program
              received signal SIGABRT: Process abort signal.</font></div>
          <div><font size="1" face="monospace, monospace"><br>
            </font></div>
          <div><font size="1" face="monospace, monospace">Backtrace for
              this error:</font></div>
          <div><font size="1" face="monospace, monospace">#0
               0x1092a8e26</font></div>
          <div><font size="1" face="monospace, monospace">#1
               0x1092a85ec</font></div>
          <div><font size="1" face="monospace, monospace">#2
               0x7fffc532ab39</font></div>
          <div><font size="1" face="monospace, monospace"><br>
            </font></div>
          <div><font size="1" face="monospace, monospace">>   stop
              error</font></div>
        </div>
      </div>
    </blockquote>
  </body>
</html>