<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">hello Michal <br>
      <br>
      in the make.inc you should add the -i8 flag also to FOX_FLAGS in
      order that routines in FoX library are also compiled using long
      integers <br>
      <br>
      after editing the make.inc file  do a make clean before compiling.
        <br>
      Pietro <br>
      <br>
      On 03/08/2019 10:55 AM, Michal Krompiec wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAOWoSSNTDqb+ixQqVZqORvNpqNwo49Oi6cXKtTME4EY=fGRT_Q@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">Hello,
              <div>I'm trying to run a TDDpFT calculation on a large
                system, using HSE06 functional. Turbo_lanczos crashes
                with the following message:</div>
              <div>
                <div>     Error in routine diropn (3):</div>
                <div>     wrong record length</div>
              </div>
              <div><br>
              </div>
              <div>I found a similar (?) problem discussed previously (<a
href="https://pw-forum.pwscf.narkive.com/6QjNE4Dw/wrong-record-length"
                  moz-do-not-send="true">https://pw-forum.pwscf.narkive.com/6QjNE4Dw/wrong-record-length</a>
                ) but the solution posted there (compilation with the
                -i8 flag to prevent integer overflow) doesn't work for
                me - build fails with the following error:</div>
              <div>
                <div>fox_init_module.f90(22): error #6285: There is no
                  matching specific subroutine for this generic
                  subroutine call.   [SETUP_IO]</div>
                <div>      CALL setup_io(ERR_CODE = errcodes(1),
                  EOR_CODE = errcodes(2), EOF_CODE = errcodes(3))</div>
                <div>-----------^</div>
                <div>compilation aborted for fox_init_module.f90 (code
                  1)</div>
                <div><br>
                </div>
              </div>
              <div>I would be very grateful for any advice.</div>
              <div>Thanks,</div>
              <div>Michal Krompiec</div>
              <div>
                <p class="MsoNormal"
                  style="color:rgb(0,0,0);font-family:Tahoma;font-size:13px"><span
                    style="font-family:Helv,sans-serif;font-size:9pt"><br>
                  </span></p>
                <p class="MsoNormal"
                  style="color:rgb(0,0,0);font-family:Tahoma;font-size:13px"><span
                    style="font-family:Helv,sans-serif;font-size:9pt">Adjunct
                    Professor</span></p>
                <p class="MsoNormal"
                  style="color:rgb(0,0,0);font-family:Tahoma;font-size:13px"><span
                    style="font-size:12px;font-family:Helv,sans-serif">School
                    of Chemistry, University of Southampton</span></p>
                <p class="MsoNormal"
                  style="color:rgb(0,0,0);font-family:Tahoma;font-size:13px"><span
                    style="font-family:Helv,sans-serif;font-size:12px">Highfield,
                    Southampton SO17 1BJ, UK</span></p>
                <div
                  style="color:rgb(0,0,0);font-family:Tahoma;font-size:13px"><span
                    style="font-size:12px;font-family:Helv,sans-serif"><br>
                  </span></div>
                <p class="MsoNormal"
                  style="color:rgb(0,0,0);font-family:Tahoma;font-size:13px"><span
                    style="font-family:Helv,sans-serif;font-size:9pt">and</span></p>
                <p class="MsoNormal"
                  style="color:rgb(0,0,0);font-family:Tahoma;font-size:13px"><span
                    style="font-family:Helv,sans-serif;font-size:9pt">Head
                    of Computational Modelling | </span><span
                    style="font-family:Helv,sans-serif;font-size:9pt">Performance
                    Materials | Early Research and Business Development </span></p>
                <p class="MsoNormal"
                  style="color:rgb(0,0,0);font-family:Tahoma;font-size:13px"><span
                    style="font-family:Helv,sans-serif;font-size:9pt">Merck </span></p>
              </div>
              <div><br>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.quantum-espresso.org">users@lists.quantum-espresso.org</a>
<a class="moz-txt-link-freetext" href="https://lists.quantum-espresso.org/mailman/listinfo/users">https://lists.quantum-espresso.org/mailman/listinfo/users</a></pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>