Add a script to split a Fortran source file into individual files
Closed this issue · 1 comments
hiker commented
The driver created as part of the PSyclone kernel extraction contains ('inlines') all required modules. While this is very convenient, it can be useful to have individual files (e.g. to use different compiler options for a certain module; to replace one file with a different version, also in general to further reduce compile time if only one file is modified).
Add an fparser script that reads a source file with multiple modules (and subroutines, programs, functions) and writes them out as individual files. If possible, also create a dummy Makefile for compilation.
hiker commented
Merged.