<div dir="ltr"><div dir="ltr">On Fri, Mar 8, 2019 at 3:49 PM Michal Krompiec <<a href="mailto:michal.krompiec@gmail.com">michal.krompiec@gmail.com</a>> wrote:</div><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Attempting to use an MPI routine before initializing MPI<br><div><div>*** error in Message Passing (mp) module ***</div><div>*** error code: 8000</div></div><div><br></div><div>What could be the cause?</div></div></div></div></div></blockquote><div><br></div><div>hard to say. May I suggest that you promote to double precision only a few relevant variables instead of all integer variables? these are: unf_recl, recl in Modules/io_files,f90, subroutine diropn; and the various "nword*" variables. First of all, print unf_recl and recl in diropn just before the error message, in order to locate exactly where the problem arises<br></div><div><br></div><div>Paolo<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div>Thanks,</div><div>Michal</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 8 Mar 2019 at 10:14, Pietro Davide Delugas <<a href="mailto:pdelugas@sissa.it" target="_blank">pdelugas@sissa.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<div class="gmail-m_8112850987407245543gmail-m_9070104435944307473moz-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">
<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" target="_blank">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="gmail-m_8112850987407245543gmail-m_9070104435944307473mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
users mailing list
<a class="gmail-m_8112850987407245543gmail-m_9070104435944307473moz-txt-link-abbreviated" href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a>
<a class="gmail-m_8112850987407245543gmail-m_9070104435944307473moz-txt-link-freetext" href="https://lists.quantum-espresso.org/mailman/listinfo/users" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></pre>
</blockquote>
<p><br>
</p>
</div>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>Phone +39-0432-558216, fax +39-0432-558222<br><br></div></div></div></div></div></div>