<div dir="ltr"><div>Hi Kirill,<br></div><div><br></div><div>yes, there might be no more i-pi patches for cp2k after version 2.4, but to my knowledge this is because cp2k now supports it natively without any patches. See the keyword  CP2K_INPUT / MOTION / DRIVER in the manual.</div><div><br></div><div>Best wishes,</div><div>Jadzia</div><div><br></div><div><br></div><br>On Wednesday, September 27, 2017 at 7:17:08 PM UTC+2, Kirill Zinovjev wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Dear Andreas,<div><br></div><div>Now it's working, thank you very much! I have to use an old version of cp2k because it will be interfaced with i-pi code for RPMD simulations and the latest i-pi patch for cp2k is for the version 2.4.</div><div><br></div><div>Thanks again!</div><div><br></div><div>Kirill<br><br>понедельник, 25 сентября 2017 г., 16:50:51 UTC+2 пользователь Andreas Glöss написал:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Kirill,<br><br>I'm wondering about why you want to compile CP2K - that has evolved rapidly - in version 2.4, which is almost 4 years old. Things have changed a lot - not only our build process, but also library versions, interfaces, and ....<br><br>However if you really want to use the (most recent) toolchain to compile this old code you have to adapt the ARCH-files by hand. I attach the modified SOPT ARCH-file, which misses XSMM, LIBXC and QUIP, because of version conflicts. Also, LIBXSMM wasn't invented at that time.<br><br>If you need LIBXC in combination with CP2K-2.4, you have to download and recompile the entire toolchain in version eg. 17713:<br><font face="courier new, monospace"><br>svn checkout -r 17713 <a href="https://svn.code.sf.net/p/cp2k/code/trunk/cp2k/tools/toolchain" rel="nofollow" target="_blank" onmousedown="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fsvn.code.sf.net%2Fp%2Fcp2k%2Fcode%2Ftrunk%2Fcp2k%2Ftools%2Ftoolchain\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHRIVR2Kgwyx7OEoHJyhd-hTTTy8Q';return true;" onclick="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fsvn.code.sf.net%2Fp%2Fcp2k%2Fcode%2Ftrunk%2Fcp2k%2Ftools%2Ftoolchain\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHRIVR2Kgwyx7OEoHJyhd-hTTTy8Q';return true;">https://svn.code.sf.net/p/<wbr>cp2k/code/trunk/cp2k/tools/<wbr>toolchain</a> toolchain<br>... compile_as_before ...<br><br><span style="font-family:arial,sans-serif">, then add -D__LIBXC2 to the DFLAGS.<br><br>Hope this helps, but I strongly recommend a newer version of CP2K,<br>Andreas</span></font><br></div></blockquote></div></div></blockquote></div>