<div dir="ltr"><div>Hi Michael,</div><div>I think there is an order problem when linking. Could you try to replace inside:</div><div><br></div><div>Linux-x86-64-intel-mic.psmp<br></div><div><br></div><div>the line:</div><div><br></div><div>LIBS    += $(LIBINTROOT)/lib/libderiv.a $(LIBINTROOT)/lib/libint.a<br></div><div><br></div><div>with:</div><div><br></div><div>LIBS += -L$(LIBINTROOT)/lib -lderiv -lint</div><div><br></div><div>?</div><div><br></div><div>Alfio<br></div><div><br></div><div><br></div><br><br>Il giorno martedì 12 gennaio 2016 23:03:25 UTC+1, Michael Agiorgousis ha scritto:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hello All,<br><br>I have noticed that my cp2k installations are not as fast as they can be when compared with pre-compiled executables. When attempting to compile with libint I receive the error<br><br>/home/agiorm/cp2k-3.0/lib/<wbr>Linux-x86-64-intel-host/popt/<wbr>libcp2kmain.a(hfx_libint_<wbr>wrapper.o): In function `hfx_libint_wrapper_mp_<wbr>terminate_libint_':<br>/home/agiorm/cp2k-3.0/src/hfx_<wbr>libint_wrapper.F:(.text+0x11): undefined reference to `free_libint'<br>/home/agiorm/cp2k-3.0/lib/<wbr>Linux-x86-64-intel-host/popt/<wbr>libcp2kmain.a(hfx_libint_<wbr>wrapper.o): In function `hfx_libint_wrapper_mp_<wbr>terminate_libderiv_':<br>/home/agiorm/cp2k-3.0/src/hfx_<wbr>libint_wrapper.F:(.text+0x21): undefined reference to `free_libderiv'<br>/home/agiorm/cp2k-3.0/lib/<wbr>Linux-x86-64-intel-host/popt/<wbr>libcp2kmain.a(hfx_libint_<wbr>wrapper.o): In function `hfx_libint_wrapper_mp_<wbr>initialize_libderiv_':<br>/home/agiorm/cp2k-3.0/src/hfx_<wbr>libint_wrapper.F:(.text+0x574)<wbr>: undefined reference to `init_libderiv_base'<br>/home/agiorm/cp2k-3.0/src/hfx_<wbr>libint_wrapper.F:(.text+0x58c)<wbr>: undefined reference to `libderiv1_storage_required'<br>/home/agiorm/cp2k-3.0/src/hfx_<wbr>libint_wrapper.F:(.text+0x5cd)<wbr>: undefined reference to `init_libderiv1'<br>/home/agiorm/cp2k-3.0/lib/<wbr>Linux-x86-64-intel-host/popt/<wbr>libcp2kmain.a(hfx_libint_<wbr>wrapper.o): In function `hfx_libint_wrapper_mp_<wbr>initialize_libint_':<br>/home/agiorm/cp2k-3.0/src/hfx_<wbr>libint_wrapper.F:(.text+0x629)<wbr>: undefined reference to `init_libint_base'<br>/home/agiorm/cp2k-3.0/src/hfx_<wbr>libint_wrapper.F:(.text+0x63f)<wbr>: undefined reference to `libint_storage_required'<br>/home/agiorm/cp2k-3.0/src/hfx_<wbr>libint_wrapper.F:(.text+0x67e)<wbr>: undefined reference to `init_libint'<br><br><br>I am compiling cp2k version 3.0 and I am using the Linux-x86-intel-host.popt arch file. I have edited the compiler options to use CXX=mpicxx, CC=mpicc, FC=mpif90, LD=mpif90.<br>My libint root directory was manually set as /home/agiorm/libint and I have added -I$(LIBINTROOT) to the cpp flags.<br><br>Has anyone had this issue before? I have had numerous difficulties compiling cp2k with libint/libxc/etc....<br><br>Thanks!!!<br><br></div></blockquote></div>