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
Last revisionBoth sides next revision
dev:fypp [2017/03/15 17:00] – [Fortran metaprogramming using Fypp] pseewalddev:fypp [2017/03/16 22:18] – fix broken link 62.32.1.111
Line 4: Line 4:
 For getting started with Fypp, read the [[http://fypp.readthedocs.io/en/stable/|official documentation]]. For getting started with Fypp, read the [[http://fypp.readthedocs.io/en/stable/|official documentation]].
 ===== Debugging Fypp directives ===== ===== Debugging Fypp directives =====
-Compiler and runtime messages always refer to the original (not preprocessed) ''.F'' file such that Fypp-preprocessed files can usually be ignored. Only for debugging Fypp directives, it is sometimes necessary to consider preprocessed Fortran sources. After compiling CP2K, all Fypp-preprocessed sources are stored in ''cp2k/obj'' with ''.F90'' extension. In order to find a specific line in a preprocessed file, consider the [[http://fypp.readthedocs.io/en/stable/fypp.html#line-numbering-directives|line numbering directives]].+Compiler and runtime messages always refer to the original (not preprocessed) ''.F'' file such that Fypp-preprocessed files can usually be ignored. Only for debugging Fypp directives, it is sometimes necessary to consider preprocessed Fortran sources. After compiling CP2K, all Fypp-preprocessed sources are stored in ''cp2k/obj'' with ''.F90'' extension. In order to find a specific line in a preprocessed file, consider the [[http://fypp.readthedocs.io/en/stable/fypp.html#line-numbering-markers|line numbering markers]].
  
 By default, CP2K invokes Fypp with ''-n'' option. To invoke Fypp with other options, put ''FYPPFLAGS=<options>'' in your ''arch'' file. To learn about all Fypp options, invoke ''cp2k/tools/build_utils/fypp -h''. By default, CP2K invokes Fypp with ''-n'' option. To invoke Fypp with other options, put ''FYPPFLAGS=<options>'' in your ''arch'' file. To learn about all Fypp options, invoke ''cp2k/tools/build_utils/fypp -h''.
dev/fypp.txt · Last modified: 2020/08/21 10:15 by 127.0.0.1