Dear Fabrizio,
Thank you so much for helping me.
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:
1. I followed your advices for other people in the email lists
1-configure without any libxc flag;
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;
3-compile as usual.
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.
Please see the attached “make.inc” file.
2. after “make all”, I go the following errores:
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
/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_':
libxcf03.f90:(.text+0xd3b): undefined reference to `libxc_free'
/gpfs/opt/libs/libxc-5.1.5-intel/lib/libxc.a(func_info.o):(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
/gpfs/opt/libs/libxc-5.1.5-intel/lib/libxc.a(functionals.o):(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
/gpfs/opt/libs/libxc-5.1.5-intel/lib/libxc.a(hybrids.o):(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
/gpfs/opt/libs/libxc-5.1.5-intel/lib/libxc.a(version.o):(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
/gpfs/opt/libs/libxc-5.1.5-intel/lib/libxc.a(func_reference.o):(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
/gpfs/opt/libs/libxc-5.1.5-intel/lib/libxc.a(lda.o):(.eh_frame+0x11): more undefined references to `__gxx_personality_v0' follow
make[2]: *** [pw.x] Error 1
make[2]: Leaving directory `/home/hongtang/QE67_libxc/qe-6.7/PW/src'
make[1]: *** [pw] Error 1
make[1]: Leaving directory `/home/hongtang/QE67_libxc/qe-6.7/PW'
make: *** [pw] Error 1
Please help.
Best,
Hong