<div dir="ltr"><div>Hello,</div><div>f03 works for libxc 4.3.4 and should work for the upcoming releases, but not for v5.0.0.</div><div>Please see section 2.5.1 of the 'user_guide' in Doc folder on how to compile QE with v5.0.0 (especially the note for v5.0.0).</div><div>Cheers,</div><div>Fabrizio<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 10, 2020 at 10:03 AM Christoph Wolf <wolf.christoph@qns.science> 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">Dear all,<div><br></div><div>I am having some troubles compiling QE with libxc. I compiled libxc and it ran a make check without issues.</div><div><br></div><div>Then I run a ./configure without flags in QE and change the make.inc as follows:</div><div><br></div><div>DFLAGS         =  -D__DFTI -D__MPI -D__SCALAPACK -Duse_beef<b> -D__LIBXC</b><br clear="all"><div>IFLAGS         = -I$(TOPDIR)/include -I$(TOPDIR)/FoX/finclude -I$(TOPDIR)/S3DE/iotk/include/ -I/opt/intel/compilers_and_libraries_2020.0.166/linux/mkl/include <b>-I/opt/libxc-5.0.0/include</b><br></div><div>LD_LIBS        =<b> -L/opt/libxc-5.0.0/lib/ -lxcf90 -lxc</b><br></div><div><br></div><div>after make runs for some time I get the following:</div><div><br></div><div>-6.6/q-e//FFTXlib -I/opt/QE/qe-6.6/q-e//LAXlib -I/opt/QE/qe-6.6/q-e//UtilXlib -I/opt/QE/qe-6.6/q-e//FoX/finclude -I../ELPA/src -c funct.f90<br>funct.f90(40): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [XC_F03_LIB_M]<br>  USE xc_f03_lib_m<br>------^<br>funct.f90(428): error #6457: This derived type name has not been declared.   [XC_F03_FUNC_T]<br>    TYPE(xc_f03_func_t) :: xc_func03<br></div><div><br></div><div>and it aborts. I was wondering if anything is missing in my make.inc since it seems to be looking for f03 (which seems to be the old flag for libxc version 3.0)?</div><div><br></div><div>Thanks a lot for your help!</div><div><br></div><div>Chris </div><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Group Leader "Theory of Quantum Systems at Surfaces"<br>IBS Center for Quantum Nanoscience<br>Seoul, South Korea<blockquote type="cite" style="font-size:12.8px"><div dir="ltr"><div><div dir="ltr"></div></div></div></blockquote></div></div></div></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>