User Tools

Site Tools


dev:fypp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:fypp [2017/01/26 18:03] – typo pseewalddev:fypp [2026/10/20 16:18] (current) – fstein
Line 1: Line 1:
 ====== Fortran metaprogramming using Fypp ====== ====== Fortran metaprogramming using Fypp ======
-Fypp ([[https://bitbucket.org/aradi/fypp|official repository]]) is a Fortran preprocessor based on Python expressions. Fypp directives can be used in all CP2K Fortran source files for metaprogramming.  For simple tasks (such as conditional compilation and include statements), the default Fortran preprocessor (cpp or fpp) can still be used. However cpp is very limited and if more advanced metaprogramming capability is needed (loop unrolling, templates, code generation), usage of Fypp is highly encouraged. In particular code generators should be written using Fypp instead of custom scripts (if feasible). CP2K's own template engine is deprecated and templates should be implemented using Fypp. +This page has been moved to [[https://manual.cp2k.org/trunk/development/preprocessing.html]].
- +
-For getting started with Fypp, read the [[http://fypp.readthedocs.io/en/latest/|official documentation]].+
dev/fypp.1485453835.txt.gz · Last modified: (external edit)