Skip to content

Add a script to split a Fortran source file into individual files #440

@hiker

Description

@hiker

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions