<div dir="ltr"><div dir="ltr">On Tue, Jul 20, 2021 at 11:13 PM Hong Tang <<a href="mailto:tanghong992@gmail.com">tanghong992@gmail.com</a>> wrote:<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"><br><div>1. Installed qe6.2 + <span id="gmail-m_-5869168593104633257:zk.2" role="menuitem" aria-haspopup="true">libxc</span>.5.1.5 successfully,  <br></div></div></blockquote><div><br></div><div>why are you doing that? qe6.2 is three years old<br></div><br><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>However, when I use this version,  pw.x for "scf" runs correctly (with the mTASK functional), but failed for "nscf", errors are: </div></div></blockquote><div><br></div><div>provide the input data needed to reproduce the error (if it is reproducible)<br></div><div dir="ltr"><div> </div><div>   </div><div><br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 19, 2021 at 2:21 PM <a href="mailto:tanghong992@outlook.com" target="_blank">tanghong992@outlook.com</a> <<a href="mailto:tanghong992@gmail.com" target="_blank">tanghong992@gmail.com</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 lang="EN-US"><div><pre style="background:white none repeat scroll 0% 0%"><span style="color:black">Dear </span><span style="font-size:10.5pt;font-family:Courier;color:black">Fabrizio,</span><u></u><u></u></pre><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thank you very much, I will try and let you know.</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Best,</p><p class="MsoNormal">Hong</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986" target="_blank">Mail</a> for Windows 10</p><p class="MsoNormal"><u></u> <u></u></p><div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in"><p class="MsoNormal" style="border:medium none;padding:0in"><b>From: </b><a href="mailto:ferrariruffino.fz@gmail.com" target="_blank">Fabrizio Ferrari</a><br><b>Sent: </b>Monday, July 19, 2021 2:18 PM<br><b>To: </b><a href="mailto:tanghong992@gmail.com" target="_blank">tanghong992@outlook.com</a><br><b>Cc: </b><a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br><b>Subject: </b>Re: [QE-users] Install QE 6.4.1 or QE 6.6 with Libxc.5.1.5 errors</p></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">I am pretty sure it is a problem of mismatch between QE and Libxc compilers, but I should know the compilation details of Libxc. If you want to recompile Libxc you should follow the instructions here:</p></div><div><p class="MsoNormal"><a href="https://www.tddft.org/programs/libxc/installation/" target="_blank">https://www.tddft.org/programs/libxc/installation/</a></p></div><div><p class="MsoNormal">after loading the same compilers you have chosen for QE. Then recompile QE.</p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Mon, Jul 19, 2021 at 8:13 PM <a href="mailto:tanghong992@outlook.com" target="_blank">tanghong992@outlook.com</a> <<a href="mailto:tanghong992@gmail.com" target="_blank">tanghong992@gmail.com</a>> wrote:<u></u><u></u></p></div><blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><div><div><pre style="background:white none repeat scroll 0% 0%"><span style="color:black">Dear </span><span style="font-size:10.5pt;font-family:Courier;color:black">Fabrizio,</span></pre><p class="MsoNormal"> </p><p class="MsoNormal">Do you think this is because libxc.5.1.5 was not compiled with intel compiler? I can check with our HPC team. </p><p class="MsoNormal">Please give me the advice how I should compile libxc.5.1.5? </p><p class="MsoNormal"> </p><p class="MsoNormal">Best,</p><p class="MsoNormal">Hong</p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986" target="_blank">Mail</a> for Windows 10</p><p class="MsoNormal"> </p><div style="border-color:currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in"><p class="MsoNormal"><b>From: </b><a href="mailto:tanghong992@gmail.com" target="_blank">tanghong992@outlook.com</a><br><b>Sent: </b>Monday, July 19, 2021 2:04 PM<br><b>To: </b><a href="mailto:ferrariruffino.fz@gmail.com" target="_blank">Fabrizio Ferrari</a><br><b>Subject: </b>RE: [QE-users] Install QE 6.4.1 or QE 6.6 with Libxc.5.1.5 errors</p></div><p class="MsoNormal"> </p><p class="MsoNormal">I don know how libxc.5.1.5 was compiled. It was done by our Temple HPC team. But I saw is was libxc/5.1.5-intel. It should be compiled with intel compiler.</p><p class="MsoNormal"> </p><p class="MsoNormal">Best,</p><p class="MsoNormal">Hong</p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986" target="_blank">Mail</a> for Windows 10</p><p class="MsoNormal"> </p><div style="border-color:currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in"><p class="MsoNormal"><b>From: </b><a href="mailto:ferrariruffino.fz@gmail.com" target="_blank">Fabrizio Ferrari</a><br><b>Sent: </b>Monday, July 19, 2021 2:01 PM<br><b>To: </b><a href="mailto:tanghong992@gmail.com" target="_blank">tanghong992@gmail.com</a><br><b>Subject: </b>Re: [QE-users] Install QE 6.4.1 or QE 6.6 with Libxc.5.1.5 errors</p></div><p class="MsoNormal"> </p><div><p class="MsoNormal">Sorry, I see now from make.inc that you used ifort+icc. Did you compile libxc the same way?</p></div><p class="MsoNormal"> </p><div><div><p class="MsoNormal">On Mon, Jul 19, 2021 at 7:59 PM Fabrizio Ferrari <<a href="mailto:ferrariruffino.fz@gmail.com" target="_blank">ferrariruffino.fz@gmail.com</a>> wrote:<u></u><u></u></p></div><blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt"><div><div><p class="MsoNormal" style="margin-left:0.2in">Dear Hong,</p></div><div><p class="MsoNormal" style="margin-left:0.2in">which compiler did you use to compile QE6.7? And which one for Libxc?</p></div></div><p class="MsoNormal" style="margin-left:0.2in"> </p><div><div><p class="MsoNormal" style="margin-left:0.2in">On Mon, Jul 19, 2021 at 7:53 PM <a href="mailto:tanghong992@outlook.com" target="_blank">tanghong992@outlook.com</a> <<a href="mailto:tanghong992@gmail.com" target="_blank">tanghong992@gmail.com</a>> wrote:<u></u><u></u></p></div><blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt"><div><div><div><pre style="background:white none repeat scroll 0% 0%"><span style="color:black">Dear </span><span style="font-size:10.5pt;font-family:Courier;color:black">Fabrizio,</span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black"> </span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">Thank you so much for helping me. </span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">Actually, before your this email, I tried to do qe.6.7.+libxc.5.1.5. I think I did what you said. I still got errors.  My doing is:</span></pre><div><p class="MsoNormal" style="margin-left:0.4in">1<span style="color:black">.    I followed your advices for other people in the email lists</span></p><p class="MsoNormal" style="margin-left:0.4in"><span style="font-size:10.5pt;font-family:Courier;color:black">  </span><span style="color:black">1-configure without any libxc flag;</span></p><p class="MsoNormal" style="margin-left:0.4in"><span style="color:black">       2-go to the make.inc file in the main folder and add the various flags to </span></p><p class="MsoNormal" style="margin-left:0.4in"><span style="color:black">             DFLAGS, IFLAGS and LD_LIBS by following the comments inside; </span></p><p class="MsoNormal" style="margin-left:0.4in"><span style="color:black">        3-compile as usual.</span></p><p class="MsoNormal" style="margin-left:0.4in"><span style="color:black">   I found there is “LIBXC_LIBS” in the make.inc file. I also tried to add libxc lib to this one, instead of “LD_LIBS”, however, they all gave the same errors. </span></p><p class="MsoNormal" style="margin-left:0.4in"><span style="color:black">   Please see the attached “make.inc” file. </span></p><p class="MsoNormal" style="margin-left:0.4in"><span style="color:black"> </span><u></u><u></u></p></div><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">2. after “make all”, I go the following errores:</span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">   pwscf.o  libpw.a ../../Modules/libqemod.a .././KS_Solvers/libks_solvers.a ../../upflib/libupf.a ../../FFTXlib/libqefft.a ../../LAXlib/libqela.a ../../UtilXlib/libutil.a ../../dft-d3/libdftd3qe.a /home/hongtang/QE67_libxc/qe-6.7//clib/clib.a /home/hongtang/QE67_libxc/qe-6.7//LIBBEEF/libbeef.a -L/gpfs/opt/libs/libxc-5.1.5-intel/lib -lxcf03 -lxc   -lscalapack  -L/home/hongtang/QE67_libxc/qe-6.7//FoX/lib  -lFoX_dom -lFoX_sax -lFoX_wxml -lFoX_common -lFoX_utils -lFoX_fsys   -lmkl_intel_lp64  -lmkl_intel_thread -lmkl_core    </span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">/gpfs/opt/libs/libxc-5.1.5-intel/lib/libxcf03.a(libxcf03.o): In function `xc_f03_lib_m_mp_xc_f03_functional_get_name_':</span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">libxcf03.f90:(.text+0xd3b): undefined reference to `libxc_free'</span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">/gpfs/opt/libs/libxc-5.1.5-intel/lib/libxc.a(func_info.o):(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'</span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">/gpfs/opt/libs/libxc-5.1.5-intel/lib/libxc.a(functionals.o):(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'</span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">/gpfs/opt/libs/libxc-5.1.5-intel/lib/libxc.a(hybrids.o):(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'</span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">/gpfs/opt/libs/libxc-5.1.5-intel/lib/libxc.a(version.o):(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'</span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">/gpfs/opt/libs/libxc-5.1.5-intel/lib/libxc.a(func_reference.o):(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'</span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">/gpfs/opt/libs/libxc-5.1.5-intel/lib/libxc.a(lda.o):(.eh_frame+0x11): more undefined references to `__gxx_personality_v0' follow</span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">make[2]: *** [pw.x] Error 1</span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">make[2]: Leaving directory `/home/hongtang/QE67_libxc/qe-6.7/PW/src'</span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">make[1]: *** [pw] Error 1</span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">make[1]: Leaving directory `/home/hongtang/QE67_libxc/qe-6.7/PW'</span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">make: *** [pw] Error 1</span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">                    </span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">                   </span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">                </span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">Please help.</span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black"> </span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">Best,</span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">Hong</span><u></u><u></u></pre><pre style="background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Courier;color:black">              </span></pre></div><p class="MsoNormal" style="margin-left:0.4in"> </p><p class="MsoNormal" style="margin-left:0.4in"> </p><p class="MsoNormal" style="margin-left:0.4in"> </p><p class="MsoNormal" style="margin-left:0.4in"> </p><p class="MsoNormal" style="margin-left:0.4in">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986" target="_blank">Mail</a> for Windows 10</p></div></div></blockquote></div></blockquote></div><p class="MsoNormal" style="margin-left:9.6pt"> </p><p class="MsoNormal"> </p></div></div></blockquote></div><p class="MsoNormal" style="margin-left:4.8pt"> </p><p class="MsoNormal"><u></u> <u></u></p></div></div>
</blockquote></div>
_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
users mailing list <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 206, 33100 Udine, Italy<br>Phone +39-0432-558216, fax +39-0432-558222<br><br></div></div></div></div></div></div>