<div>Hello every one,<br></div><div>I am compiling cp2k-8.1 with libxc-5.1.3. but when it comes to link with the libxc it crash with: /home/samir/CP2K/cp2k-8.1/src/xc/xc_libxc.F:1648:66:<br><br> 1648 |                   CALL xc_f03_lda_exc(xc_func, 1, rhov(1, 1), exc)<br>      |                                                                  1<br>Error: Type mismatch in argument ‘np’ at (1); passed INTEGER(4) to INTEGER(8)<br>/home/samir/CP2K/cp2k-8.1/src/xc/xc_libxc.F:1661:73:<br><br> 1661 |                   CALL xc_f03_lda_vxc(xc_func, 1, rhov(1, 1), vrho(1, 1))<br>      |                                                                         1</div><div>I tried changing npoints integer to integer(8) in xc_libxc.F but still have the same problem.</div><div><br>I don't know whether the problem comes from the xc_libxc.F cp2k-8.1 program or the libxc-5.1.3 programs.</div><div>I did not have such a problem when I was using cp2k-6.1 with libxc-4....</div><div>I am using mpif90 (gfortran wrapper)</div><div>Many many thanks,</div><div>Samir<br></div>