Skip to content

Port CA2G, SU2G, NI2G off implicit MAPL2 OpenMP aliases to explicit use MAPL #413

Description

@tclune

Problem

CA2G, SU2G, and NI2G all do `use MAPL` without `only`, and use `MAPL_get_num_threads` and `MAPL_get_current_thread` which are currently aliases re-exported by MAPL2. This is implicit and fragile.

Solution

Replace with explicit `use MAPL, only: MAPL_get_num_threads => get_num_threads, MAPL_get_current_thread => get_current_thread` as was done for DU2G in #410.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions