<div dir="ltr"><div>Hello,</div><div>libxc-5.1.5 version is very recent, while QE 6.4.1 and 6.6 versions are not. Backward compatibility of QE with libxc is ensured (at least since v4.3.4), but the opposite obviously is not (but 6.6 should work, maybe with some limitations).</div><div>In QE 6.6 and later you should use -lxcf03, not -lxcf90, which I think is not enabled anymore starting from libxc 5.1.1. However if you need some more hints on libxc linking in QE you can have a look at 'Libxc library' section in the user_guide of QE in the Doc folder.</div><div>Cheers,</div><div>Fabrizio<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 19, 2021 at 3:51 AM Hong Tang <<a href="mailto:tanghong992@gmail.com">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 dir="ltr">Install QE 6.4.1 or QE 6.6 with Libxc.5.1.5   errors<br><br>Dear QE master:<br><br>The libxc.5.1.5 was installed correctly by our university HPC team.  I just want to install QE with this libxc.<br><br>1.     I try to install QE 6.4.1 with libxc.5.1.5, I meet errors, when I config QE by<br>./configure --enable-openmp --enable-parallel --with-libxc --with-libxc-prefix=/gpfs/opt/libs/libxc-5.1.5-intel  --with-libxc-include=/gpfs/opt/libs/libxc-5.1.5-intel/include<br>The error:<br>checking for library containing dgemm... -lmkl_intel_lp64<br>setting BLAS_LIBS... -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core<br>checking FFT...<br>checking for libxc... no (-I/gpfs/opt/libs/libxc-5.1.5-intel/include -L/gpfs/opt/libs/libxc-5.1.5-intel/lib -lxcf90 -lxc)<br>configure: error: Could not find required libxc library.<br><br>2.      When I try to install QE6.6 with libxc.5.1.5, I got the same error message.<br><br>3.    However, When I install QE6.2 with libxc.5.1.5, it was installed correctly. However,  I found the "  bands.x  "   can not run correctly,  it always says <br>"    Reading data from directory:<br>     ./Silicon.save/<br><br> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>     Error in routine pw_readschemafile (1):<br>     xml data file not found<br> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>"<br>although the file " data-file-schema.xml " is in the directory correctly.<br><br>         <br>Please help me with this.<br><br>Looking forward to your help soon.<br><br>Best,<br>Hong<br><br> <br></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>