<div dir="ltr">So I do not know and cannot understand the reasonĀ  but the problem was the presence of !> in the <font color="black" size="3" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:12pt;" id="divtagdefaultwrapper"><font face="Calibri,Arial,Helvetica,sans-serif">src/xc/xc_libxc_wrap.F file.<br><br>I removed > leaving only ! and magically I had cp2k compiled also with libxc. <br><br>Now I am honestly curious of understanding why since ! should be a comment, shouldn't it? <br>I know when compiling with openmp it reads !$, is this similar? <br><br>If anyone know I am really happy to learn and understand :-)<br></font></span></font></div>