<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" class="gmail_signature" data-smartmail="gmail_signature"><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>