<div dir="ltr">Dear all,<br><br>I am trying to install the libint-1.1.4 and libxc-2.2.0 libraries in order<br>to compile cp2k-2.5.0 on a Cray supercomputer ( Titan).<br>When I am trying to use the cc and CC wrappers in the Cray environment<br>I cannot compile the libraries. On the other hand, there is no problem<br>with gnu and intel compilers.<br>Any ideas on how to resolve this problem?<br><br>The error message for libxc is:<br>libtool: link: cc -g -O2 -o xc-info xc-info.o  -lm ./.libs/libxc.a<br>./.libs/libxc.a(gga_c_q2d.o): In function `work_gga_c$$CFE_id_af3916ee_7fd6a169':<br>/autofs/nccs-svm1_home1/iskarmou/soft_tgz/libxc-2.2.0/src/work_gga_c.c:86: undefined reference to `xc_gga_c_q2d_func'<br>/opt/cray/cce/8.4.0/cray-binutils/x86_64-unknown-linux-gnu/bin/ld: link errors found, deleting executable `xc-info'<br><br><br>libint error:<br><br>make[3]: Entering directory `/autofs/nccs-svm1_home1/iskarmou/soft_tgz/libint-1.1.4/src/lib/libint'<br>if test -f "make_libsrcdir"; then \<br>make rm_libsrcdir; \<br>fi; \<br>/usr/bin/install -c -d -m 0755 tmp/libint || exit 1; \<br>ln -s tmp/libint src || exit 1; \<br>    echo "Last time the library source directory was created:\c" > make_libsrcdir<br>date >> make_libsrcdir<br>cp -f /autofs/nccs-svm1_home1/iskarmou/soft_tgz/libint-1.1.4/src/lib/libint/Makefile.library tmp/libint/Makefile<br>cd src; /ccs/home/iskarmou/soft_tgz/libint-1.1.4/src/lib/libint/../../../src/bin/libint/build_libint<br>/bin/sh: line 1: 13487 Illegal instruction     /ccs/home/iskarmou/soft_tgz/libint-1.1.4/src/lib/libint/../../../src/bin/libint/build_libint<br>make[3]: *** [tmp/libint/libint.h] Error 132<br><br></div>