<div dir="ltr">It is rather strange that you get this syntax error from python since fypp should support python 2.7.14. If you type <i>make toolversions</i> on the cluster (in the same directory as CP2K makefile), what is the output for Python?<div><div><br></div><div>Patrick<div><br>Am Freitag, 23. Februar 2018 13:37:37 UTC+1 schrieb Ke Zhou:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><font size="2">Dear all, </font><div><font size="2"><br></font></div><div><font size="2">Now I am compiling the CP2K 2.5.1 on cluster. When I making, it returns:</font></div><div><font size="2"><br></font></div><div><font size="2"><br></font></div><div>
<p><span><font size="2">Discovering programs ...</font></span></p>
<p><span><font size="2">Removing stale archives for popt ...<span> </span></font></span></p>
<p><span><font size="2">Resolving dependencies for popt ...<span> </span></font></span></p>
<p><span style="font-size:small">...</span><br></p><p><span style="font-size:small">... /cp2k-5.1/tools/build_utils/<wbr>fypp -n ... /cp2k-5.1/src/dbcsr/mm/dbcsr_<wbr>mm_types.F dbcsr_mm_types.F90</span><br></p></div><div>
<p><span><font size="2">... /cp2k-5.1/tools/build_utils/<wbr>fypp", line 705</font></span></p>
<p><span><font size="2"><span> </span>except Exception as exc:</font></span></p>
<p><span><font size="2"><span> </span>^</font></span></p>
<p><span><font size="2">SyntaxError: invalid syntax</font></span></p><p><span><font size="2">make[3]: *** [kinds.o] Error 1</font></span></p><p><span><font size="2">
</font></span></p><p><span><font size="2">make[3]: *** Waiting for unfinished jobs....</font></span></p><p><span><font size="2"><br></font></span></p><p><span><font size="2">I thinks it's the problem from python.</font></span></p><p><span><font size="2"><br></font></span></p><p><span><font size="2">The version of python is:</font></span></p><p><span><font size="2"><br></font></span></p><p><font size="2"><span> </span><span>python -V</span></font></p>
<p><span><font size="2"> Python 2.7.14</font></span></p><p><span><font size="2"><br></font></span></p><p><span><font size="2">Here are my questions:</font></span></p><p><span><font size="2">1. Can I </font></span><font size="2"><span>directly specify the path of python on makefile?</span></font></p><p><font size="2"><span>2. Can I give up the build of tools?</span></font></p><p><font size="2"><span><br></span></font></p><p><font size="2"><span>Can you help me?</span></font></p><p><font size="2"><span><br></span></font></p><p><font size="2"><span>Justin </span></font></p><p><span><br></span></p><p><span><br></span></p><p><span><br></span></p><p><span><br></span></p></div></div></blockquote></div></div></div></div>