<meta http-equiv="Content-Type" content="text/html; charset=GB18030"><div>Hi, Fabrizio</div><div>Thank you so much. It works!<br></div><br>Jibiao Li<br><div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From:</b> "Fabrizio Ferrari"<ferrariruffino.fz@gmail.com>;</div><div><b>Date:</b> Fri, Jul 3, 2020 02:33 PM</div><div><b>To:</b> "Quantum ESPRESSO users Forum"<users@lists.quantum-espresso.org>;<wbr></div><div></div><div><b>Subject:</b> Re: [QE-users] configure error: Could not find required libxc library.</div></div><div><br></div><div dir="ltr"><div>Hi Jibiao,</div><div>please do this: <br></div><div><br></div><div>1-configure without any libxc flag;</div><div>2-go to the make.inc file in the main folder and add the various flags to DFLAGS, IFLAGS and LD_LIBS by following the comments inside;</div><div>3-compile as usual.</div><div><br></div><div>This should answer to both your emails</div><div>Best regards,</div><div>Fabrizio<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 3, 2020 at 5:18 AM Jibiao Li <<a href="mailto:jibiaoli@foxmail.com">jibiaoli@foxmail.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>Hi, All</div><div><br></div><div>I have installed libxc 5.0.0 and added the path to .bashrc file (export LD_LIBRARY_PATH=/home/yons/codes/libxc-5.0.0/lib:$LD_LIBRARY_PATH). Then I tried to configure QE develop with the following commands, but it can not found the libxc library. I really have no idea about resolving this error. Everything seems correct to me. but ...<br></div><div><br></div><div>./configure CC=gcc FC=ifort MPIF90=mpif90 --with-libxc --with-libxc-prefix=/home/yons/codes/libxc-5.0.0 --with-libxc-include=/home/yons/codes/libxc-5.0.0/include --prefix=/home/yons/codes/espresso-develop</div><div><br></div><div>checking whether Fortran files must be preprocessed... no</div>checking for library containing dgemm... -lmkl_intel_lp64<br>setting BLAS_LIBS... -lmkl_intel_lp64 -lmkl_sequential -lmkl_core<br>checking FFT... <br>checking for libxc... no (-I/home/yons/codes/libxc-5.0.0/include -L/home/yons/codes/libxc-5.0.0/lib -lxcf90 -lxc)<br>configure: error: Could not find required libxc library.<br><br><div><hr style="margin:0px 0px 10px;border-color:currentcolor currentcolor rgb(228,229,230);border-style:none none solid;border-width:0px 0px 1px;height:0px;line-height:0;font-size:0px;padding:20px 0px 0px;width:50px" align="left"><div style="font-size:14px;font-family:Verdana;color:rgb(0,0,0)"><div><i><font size="2" face="Times New Roman" color="#0000ff"><b>Dr. Jibiao Li, </b></font></i></div><div><i><font size="2" face="Times New Roman" color="#0000ff"><b>Department of Material Science and Engineering</b></font></i></div><div><i><font size="2" face="Times New Roman" color="#0000ff"><b>Yangtze Normal University</b></font></i></div><div><i><font face="Times New Roman"><font size="2"><font color="#0000ff"><b><span style="text-align:left;text-transform:none;line-height:21px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;float:none;background-color:transparent">Juxian Dadao 16#,</span> Fuling, Chongqing, China</b></font></font></font></i></div><div><i><font size="2" face="Times New Roman" color="#0000ff"><b>Email: <a href="mailto:jibiaoli@yznu.edu.cn" target="_blank">jibiaoli@yznu.edu.cn</a>, <a href="mailto:jibiaoli@foxmail.com" target="_blank">jibiaoli@foxmail.com</a>, <a href="mailto:jibiao.li@hotmail.com" target="_blank">jibiao.li@hotmail.com</a></b></font></i></div><div><i><font size="2" face="Times New Roman" color="#0000ff"><b>Homepage: <a href="https://www.researchgate.net/profile/Jibiao_Li" target="_blank">https://www.researchgate.net/profile/Jibiao_Li</a></b></font></i></div>
</div></div>_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/quantum-espresso" rel="noreferrer" target="_blank">www.max-centre.eu/quantum-espresso</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></div>