GEOS-ESM / GEOS-ESM/FVdycoreCubed_GridComp

Replace USE MAPL_ShmemMod with USE MAPL in interp_restarts.F90

Open Beginner friendly
#390 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Fortran
Stars
3
Forks
14
Avg merge
1d 17h
Merged PRs (30d)
3

Description

Problem

interp_restarts.F90 uses an internal MAPL module directly:

use MAPL_ShmemMod,  only: MAPL_GetNodeInfo, MAPL_InitializeShmem, MAPL_FinalizeShmem

All MAPL references should go through the public wrapper module (USE MAPL or USE MAPL_Constants), not internal submodules.

Required Change

Merge the USE MAPL_ShmemMod symbols into the existing USE MAPL statement so that MAPL_GetNodeInfo, MAPL_InitializeShmem, and MAPL_FinalizeShmem are accessed via the public MAPL interface.

Affected Lines

  • interp_restarts.F90 line 15 (declaration), lines 193, 194, 773 (call sites)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open interp_restarts.F90 and inspect the existing USE MAPL declaration near line 15 and the MAPL call sites near lines 193, 194, and 773. Merge the MAPL_ShmemMod symbols into the public USE MAPL statement, then verify that no direct USE MAPL_ShmemMod remains in the file.

Written by the indexing model from the issue text.

Assessment

Tech stack
fortran
Domain
backend
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.