Compile problem in fypp

Patrick Seewald patrick... at gmail.com
Fri Feb 23 14:19:15 UTC 2018


It is rather strange that you get this syntax error from python since fypp 
should support python 2.7.14. If you type *make toolversions* on the 
cluster (in the same directory as CP2K makefile), what is the output for 
Python?

Patrick

Am Freitag, 23. Februar 2018 13:37:37 UTC+1 schrieb Ke Zhou:
>
> Dear all, 
>
> Now I am compiling the CP2K 2.5.1 on cluster. When I making, it returns:
>
>
> Discovering programs ...
>
> Removing stale archives for popt ... 
>
> Resolving dependencies for popt ... 
>
> ...
>
> ...  /cp2k-5.1/tools/build_utils/fypp -n  ... 
> /cp2k-5.1/src/dbcsr/mm/dbcsr_mm_types.F dbcsr_mm_types.F90
>
> ...  /cp2k-5.1/tools/build_utils/fypp", line 705
>
>     except Exception as exc:
>
>                       ^
>
> SyntaxError: invalid syntax
>
> make[3]: *** [kinds.o] Error 1
>
> make[3]: *** Waiting for unfinished jobs....
>
>
> I thinks it's the problem from python.
>
>
> The version of python is:
>
>
>  python -V
>
>  Python 2.7.14
>
>
> Here are my questions:
>
> 1. Can I directly specify the path of python on makefile?
>
> 2. Can I give up the build of tools?
>
>
> Can you help me?
>
>
> Justin 
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20180223/d4d71c62/attachment.htm>


More information about the CP2K-user mailing list