Skip to content

Remove MAPL_VarSpecMiscMod from MAPL2 aggregate and delete VarSpec files from generic/ #4732

@tclune

Description

@tclune

Background

MAPL_VarSpecMiscMod (and related VarSpec files in generic/) are part of the legacy generic/ layer targeted for deletion. MAPL/MAPL.F90 (the MAPL2 aggregate) still has:

use MAPL_VarSpecMiscMod

This is the last remaining use of a generic/ module in MAPL2 after #4731 lands.

Affected external consumers (in GEOSgcm_GridComp, all currently commented out in CMake)

  • GEOSgigatraj_GridComp
  • @StratChem, @CARMA, @GOCART, @RRG, @GMI
  • GEOSsatsim_GridComp, GEOSsolar_GridComp

These are all commented out on release/MAPL-v3 so they do not block this work. They will need porting to the MAPL3 VarSpec API when re-enabled.

Work required

  1. Drop use MAPL_VarSpecMiscMod from MAPL/MAPL.F90
  2. Remove VarSpec source files from generic/CMakeLists.txt
  3. Once generic/ is otherwise empty, remove add_subdirectory(generic) and add_subdirectory(oomph) from the top-level CMakeLists.txt and delete both directories

Prerequisites

Depends on #4731 (remove MAPL_GenericMod and MAPL_OpenMP_Support from MAPL2).

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