Skip to content
This repository was archived by the owner on Oct 23, 2020. It is now read-only.
This repository was archived by the owner on Oct 23, 2020. It is now read-only.

Redundant use statements due to #include lines #1175

Description

@mark-petersen

Some Fortran files in core_ocean include *.inc files. These files have many instances of redundant use statements, and the result is that a file like src/core_ocean/driver/mpas_ocn_core_interface.f90 has many redundant use statements (77 in one example). Intel staff member Martyn Corden said that modules only need one use statement (before the contains statement) and multiple use statements can degrade performance. This mirrors an issue by Noel Keen on the ACME repo:
E3SM-Project/E3SM#1176

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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