GEOS-ESM / GEOS-ESM/GEOSgcm_GridComp
Migrate MAPL_AllocateCoupling caller in GEOSgigatraj to MAPL_FieldEmptyComplete
Nobody has claimed this yet.
- Dominant language
- Fortran
- Stars
- 10
- Forks
- 13
- Avg merge
- 17h 35m
- Merged PRs (30d)
- 14
Description
Motivation
MAPL_AllocateCoupling is a legacy MAPL2 Base symbol being removed as part of the MAPL3 migration. The MAPL3 replacement is MAPL_FieldEmptyComplete (from mapl3g_Field_API), which has identical behavior.
Caller in this repo
GEOSgigatraj_GridComp/GEOS_GigatrajGridComp.F90line 382
Changes required
- Add
use mapl3g_Field_API, only: MAPL_FieldEmptyCompleteto the file - Replace
call MAPL_AllocateCoupling(...)withcall MAPL_FieldEmptyComplete(...)
Context
Part of the MAPL3 Base cleanup. The removal of MAPL_AllocateCoupling from MAPL Base cannot proceed until all external callers have been migrated. A corresponding MAPL PR will do the final removal once this and the GOCART companion issue are merged.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open GEOSgigatraj_GridComp/GEOS_GigatrajGridComp.F90 and inspect the caller at line 382. Add the specified MAPL3 import and replace the legacy call with MAPL_FieldEmptyComplete, then verify this file no longer calls MAPL_AllocateCoupling. Done means the caller is migrated so the MAPL Base removal can proceed.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 88/100